Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Exo-REM model spectra and new features for FitModel #3

Merged
merged 40 commits into from
Mar 12, 2020

Conversation

tomasstolker
Copy link
Owner

  • Support for Exo-REM model spectra with add_model, FitModel, and ReadModel.
  • The (mean) spectral resolution is stored for each spectrum of an object.
  • FitModel will use the spectral resolution of each spectrum to smooth the spectra with a Gaussian kernel before interpolating.
  • Updated smooth_spectrum to smooth a spectrum for which the wavelength spacing has a uniform spectral resolution (fast) or constant step size (slow), which is also used by get_model.
  • The absolute_to_apparent function to convert absolute to apparent magnitudes.
  • The update_spectra function for updating the spectra of an object with a best-fit scaling and/or error inflation.
  • Optional scaling parameter in FitModel that can be fitted for each spectrum.

@tomasstolker tomasstolker merged commit e33025e into master Mar 12, 2020
@tomasstolker tomasstolker deleted the exorem branch March 12, 2020 17:24
@tomasstolker tomasstolker restored the exorem branch March 12, 2020 17:25
@tomasstolker tomasstolker deleted the exorem branch March 12, 2020 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant