sdapy.specline_handler.handle_spectrum¶
- class sdapy.specline_handler.handle_spectrum(wave, flux, z, ebv, flux_err=None, rv=3.1, fnorm=1, **kwargs)¶
Handle one single spectrum
Methods
find_peaks([element, region, ...])find peaks for one element or in a spectral range
get_data(stype)get different type of spectra
get_local_continuum(region, stype, ...)smooth data locally
parse_element(element, line_velocity_bounds)obtain central wavelength and fitting range for an element
- __init__(wave, flux, z, ebv, flux_err=None, rv=3.1, fnorm=1, **kwargs)¶
Methods
__init__(wave, flux, z, ebv[, flux_err, rv, ...])find_peaks([element, region, ...])find peaks for one element or in a spectral range
get_data(stype)get different type of spectra
get_local_continuum(region, stype, ...)smooth data locally
parse_element(element, line_velocity_bounds)obtain central wavelength and fitting range for an element