06.03.2014 Views

The DiFX Software Correlator at IRA R I IRA-INAF /

The DiFX Software Correlator at IRA R I IRA-INAF /

The DiFX Software Correlator at IRA R I IRA-INAF /

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

nonsense d<strong>at</strong>a between the scans. This script parses the vex file and<br />

produces a flag file which ensures times between the scans are flagged.<br />

vex2flag.py can gener<strong>at</strong>e an input file to difx2fits or an input file to<br />

the aips task uvflg.<br />

5.2 Log parsers<br />

5.2.1 log2input.py<br />

Input files<br />

.log<br />

Output files<br />

.input<br />

<strong>The</strong> <strong>DiFX</strong> .input file describes each st<strong>at</strong>ion clock as having an offset and<br />

a r<strong>at</strong>e.<br />

This script reads all of the GPS inform<strong>at</strong>ion from the log files and<br />

calcul<strong>at</strong>es the intercept (offset) and slope (r<strong>at</strong>e) of the line of best fit.<br />

5.2.2 log2tsys.py<br />

Input files<br />

.log<br />

Output files<br />

tsys<br />

or<br />

antab<br />

log2tsys.py takes the Tsys readings from the log table and tabul<strong>at</strong>es<br />

them. Using this output it is rel<strong>at</strong>ively easy to cre<strong>at</strong>e an antab file by<br />

hand.<br />

5.2.3 log2comment.py<br />

Input files<br />

.log<br />

Output files<br />

antab<br />

log2comment.py takes the observer comments from the log table and<br />

prints them to stdout, correctly form<strong>at</strong>ted for adding to an antab file<br />

as comments.<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!