Table of Contents |
---|
...
Key | Existing Value | Set To | Notes |
---|---|---|---|
MODE | MWAX_VCS | MWAX_CORRELATOR | Required |
INT_TIME_MSEC | a default set by the M&C system | 250-8000 | This is the correlator integration time (in ms) |
FINE_CHAN_WIDTH_HZ | a default set by the M&C system | 200-1280000 | This is the correlator frequency resolution (in Hz). E.g. 10000 would be 10 kHz. |
FSCRUNCH_FACTOR | a default set by the M&C system | 1-6400 | The number of 200 Hz ultrafine channels to scrunch together into a fine channel. E.g. for 10 kHz fine channels set this to 50 |
NFINE_CHAN | a default set by the M&C system | 1-6400 | Redundant info but must be compatible with FSCRUNCH_FACTOR and FINE_CHAN_WIDTH_HZ. E.g. 128 for 10kHz fine channels |
EXPOSURE_SECS | the duration of the VCS observation | The duration of the correlator observation you want. | Must be in unit of 8 seconds, matching the total number of subfiles you wish to correlate per coarse channel * 8. |
OBS_ID | The original obs_id of the VCS observation | The first SUBOBS_ID of the data you want to correlate | So if you have a VCS observation and want to correlate only from 80 seconds in, then you need to make OBS_ID==SUBOBS_ID==the gps time at 80 seconds into the VCS obs. |
OBS_OFFSET | The 8 second offset for this subfile for the original VCS observation. | The offset you need for your correlator observation. | The first subfile in your correlator observation should be 0. Next will be 8, and so on. |
See also: MWAX PSRDADA header for more information on the definition of each key within the subfile header.
Create Ring Buffers
Note |
---|
For the INPUT ringbuffer, the -b parameter depends on the number of tiles present in the subfiles with the following relation: INPUT_BUFFER_SIZE = TILES * 256,000 bytes For the OUTPUT ringbuffer , the -b parameter depends on the number of tiles present in the output visibilities with the following relation: OUTPUT_BUFFER_SIZE = (TILES + 1) * TILES * 102408 bytes |
Code Block | ||
---|---|---|
| ||
# Create input ringbuffer (see above for -b value) dada_db -b 32768000 -k 1234 -n 644 -l -p # create output ringbuffer (see above for -b value) dada_db -b 338297856 -k 2345 -n 16 -l -p |
...
Code Block | ||
---|---|---|
| ||
# # start mwax_db2fits- in offline mode you still need to provide health command line args even if you don't intend to monitor the health packets # nohup mwax_db2fits/bin/mwax_db2fits -k 2345 --destination-path=/path/for/output/fits/files/. --health-netiface=eth0 --health-ip=224127.0.20.21 --health-port=80059999 > mwax_db2fits.log 2>&1 & # # start mwax_db2correlate2db correlator # nohup mwax_cbf/mwax-fullcorrelator/mwax_db2correlate2db 1234 2345 224127.0.20.21 80049999 -a 5 -b 160 -d 0 -f 6400 -i 256 -o 12806400 -O 2 -r -t -v -v > mwax_db2correlate2db.log 2>&1 & |
...