remove_OH_line¶
-
sitelle.fit.remove_OH_line(spectrum, theta, cube, **kwargs)¶ Function used to remove the strange Halpha line around -400km/s (probably OH line).
DEPRECATED To be used with care, especially when there is a real Halpha signal there. By default, the line is modeled as a sinc at the position of a Halpha line offseted at a velocity of -400 km/s
Parameters: - spectrum (1D
ndarray) – the spectrum to fit - theta (float) – incident angle on the detector corresponding to the spectrum (obtained by passing
return_mean_theta = Trueinorcs.core.HDFCube.extract_spectrum) - cube (
SpectralCube) – Spectral cube instance from which the spectrum has been extracted. - kwargs – Additional arguments defining the line model (same as
orb.fit._prepare_input_params).
Returns: The spectrium whithout this line (hopefully)
Return type: 1D
ndarray- spectrum (1D