milespy.filter.Filter
- class milespy.filter.Filter(fname)
Bases:
objectFilter information
- wave
Wavelength range of the filter
- Type:
array
- trans
Transmissivity for each wavelength
- Type:
array
- name
Name of the filter
- Type:
str
Methods
Plot the filter transmissivity.
- __init__(fname)
Create a filter from the name in the database.
This reads the information from the configuration files, so the name should match with a given existing file. This can be easily accomplished with
milespy.filter.search_filters().- Parameters:
fname (str) – Name of the filter to be loaded
- plot_transmissivity(ax)
Plot the filter transmissivity.
- Parameters:
ax (matplotlib.Axes) – Axes where the plot is drawn.
- Return type:
None