Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added extra info to instructions, fixed some errors

Table of Contents

...

KeyExisting ValueSet ToNotes
MODEMWAX_VCSMWAX_CORRELATORRequired
INT_TIME_MSECa default set by the M&C system250-8000This is the correlator integration time (in ms)
FINE_CHAN_WIDTH_HZa default set by the M&C system200-1280000This is the correlator frequency resolution (in Hz). E.g. 10000 would be 10 kHz.
FSCRUNCH_FACTORa default set by the M&C system1-6400The 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_CHANa default set by the M&C system1-6400Redundant info but must be compatible with FSCRUNCH_FACTOR and FINE_CHAN_WIDTH_HZ. E.g. 128 for 10kHz fine channels
EXPOSURE_SECSthe duration of the VCS observationThe 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_IDThe original obs_id of the VCS observationThe 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_OFFSETThe 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
languagebash
# 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
languagebash
#
# 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 &

...