get_mask_from_flags

HIRSKLM.get_mask_from_flags(header, lines, max_flagged=0.5)[source]

Set mask in lines, based on header and lines info

Given header and lines such as returned by self.read, determine flags and set them on lines as appropriate. Returns lines as a masked array.