lsst.sims.ocs.configuration.instrument.filters module

class lsst.sims.ocs.configuration.instrument.filters.Filters[source]

Bases: lsst.pex.config.config.Config

Configuration of the LSST filters.

!Allocate a new Config object.

In order to ensure that all Config object are always in a proper state when handed to users or to derived Config classes, some attributes are handled at allocation time rather than at initialization

This ensures that even if a derived Config class implements __init__, the author does not need to be concerned about when or even if he should call the base Config.__init__

get_effective_wavelength(filter_name)[source]

Get the effective wavelength for a given filter.

Parameters:filter_name (str) – The single character name of the filter.
Returns:float – The effective wavelength (nm) of the given filter.
setDefaults()[source]

Set defaults for the LSST Filters.

g_effective_wavelength

The effective wavelength (units=nm) for the g filter calculated from the throughputs.

i_effective_wavelength

The effective wavelength (units=nm) for the i filter calculated from the throughputs.

r_effective_wavelength

The effective wavelength (units=nm) for the r filter calculated from the throughputs.

u_effective_wavelength

The effective wavelength (units=nm) for the u filter calculated from the throughputs.

y_effective_wavelength

The effective wavelength (units=nm) for the y filter calculated from the throughputs.

z_effective_wavelength

The effective wavelength (units=nm) for the z filter calculated from the throughputs.