Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.4%) to scientific vocabulary
Last synced: 6 months ago
·
JSON representation
Repository
Python ETC and Simulator for JWST NIRCam
Basic Info
- Host: GitHub
- Owner: JarronL
- License: mit
- Language: Jupyter Notebook
- Default Branch: develop
- Size: 630 MB
Statistics
- Stars: 3
- Watchers: 3
- Forks: 9
- Open Issues: 16
- Releases: 15
Created about 9 years ago
· Last pushed 10 months ago
Metadata Files
Readme
Changelog
Contributing
License
Citation
README.rst
========
Overview
========
A JWST NIRCam ETC and Simulator
===============================
.. image:: https://img.shields.io/pypi/v/pynrc.svg
:target: https://pypi.python.org/pypi/pynrc
:alt: Badge showing current released PyPI version
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5829552.svg
:target: https://doi.org/10.5281/zenodo.5829552
:alt: Zenodo DOI
.. image:: https://readthedocs.org/projects/pynrc/badge/?version=latest
:target: https://pynrc.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
*Authors:* `Jarron Leisenring `_
(U. of Arizona, Steward Observatory)
*Contributors:* `Everett Schlawin `_,
`Jonathan Fraine `_,
`Jonathan Aguilar `_
pyNRC is a set of Python-based tools for planning observations with JWST NIRCam, such as an ETC, a simple slope image simulator, and an enhanced data simulator compatible with the JWST pipeline.
While special attention has been placed on NIRCam coronagraphic modes, this package also works for a variety of NIRCam observing modes including:
- direct imaging
- coronagraphic imaging
- weak lens imaging
- slitless grism spectroscopy
- DHS observations (TBI)
All PSFs are generated by `STPSF `_ as implemented by the `WebbPSF Extensions `_ package to reproduce realistic JWST images and spectra.
Documentation can be found at https://pynrc.readthedocs.io.
Similar to some of its dependencies, pyNRC requires input data files in order to generate simulations. Due to the size of these files, they are not included with this source distribution. Please see the documentation for instructions on how to to download the required data files.
.. warning::
pyNRC enables more modes than are officially allowed by the Observatory, (ie., filter + coronagraphic combinations, subarray sizes, etc.). Just because you can do something with pyNRC does not mean it will be supported in flight. Check out `JDocs`_ for more information.
.. _JDocs: https://jwst-docs.stsci.edu/jwst-near-infrared-camera/nircam-observing-modes
Simulating PSFs
===============
Simulating PSFs with STPSF can become computationally expensive if generating new ones on the fly, especially considering JWST PSFs vary with respect to wavelength, field position, and time-dependent wavefront error drift. In an effort to speed up this process, pyNRC uses STPSF to generate a series of monochromatic PSF simulations, then produces polynomial fits to each oversampled pixel. Storing the coefficients rather than a library of PSFS allows for quick creation (via matrix multiplication) of PSF images for an arbitrary number of wavelengths (subject to hardware memory limitations, of course). The applications range from quickly creating PSFs for many different stellar types over wide bandpasses to generating a large number of monochromatic PSFs for spectral dispersion.
In addition, each science instrument PSF is dependent on the detector position due to field-dependent wavefront errors. Such changes are tracked in STPSF, but it becomes burdensome to generate new PSFs from scratch at each location, especially for large starfields. Instead, these changes can be stored by the fitting the residuals of the PSF coefficients across an instrument's field of view, then interpolating for an arbitrary location. A similar scheme can be achieved for coronagraphic occulters, where the PSF changes as the source position moves with respect to the mask.
JWST's thermal evolution (e.g., changing the angle of the sunshield after slewing to a new target) causes small but significant distortions to the telescope backplane. STPSF has tools to modify OPDs, but high-fidelity simulations take time to calculate. Since the change to the PSF coefficients varies smoothly with respect to WFE drift components, it's simple to parameterize the coefficient residuals in a fashion similar to the field-dependence.
Owner
- Name: Jarron Leisenring
- Login: JarronL
- Kind: user
- Repositories: 14
- Profile: https://github.com/JarronL
GitHub Events
Total
- Release event: 1
- Push event: 7
- Create event: 1
Last Year
- Release event: 1
- Push event: 7
- Create event: 1
Dependencies
docs/requirements.txt
pypi
- Cython *
- astropy ==4.2
- astropy-helpers >=3.1
- astroquery ==0.4.3
- docutils ==0.16
- jwst *
- matplotlib ==3.5.0
- nbsphinx ==0.8.7
- numpy ==1.21.2
- poppy >=1.0.1
- pysynphot >=2.0.0
- sphinx ==4.2.0
- sphinx-automodapi ==0.13
- sphinx_rtd_theme ==0.4.3
- webbpsf >=1.0.0
- webbpsf_ext *
setup.py
pypi
- astroquery >=0.4.6
- jwst *
- poppy >=1.1.0
- tqdm >4
- webbpsf >=1.2.0
- webbpsf_ext >=1.2.1