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)
Metadata
Release files for jwst-proposal-helper 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jwst_proposal_helper-1.2.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jwst_proposal_helper-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / jwst_proposal_helper-1.2.1.tar.gz
| Download URL | jwst_proposal_helper-1.2.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b328ec639c1a9c812c6906d1a0f3d5d0bda8c5ed69f595aad9eedffc0369948c
|
|
BLAKE2b-256 checksum How to use checksums |
efc6e45ecf51703ab517a4b077e7bbda403079a5721a7db9dcd5dafe36c8959e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / jwst_proposal_helper-1.2.1-py3-none-any.whl
| Download URL | jwst_proposal_helper-1.2.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bee9b15bbf396929237ebf3ce2f2fcec9ba3dc58c6d63737c6d3af1aaf26f4d
|
|
BLAKE2b-256 checksum How to use checksums |
bef63c5be4a59223fbcff13591d11a45505795cc75e1a7a7b3380c542ddd93ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|