generate_tempfilt

grizli.utils.generate_tempfilt(templates, filters, zgrid=None, MW_EBV=0)[source]

Generate a template grid for photometric redshift fitting.

Parameters
templatesdict

Dictionary of templates. Each template should be an instance of eazy.templates.Template.

filterslist

List of filters to be used for the photometric redshift fitting.

zgridarray-like, optional

Redshift grid. If not provided, a default grid will be used.

MW_EBVfloat, optional

Milky Way E(B-V) reddening value. Default is 0.

Returns
tempfilteazy.photoz.TemplateGrid

Template grid for photometric redshift fitting.