hughbg / leda_analysis_2016

LEDA Radiometry data processing for 21cm global signal - calibration and RFI flagging.
0 stars 2 forks source link

LST axis is incorrect in the waterfall plot when there is a discontinuity in time #5

Open hughbg opened 6 years ago

hughbg commented 6 years ago

Discontinuities in spectrometer data over time can be caused by restarting the spectrometer or correlator. A single h5 file may contain a gap in time. If it does, then the waterfall plot must indicate this using the y-axis. Currently the assumption is that there is a continuous range of LSTs from the first one to the last one, which means the y-axis is incorrect in the case of a discontinuity..

hughbg commented 6 years ago

There is a way to deal with this - add the missing LSTs, filling them with 0s, and masking them. This would be for display purposes in plot_waterfall, and in plot_ds9 these could be put in the FITs file.

jaycedowell commented 6 years ago

Most of the time when I have seen a discontinuity it is from the day rolling over (23:56:04 -> 0:00:00) rather then from gaps in the data. What about "unrolling" the LSTs before sorting and then protecting any function that takes in an LST with a modulo one day?