get_filter_obsmode

grizli.utils.get_filter_obsmode(filter='f160w', acs_chip='wfc1', uvis_chip='uvis2', aper=inf, case=<method 'lower' of 'str' objects>)[source]

Derive pysynphot obsmode keyword from a filter name, where UVIS filters end in ‘u’

Parameters
filterstr, optional

The name of the filter. Default is “f160w”.

acs_chipstr, optional

The ACS chip. Default is “wfc1”.

uvis_chipstr, optional

The UVIS chip. Default is “uvis2”.

aperfloat, optional

The aperture size. Set to np.inf by default.

casefunction, optional

The case conversion function. Default is str.lower.

Returns
str

The pysynphot obsmode keyword derived from the filter name.