TemplateError¶
- class eazy.templates.TemplateError(file='templates/TEMPLATE_ERROR.eazy_v1.0', arrays=None, filter_wavelengths=[5500.0], scale=1.0)[source]¶
Bases:
object
Template error function with spline interpolation at arbitrary redshift.
- Parameters:
- filestr
File containing the template error function definition (columns of wavelength in Angstroms and the TEF).
- arraysoptional, (wave, TEF)
Set from arrays rather than reading from
file
.- filter_wavelengthslist
List of filter pivot wavelengths (observed-frame Angstroms).
- scalefloat
Scale factor multiplied to TEF array, e.g., the
TEMP_ERR_A2
parameter.
- Attributes:
- te_x, te_yarrays
The input wavelength and TEF arrays.
- min_wavelength, min_wavelengthfloat
Min/max of the wavelengths in
te_x
.- clip_lo, clip_hifloat
Extrapolation limits to use if redshifted filters fall outside defined
te_x
array
Methods Summary
__call__
(z[, limits])Interpolate TEF arrays at a specific redshift
interpolate
([filter_wavelength, z])filter_wavelength
is observed wavelength of photometric filters.Methods Documentation