step_templates¶
- grizli.utils.step_templates(wlim=[5000, 18000.0], bin_steps=None, R=30, round=10, rest=False, special=None, order=0)[source]¶
Step-function templates for easy binning
- Parameters
- wlimlist
The wavelength range for the templates.
- bin_stepsndarray
The array of bin steps for the templates.
- Rint
The resolution of the templates.
- roundint
The rounding factor for the bin steps.
- restbool
Flag indicating whether the templates are in the rest frame.
- specialstr
Special template type. Options are ‘D4000’, ‘Dn4000’, and None.
- orderint
The order of the step function templates.
- Returns
- bin_stepsndarray
The array of bin steps for the templates.
- step_templdict
Dictionary of step function templates.