tomasstolker / species

Toolkit for atmospheric characterization of directly imaged exoplanets
https://species.readthedocs.io
MIT License
22 stars 10 forks source link

Added spec_res parameter to ReadCalibration.resample_spectrum #37

Closed tomasstolker closed 3 years ago

tomasstolker commented 3 years ago

The spec_res parameter had been added to the resample_spectrum method of ReadCalibration. By setting this parameter, the spectrum is smoothed with a Gaussian kernel to the requested resolution before the wavelengths are resampled. When setting spec_res=None (default), no smoothing is applied and the wavelengths are only resampled.