-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support realtime 2023a data format (SplitInIcePulses
)
#244
Conversation
@mlincett I merged in the latest updates from main and updated the baseGCD url to point to Was there anything else you were working on? |
Thank you for picking this up! I believe it should be good to go. (We will not have single-pixel tests for the new format but I don't see that as strictly necessary for now.) Initially, I meant to rename the input pulse series name of the scanner to something neutral and different from "SplitUncleanedInIcePulses", but this would require replacing all the single-pixel test data (or finding some workaround). I guess we can ignore that for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions and requests
With these changes,
we set the name of the base pulse series towe support the change in the input pulses name occurred with the realtime 2023a format.SkyScanBasePulses
As part of the
prepare_frames
, apulses_name
argument is used as the source to copy the pulses from. Whenpulses_name
isNone
, we use a map from the realtime JSON "version" to the pulses name ("SplitInIcePulses" for 2023a) and "SplitUncleanedInIcePulses" for 2021a. The latter is also the default.In general, an arbitrary
pulses_name
is supported inextra_json_message()
. In the future, this can be used to read an arbitrary series of pulses instead of the mandated one.Out of simplicity, I have decided to copy over the pulses to a new "static" name rather than use it as an attribute of the reco object.