next up previous contents index
Next: Computation Up: BANDPASS CALIBRATION FOR SPECTRAL Previous: General

Transfer of the calibration to the spectral data

         

You might have edited your data before you created the channel 0 data base with AVSPC, or you might have edited after. If you edited first, then the FG table is in place attached to the spectral data base. If you edited after averaging in frequency, then the flagging table must be copied back to the spectral data base. This will cause the whole band of channels to be flagged as bad when the channel 0 data were flagged as bad.

As well as the FG table, the calibration tables must also be copied to the spectral data. Recall that the interpolated gains as a function of time were written into a CL table(s) attached to your channel 0 data base. This must be copied to the spectral data base.

The procedure CALCOP copies all the relevant tables (BL, CL, FG, and NX), if they exist, from the specified input file (use GETNAME) to the specified output (use GETONAME). Note that CALCOP removes all CL and NX tables attached to the output file before copying.

If you want finer control, do them one at a time with the task TACOP. Select the type of extension table to copy with a command like inext='cl'. Copy all the tables of that type by setting ncount=0 and set invers=0 and outvers=0. Make sure the key* adverbs are set at their null values. Run TACOP and make sure the table(s) has arrived at its destination by looking at the header of the recipient file with IMHEAD. Also, remember that if you go back and do some more flagging on the channel 0 data, then copy the FG table across again (you can delete the old one if you like, but TACOP will just make a new one and the calibration routines look at the highest version of FG tables if flagver=0). There is no need to copy the first CL table, as it is already in place in the spectral data base.

Although, as mentioned above, the bandpass response can be determined without the calibration, you will need it when imaging, and now is a convenient time in the procedure to copy it across.

TACOP
inname,inclass,inseq,indisk Set up for file with table to
be copied
outname,outclass,outseq,outdisk Set up for file to copy table to
inext='FG' Copy FG table(s)
inext='CL' Copy CL table(s)
invers=2 Copy tables starting at, say,
input number 2
ncount=0 Copy all tables
outvers=0 Output version number of first
copied table is next highest


next up previous contents index
Next: Computation Up: BANDPASS CALIBRATION FOR SPECTRAL Previous: General

nkilleen@atnf.csiro.au