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

Added wavel_resample and phot_type parameters #41

Merged
merged 2 commits into from Mar 9, 2021
Merged

Conversation

tomasstolker
Copy link
Owner

  • Added the wavel_resample parameter to Database.get_mcmc_spectra and ReadPlanck.get_spectrum for resampling the spectra (after smoothing) to the provided array with wavelengths.
  • Added the phot_type parameter to Database.get_mcmc_photometry to set the returned synthetic photometry to 'magnitude' or 'flux`.
  • Some minor improvements to the docstrings.

…lanck.get_spectrum, added phot_type parameter in Database.get_mcmc_photometry, minor improvements in docstrings
@tomasstolker
Copy link
Owner Author

Increased the Teff range of the blackbody spectra to 20000 K. Between 5000 and 20000 K, the sampling is in steps of 100 K. To make use of the spectra, make sure to remove the previous tar file from data_folder and rerun add_model('blackbody').

@tomasstolker tomasstolker merged commit 18ca328 into master Mar 9, 2021
@tomasstolker tomasstolker deleted the spec_features branch March 9, 2021 09:00
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