Skip to main content

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

  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jwst_proposal_helper-1.2.0a0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

jwst_proposal_helper-1.2.0a0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file jwst_proposal_helper-1.2.0a0.tar.gz.

File metadata

  • Download URL: jwst_proposal_helper-1.2.0a0.tar.gz
  • Upload date:
  • Size: 4.0 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

Hashes for jwst_proposal_helper-1.2.0a0.tar.gz
Algorithm Hash digest
SHA256 fb5a024b10c28b1cd589aba4c985b9a96da836a22a84693b05da387e44348941
MD5 e1c231f66ff45e7e4a5ca9d10012d2c3
BLAKE2b-256 54ff7d41b13e55a86f7707ba3fb61cad0737596369ff4d9a51b97f3dbebe3c4a

See more details on using hashes here.

File details

Details for the file jwst_proposal_helper-1.2.0a0-py3-none-any.whl.

File metadata

  • Download URL: jwst_proposal_helper-1.2.0a0-py3-none-any.whl
  • Upload date:
  • Size: 7.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

Hashes for jwst_proposal_helper-1.2.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf0bba9b752a04ff9f12617bcb8bf2f1f9e2a296568d8035a564409cac83202d
MD5 eb8e1842383d592b3cc062f2d2ec02bf
BLAKE2b-256 894f34037601b2feb53540d068f3270efd1bd0b70d70936147eab8ddfe5f99c0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page