scopesim.effects.ter_curves_utils

scopesim.effects.ter_curves_utils#

Auxiliary functions for ter_curves.py.

Functions

add_edge_zeros(tbl, wave_colname)

apply_throughput_to_cube(cube, thru, wave_cube)

Apply throughput curve to a spectroscopic cube.

combine_two_spectra(spec_a, spec_b, action, ...)

Combine transmission and/or emission spectrum with a common waverange.

download_svo_filter(filter_name[, return_style])

Query the SVO service for the true transmittance for a given filter.

download_svo_filter_list(observatory, instrument)

Query the SVO service for a list of filter names for an instrument.

get_filter(filter_name)

get_filter_effective_wavelength(filter_name)

get_zero_mag_spectrum([system_name])

Return a synphot spectrum of 0 mag in given photometric system.

scale_spectrum(spectrum, filter_name, amplitude)

Scale a SourceSpectrum to a value in a filter.

zero_mag_flux(filter_name, photometric_system)

Return the zero magnitude photon flux for a filter.