parsnip.should_correct_background

parsnip.should_correct_background(bands)

Determine if we should correct the background levels for a set of bands

Parameters:

bands (List[str]) – Bands to lookup

Returns:

Boolean for each band indicating if it needs background correction

Return type:

ndarray

Raises:

KeyError – If any bands are not available in band_info in instruments.py