Filter#

class gadfly.Filter(identifier_or_filter, download=False)[source]#

Bases: tynt.core.Filter

Convenience subclass for the tynt API for photometric filter transmittance curves.

tynt is a parameterized filter bandpass package [1].

References

1

tynt source code on GitHub.

Parameters
  • identifier_or_filter (str, Filter, Filter) – Input name of the filter, or a gadfly or tynt implementation of the filter object.

  • download (bool) – If True, download the true transmittance curve. Default is False.

Attributes Summary

available_filters

default_filter

generator

mean_wavelength

Transmittance-weighted mean wavelength of the filter bandpass.

table

Filter transmittance represented in the astropy modeling framework.

Attributes Documentation

available_filters = array(['2MASS/2MASS.J', '2MASS/2MASS.H', '2MASS/2MASS.Ks', ...,        'STELLA/WiFSIP.Strom_y', 'OSN/Stromgren.y_z1',        'OSN/Stromgren.y_z2'], dtype='<U35')#
default_filter = 'Kepler/Kepler.K'#
generator = <tynt.core.FilterGenerator object>#
mean_wavelength#

Transmittance-weighted mean wavelength of the filter bandpass.

table#

Filter transmittance represented in the astropy modeling framework.

Returns

tab – Lookup table for astropy modeling.

Return type

Tabular1D