| 1 | [wiki:WikiStart Up to main page] |
| 2 | |
| 3 | Instructions for operating the Parkes continuum polarimetry software. |
| 4 | |
| 5 | The data are acquired from the pulsar Digital Filter Bank correlator in |
| 6 | "rpfits" format and are written to the area /DATA/PKCCC2_1/corr/dat/. |
| 7 | |
| 8 | == Sequence of Operations == |
| 9 | Three files are necessary before the process can begin. |
| 10 | |
| 11 | 1. freqtab.dat lists the centre frequencies (in MHz) of channels in the final output data. |
| 12 | 1. feed.dat is used to transform raw data to Stokes vectors (in the telescope frame). It defines the transformation in terms of reordering and sign changes. |
| 13 | 1. 0637Flux.dat tabulates the frequency dependence of the flux and polarization characteristics of the polarized calibrator (3c138, B0637-75, ...). |
| 14 | |
| 15 | These files should be in the working directory. Copies will be assigned to each data file being processed. |
| 16 | |
| 17 | === Reduce the bandpass calibrator data === |
| 18 | 1. Load the rpfits file into "parkespol" format. |
| 19 | {{{ |
| 20 | pload 1934.rpf |
| 21 | # |
| 22 | # This will create a directory 1934/ and |
| 23 | # with contents |
| 24 | # -rw-r--r-- 1 mcc381 atculg 2355200 Feb 1 22:23 data.rpf |
| 25 | # -rw-r--r-- 1 mcc381 atculg 204 Feb 2 11:06 feed.dat |
| 26 | # -rw-r--r-- 1 mcc381 atculg 646 Feb 2 11:06 freqtab.dat |
| 27 | }}} |
| 28 | |
| 29 | 1. Perform the bandpass calibration |
| 30 | {{{ |
| 31 | bpass 1934 |
| 32 | }}} |
| 33 | |
| 34 | === Reduce the phase calibrator data === |
| 35 | 1. Load the rpfits file |
| 36 | {{{ |
| 37 | pload 3c138.rpf |
| 38 | }}} |
| 39 | 1. Copy the bandpass tables |
| 40 | {{{ |
| 41 | gcopy 3c138 1934 |
| 42 | }}} |
| 43 | 1. Extract the phase vs parallactic angle information from scans of the polarised calibrator |
| 44 | {{{ |
| 45 | polcalr 3c138 |
| 46 | }}} |
| 47 | 1. Determine polarisation parameters (leakages and phase difference between the signals from the two polarization channels) of the system from the phase data |
| 48 | {{{ |
| 49 | psolve 3c138 |
| 50 | }}} |
| 51 | To get a consistent pair of output files, the procedure needs to be executed twice. An example follows. |
| 52 | |
| 53 | {{{ |
| 54 | polcalr 3c138 |
| 55 | psolve 3c138 /xs |
| 56 | polcalr 3c138 |
| 57 | psolve 3c138 /xs |
| 58 | |
| 59 | }}} |
| 60 | |
| 61 | |
| 62 | === Reduce the astronomical data === |
| 63 | 1. Load the rpfits file |
| 64 | {{{ |
| 65 | pload source.rpf |
| 66 | }}} |
| 67 | 1. Copy the bandpass tables and polarisation corrections |
| 68 | {{{ |
| 69 | gcopy source 1934 3c138 |
| 70 | }}} |
| 71 | 1. Apply the calibrations and write results as a single-dish FITS file. |
| 72 | {{{ |
| 73 | calscans.pl list |
| 74 | }}} |
| 75 | where list is a list of the data files to be calibrated. |
| 76 | |
| 77 | |
| 78 | |
| 79 | If calscans is executed successively with the same outfile named it |
| 80 | appends data from each execution into that file. |
| 81 | |
| 82 | What calscans does: ''(check that this desription is correct) '' |
| 83 | 1. Reads the rpfits file; |
| 84 | 2. apply the bandpass calibration; |
| 85 | 3. transform to Stokes vectors; |
| 86 | 4. correct for instrumental phase; |
| 87 | 5. reorder the DFB output bins; |
| 88 | 6. properly label scan data with interpolated sky positions; |
| 89 | 7. average into final frequency channels; |
| 90 | 8. apply leakage calibration (if file polparams.dat is present); |
| 91 | 9. write out in sdfits format. |
| 92 | |
| 93 | What calscans does not do (but could with some small software changes): |
| 94 | 1. Subtract baselines scan data; |
| 95 | 2. rotate Q,U from telescope to sky coordinates. |
| 96 | |
| 97 | |