fit_by_redshift¶
- eazy.photoz.fit_by_redshift(iz, z, A, fnu_corr, efnu_corr, TEFz, zp, verbose, fitter, renorm_t, hess_threshold)[source]¶
Fit all objects in the catalog at a given reshift for parallelization
- Parameters:
- izint
Index of the redshift grid
- zfloat
Redshift value
- Aarray (NTEMP, NFILT)
TemplateGridphotometry evaluated at redshiftz.- fnu_corr, efnu_corrarray (NOBJ, NFILT)
Flux densities and uncertainties without MW extinction and with
zpzeropoint corrections- TEFzarray (NFILT)
TemplateErrorevaluated at redshiftz.- zparray (NFILT)
Zeropoint corrections needed to back out of
efnu_corr- verboseint
Prints status message if
verbose > 2.- fitterstr
Least-squares method for template fits. See
template_lsq.- renorm_tbool
Renormalize templates before fitting
- hess_thresholdfloat
- Returns:
- izint
Same as input, used for collecting results from parallel threads
- chi2array (NOBJ)
\(\chi^2\) of the template fits
- coeffsarray (NOBJ, NTEMP)
Template normalization coefficients