select_winner

HIRSBestLineFilter.select_winner(rep)[source]

Select “winning” scanline among 2 or more

Between 2 or more identical scanlines, select the one that fits best. That probably means least flags etc.

Takes a ndarray with dtype containing at least the HIRS flag fields. Dimension should be (n,) where n>1.

Returns the index of the best choice.