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
- rescale_by_distance is a function to rescale flux given lumionsity distance to a different distance.
- 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.3.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaf443c7902d66c561df0bc44973e5423d0c9d10b0b09865af23d252eb34f43f |
|
MD5 | 123ef27004dfc3129ba164e1cf675bfc |
|
BLAKE2b-256 | 243a15b712164dfd045b403fc6ba97a080ba0a13f932ec6223a39ca2e0e09d5a |
Close
Hashes for jwst_proposal_helper-1.3.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1194dff0e0876fba9cc475cd7770f5855a81629b78a4d12446d75a1b9f5b4453 |
|
MD5 | 711de741273ab1aa6779bff0e5e1dd2c |
|
BLAKE2b-256 | 3c03a02f9c04e2fbb70c2e03b655d3d560967f714921a7cba604aef901e97acf |