array_templates¶
- grizli.utils.array_templates(templates, wave=None, max_R=5000, z=0, apply_igm=False)[source]¶
Return an array version of the templates that have all been interpolated to the same grid.
- Parameters:
- templatesdictionary of
SpectrumTemplate
objects Output template list with
NTEMP
templates.- max_Rfloat
Maximum spectral resolution of the regridded templates.
- zfloat
Redshift where to evaluate the templates. But note that this is only used to shift templates produced by
bspline_templates
, which are defined in the observed frame.
- templatesdictionary of
- Returns: