get_reference_scale

sofia_redux.instruments.forcast.imgnonlin.get_reference_scale(header, camcap, update=False)[source]

Get non-linearity scale from the header based on camera and capacitance

Parameters:
headerastropy.io.fits.header.Header
camcapstr

camera + 2-letter-capacitance, e.g., SWCHI, LWCLO, etc.

updatebool, optional

If True, update the header with a HISTORY message stating the scale

Returns:
tuple of float

reference, scale