Parent issue: #1276
HistogramL1B._compute_histogram_flag_array() (glows_l1b_data.py:952) currently returns all zeros as a placeholder. It needs to be implemented per Section 12.3.3 of the algorithm document. The 4 bad-angle flags (shape (4, 3600)) are:
is_close_to_uv_source - bin within masking radius of a UV point source catalog entry (ancillary file: imap_glows_l1b-map-of-uv-sources)
is_inside_excluded_region - bin inside an excluded sky region (ancillary file: imap_glows_l1b-map-of-excluded-regions)
is_excluded_by_instr_team - bin masked by instrument team for this block (ancillary file: imap_glows_l1b-exclusions-by-instr-team)
is_suspected_transient - bin suspected to contain transient signal (ancillary file: imap_glows_l1b-suspected-transients)
Requires SPICE (ecliptic coordinates of bin centers) to compute angular distances to catalog entries. Depends on #2722 (ecliptic bin center coordinates).
Parent issue: #1276
HistogramL1B._compute_histogram_flag_array()(glows_l1b_data.py:952) currently returns all zeros as a placeholder. It needs to be implemented per Section 12.3.3 of the algorithm document. The 4 bad-angle flags (shape(4, 3600)) are:is_close_to_uv_source- bin within masking radius of a UV point source catalog entry (ancillary file:imap_glows_l1b-map-of-uv-sources)is_inside_excluded_region- bin inside an excluded sky region (ancillary file:imap_glows_l1b-map-of-excluded-regions)is_excluded_by_instr_team- bin masked by instrument team for this block (ancillary file:imap_glows_l1b-exclusions-by-instr-team)is_suspected_transient- bin suspected to contain transient signal (ancillary file:imap_glows_l1b-suspected-transients)Requires SPICE (ecliptic coordinates of bin centers) to compute angular distances to catalog entries. Depends on #2722 (ecliptic bin center coordinates).