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
- 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.1.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7331e9aff77b3487d6b66475bd25788ecd293546f58b2794e647514094741274 |
|
MD5 | 0417e18c111a5c7425c537b2a4b685da |
|
BLAKE2b-256 | 9d4b5a19dffc76800ee41e7a634f8e5c94ed5148fdfa272806df0ae645bd7b86 |
Close
Hashes for jwst_proposal_helper-1.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f1dfb7bd674f2dbed8b000a373676eecc12fcfbf491dcecce9601f1dfa2bc76 |
|
MD5 | d7e7eca40690f1fbfd7d93990175b121 |
|
BLAKE2b-256 | 9bcba1dca4429c88988b28ab61e1f2faf4834ce1775f4d5ccb1ea77231e14f52 |