You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature description
Requirements are the abilities to
Read GBTIDL flags
Write applied flags/mask back out from the classes which we support data-writing.
Read flags/masks that have been written to our classes.
Solution
Figure out how to parse GBTIDL flag files into a Flag object, which is then attached to the GBTFITSLoad object
For SDFITS format we would write a new binary table column "FLAGS" that has same dimensions as the "DATA" column and consists of a bitmask. Possibly using https://docs.astropy.org/en/stable/nddata/bitmask.html. For Spectra, there is already a column with the mask value.
Creating a Flag object from SDFITS bitmask may be tricky. Brute force is to make one Flag._flag_selection_rule per row. Channel flags themselves are stored per binary table in SDFITSLoad._flagmask.
Additional context
We will not write out GBTIDL flag format. Also VEGAS flags are covered under issue #30
The text was updated successfully, but these errors were encountered:
Feature description
Requirements are the abilities to
Solution
Additional context
We will not write out GBTIDL flag format. Also VEGAS flags are covered under issue #30
The text was updated successfully, but these errors were encountered: