No project description provided
Project description
JWST Proposal Helper
This package provides helpers for JWST proposal preparation. (pip install jwst_proposal_helper)
2020 JWST Cycle 1
- prepare_KN_nebular_spc function prepares a spectrum file to be in a format recognizable by JWST ETC.
- append_spc is a function to append a spectral profile from one dataset (ap_spc) to another (in_spc). By append, it means ap_spc would be rescaled to in_spc. The function returns values by appending rescaled ap_spc to in_spc using only the wavelength from ap_spc that is greater than in_spc.
- read_spc_at2017gfo is a specific function to read .dat files of AT2017gfo's spectra prepared for JWST ETC. (from jwst_proposal_helper.read_spc_at2017gfo import read_spc_at2017gfo)
- read_spc_even2020 is a specific function to read .dat files of Even et al. 2020's spectra of KN with Lanthanide, prepared for JWST ETC. (from jwst_proposal_helper.read_spc_even2020 import read_spc_even2020)
- rescale_spc is a function to rescale a spectrum. Given a spectrum (wavelength,flux), the function will compute a mean (wavelength,flux) given the bound. And, rescale the spectrum by setting the mean flux to the rescale_value by using a multiplicative factor: rescale_flux = flux * rescale_factor. (from jwst_proposal_helper.rescale_spc import rescale_spc)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for jwst_proposal_helper-1.2.1a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237457af3d1ed555315f7290df5c6529c414dfb0b1eafddeb31ba42f2e4aa9b7 |
|
MD5 | 0acfd408469c0cde1fd87fe2536290f6 |
|
BLAKE2b-256 | 5a36c8b62d4ac4f2466fbd51a86a267604d1adff81f93804e79564532267b2d9 |
Close
Hashes for jwst_proposal_helper-1.2.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9169aafe7ec9e92892de03d6a37c6912980219bfa9aab44c47a31f144e4fab1 |
|
MD5 | 77fd37e50a9651928457b8d55aa2f616 |
|
BLAKE2b-256 | 377d4e97b00cf79fafbba0fef6ef66a3c4d03448d257654181c5859eae1725b5 |