Skip to main content

JWST coronagraphic target observability calculator

Project description

JWST Coronagraph Visibility Tool

Current version: 0.4.2 (beta). SIAF version: PRDOPSSOC-M-026

Download for macOS (754.5 MB) <https://github.com/spacetelescope/jwst_coronagraph_visibility/releases/download/0.4.2/jwst_coronagraph_visibility_tool_macos.zip>_ | Download Python source <https://github.com/spacetelescope/jwst_coronagraph_visibility/archive/0.4.2.zip>_ | $ pip install jwst-coronagraph-visibility

Report any issues at https://github.com/spacetelescope/jwst_coronagraph_visibility/issues/new or via email to the authors.

*Authors: Christopher Stark (cstark@stsci.edu), Joseph Long, J. Brendan Hagan (hagan@stsci.edu)

.. image:: screenshot.png :width: 60% :align: center :alt: Screenshot of the JWST Coronagraph Visibility Tool showing target HR 8799 with three companions plotted.

The allowed pointing of JWST leads to target visibility that depends on ecliptic latitude, and the range of roll angles allowed depends on solar elongation. The allowed PAs for a target can thus be a complicated function of time. As a result, it can be difficult to 1) understand the possible orientations of a given target on the detector, 2) determine the ideal roll angle offsets for multi-roll observations, and 3) determine a group of targets that are simultaneously visible. The JWST Coronagraph Visibility Tool (CVT) was created to address these issues and assist with creating APT programs and diagnosing scheduling errors.

We stress that the CVT is designed to provide quick illustrations of the possible observable orientations for a given target. As such, the CVT rapidly approximates JWST’s pointing restrictions and does not query the official JWST Proposal Constraint Generator (PCG). The CVT does not include detailed pointing restrictions like Earth and Moon avoidance, etc. Additionally, results may differ from official constraints by a degree or so. Users should treat the results as close approximations.

Additionally, detector geometry (e.g. conversion from sky coordinates to the instrument's Idl frame) is provided by the SIAF (Science Image Aperture File). The SIAF is a standardized format for manipulating instrument apertures and coordinate conversions, maintained by STScI as part of operating JWST.

For installation instructions and usage instructions, see the documentation <https://github.com/spacetelescope/jwst_coronagraph_visibility/blob/master/docs/index.rst>_ on GitHub or docs/index.rst in this repository.

Known Issues

  • The CVT does not (and will not) query the JWST Proposal Constraint Generator. The only constraint on the field of regard is the Sun and anti-Sun avoidance angle.
  • Target name resolution depends on the availability of the SIMBAD service. If the service cannot be reached, you will have to enter coordinates yourself.
  • The CVT does not currently provide a way to export the plotted points as text. Plots can be saved from the GUI using the save icon below the plot panel.
  • The CVT has only been tested on Mac and Linux. Issue reports from Windows users are welcome, and we will do our best to address them, but we are not testing the tool on Windows.

See issue tracker at https://github.com/spacetelescope/jwst_coronagraph_visibility/issues.

Release Notes

0.4.2 ^^^^^

  • Update to fix bug in Mac OS app bundle.

0.4.1 ^^^^^

  • Minor update to setup.py file that enables proper display of documentation on PyPI. No code was changed in this release, but a new release is necessary in order to update PyPI.

0.4.0 ^^^^^

  • This release discontinues use of the jwxml package and now uses the STScI supported pysiaf package for all information using the SIAF. This releases uses version 0.6.3 of pysiaf which uses PRDOPSSOC-M-026 as default for the JWST SIAF.
  • CVT no longer supports python 2.7

0.3.0 ^^^^^

This release fixes two issues with the GUI:

  • #15 <https://github.com/spacetelescope/jwst_coronagraph_visibility/issues/15>_ - NIRCam A long-wavelength bar mask was flipped left-to-right in the GUI but is now oriented correctly
  • #12 <https://github.com/spacetelescope/jwst_coronagraph_visibility/issues/12>_ - The SIMBAD search field is now cleared when user enters RA/Dec or chooses an example

0.2.0 ^^^^^

This release incorporates some minor improvements based on user feedback, as well as revised definitions of the science instrument apertures in the SIAF (version PRDOPSSOC-F-008).

  • Add MIRI Target Acq positions to plot (#5 <https://github.com/spacetelescope/jwst_coronagraph_visibility/issues/5>_)
  • Make the MIRI TA spots translucent and renamed by APT numbers (#5 <https://github.com/spacetelescope/jwst_coronagraph_visibility/issues/5>_)
  • Add zoom to fit button (#6 <https://github.com/spacetelescope/jwst_coronagraph_visibility/issues/6>_)
  • Make the calculation start on Jan 1 instead of Oct 1 (#9 <https://github.com/spacetelescope/jwst_coronagraph_visibility/issues/9>_)
  • Show day of year in plot overlay (#9 <https://github.com/spacetelescope/jwst_coronagraph_visibility/issues/9>_)
  • Update development instructions

0.1.0 ^^^^^

The tool has been renamed to jwst_coronagraph_visibility with the command to launch the GUI taking on the name jwst-coronagraph-visibility-gui.

jwxml has been updated to PRDOPSSOC-E-002 (v0.2.0), which is required for new aperture names used by this tool.

NIRCam coronagraph ND squares and clips are now drawn in the right hand (detector) plot.

A LICENSE file has been added to reflect availability under the 3-Clause BSD license.

0.0.2 ^^^^^

  • The SIAF is now bundled with the jwxml package, and targets PRDDEVSOC-D-012. This includes minor refinements to the transformations from sky coordinates to the coronagraph aperture coordinates.
  • NIRCam Module B is no longer a selectable instrument.
  • Add controls for the sampling of the roll angle and time of year.

0.0.1 ^^^^^

The first tagged release of the tool for internal and external testing. Target visibility plots from this tool should always be checked against APT for consistency, as this tool does not account for all of the same constraints (and is not intended to).

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-coronagraph-visibility-0.4.2.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

jwst_coronagraph_visibility-0.4.2-py2.py3-none-any.whl (1.9 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file jwst-coronagraph-visibility-0.4.2.tar.gz.

File metadata

  • Download URL: jwst-coronagraph-visibility-0.4.2.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.7

File hashes

Hashes for jwst-coronagraph-visibility-0.4.2.tar.gz
Algorithm Hash digest
SHA256 6b32432f40c4d8d7e896d2d15c1e08db054ca01f7f231a6382e5bd7c8d1c38ae
MD5 34245c600f490740e15e3eba28f85e6f
BLAKE2b-256 baf92cebc4413b4079c06ad463078ad4d7c9aa3059be3ecd3d28450cc42694d9

See more details on using hashes here.

File details

Details for the file jwst_coronagraph_visibility-0.4.2-py2.py3-none-any.whl.

File metadata

  • Download URL: jwst_coronagraph_visibility-0.4.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for jwst_coronagraph_visibility-0.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 811dee39f348191c33b031f251cc02b1c3ad8db1359697a55fb3551fd12442b2
MD5 b2ff1b1eb63a82ce03fb36e98e60dfc9
BLAKE2b-256 cd15535f4db84fbfdbc194ccd7d851a0dbab72731645f0cf6484036d6a50e66a

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