crackz¶
-
mpdaf.sdetect.
crackz
(nlines, wl, flux, eml, zguess=None)[source]¶ Method to estimate the best redshift matching a list of emission lines.
Algorithm from Johan Richard (johan.richard@univ-lyon1.fr)
Parameters: - nlines : int
Number of emission lines
- wl : array of float
Table of observed line wavelengths
- flux : array of float
Table of line fluxes
- eml : dict
Full catalog of lines to test redshift
- zguess : float
Guess redshift to test (only this)
Returns: - out : (float, float, int, list of float, list of float, list of str)
(redshift, redshift error, list of wavelengths, list of fluxes, list of lines names)