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.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7a7677e032b86815636ab64d1e3698e0c054dd418cb9181a7b7975ce928835e |
|
MD5 | 41110c065d7ba39de4c2c81a340af35f |
|
BLAKE2b-256 | 6367b3afac3e0ba0ec01152dd7852803104e8c69d2f7ec12235591ae1da6a1c9 |
Close
Hashes for jwst_proposal_helper-1.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6636071df911a9f98b2bdfdd064e0459788c4d70d00bcc7f0523bcf1d2af547 |
|
MD5 | a8a4410432c82edadc9e83aa926fbc60 |
|
BLAKE2b-256 | 5ce02c44aceaaf02fa958fa06cab8020fb0ec2b2d8a5e111fcc2f5b2a93d2558 |