check_coverage#

niriss_tools.grism.check_coverage(obs_wavelength, filter_limits={'F115W': [10010, 12930], 'F150W': [13200, 16810], 'F200W': [17380, 22420]})[source]#

Check if a line is covered by the NIRISS filters.

Parameters:
obs_wavelengthfloat

The observed wavelength of the line.

filter_limitsdict, optional

A dictionary, where the keys are the names of the grism filters, and the values are array-like, containing [min_wavelength, max_wavelength]. Defaults to NIRISS_FILTER_LIMITS.

Returns:
bool

True if the line falls within the filter coverage, else False.