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
File details
Details for the file jwst_proposal_helper-1.1.0.tar.gz
.
File metadata
- Download URL: jwst_proposal_helper-1.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c64bb90be3f79431447bca9675240871429f08f159767b4614e6b98d9b9e609 |
|
MD5 | bc3f0c46e93687e260b19388e981d77d |
|
BLAKE2b-256 | e258b5fdc8552f1f19d19593f9b37f08e2033fae3997d2edb0530ad32518b5e1 |
File details
Details for the file jwst_proposal_helper-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: jwst_proposal_helper-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2997b51ffdb05631caaf07e5352bdbb121c431ba5bd0a14878657fd1396d5004 |
|
MD5 | c9113a7bd19d51a8262d4c5912d562f1 |
|
BLAKE2b-256 | 82ca764b851f7ea55750a7ab1ce6903c6b455101121daf588f0f19a53979e80e |