extract_spectrum

sitelle.nburst.extract_spectrum(fit_table, binNumber)

Get the NBurst fitted spectrum for a given bin number. :param fit_table: the fit_table containg the fitted spectra :param binNumber: the binNumber :type binNumber: int

Returns:the wavelength axis (in Angstroms) and fitted spectrum
Return type:tuple of ndarray