getdetchan

sofia_redux.instruments.forcast.getdetchan.getdetchan(header)[source]

Retrieve DETCHAN keyword value from header as either SW or LW

A helper function to support the change to the DETCHAN keyword from value 0|1 to value SW|LW. Returns SW if any other value is found.

Parameters:
headerastropy.io.fits.header.Header

FITS header

Returns:
str

SW or LW