Skip to main content

JWST NIRSpec Observation Visualization Tool

Project description

GitHub Actions CI Status Coverage Status Documentation Status Powered by Astropy Badge

The NIRSpec Observation Visualization Tool (NOVT) visualizes projected footprints for the NIRSpec and NIRCam instruments on the James Webb Space Telescope (JWST). It is intended to aid in planning NIRCam pre-imaging for NIRSpec MOS observations, by allowing simultaneous display and configuration of the NIRSpec and NIRCam fields of view for a given sky position.

Available modules

The NOVT package includes tools for calculating footprints and visibility timelines and tools for interactively configuring and displaying them. The dependencies for the interactive tools are much more extensive than the core tools require, so the package allows installation of the core tools without the optional dependencies required by the interactive tools.

See the online documentation for more information on the contents of the software modules.

Core tools: jwst_novt

The top-level package (jwst_novt) contains lightweight interfaces to the pysiaf and jwst_gtvt tools to compute aperture projections by target position and target visibility and position angle by date, respectively. This package may be installed and used directly to create inputs for preferred visualization tools (e.g. SAO DS9 or Imviz).

See the novt_tools notebook in the notebooks directory of the source distribution for an example of this usage.

Display and interactive tools: jwst_novt.interact

The jwst_novt.interact package contains tools to configure, visualize, and interact with the instrument apertures and visibility timeline in a Jupyter notebook context. A default application is provided that can be run in a local notebook server, or as a remote web application. STScI plans to serves this application for the public soon. In the meantime, the default application can be run locally by following the installation instructions below, then running the command:

$ novt

See also the novt_interact notebook in the notebooks directory of the source distribution for an example of using NOVT tools with the Imviz display tool in a custom notebook.

See the NOVT JDox article for usage information for the web application.

Installation

It is highly recommended that the user install the NOVT package into a virtual environment. For example, use conda to create and activate a virtual environment before following the installation steps:

$ conda create -n jwst_novt python
$ conda activate jwst_novt

Core tools only

To install the top-level package from source via GitHub:

$ git clone https://github.com/spacetelescope/jwst_novt
$ pip install -e jwst_novt

To install via pip:

$ pip install jwst_novt

Either method will also download and install the required software dependencies.

Core tools + display and interactive tools

To install the display and interactive tools along with the base package from source via GitHub:

$ git clone https://github.com/spacetelescope/jwst_novt
$ pip install -e jwst_novt[interact]

Or via pip:

$ pip install jwst_novt[interact]

Either method will download and install the additional required software dependencies for the interact module.

License

See LICENSE.rst in the source distribution for more information.

Contributing

See CONTRIBUTING.md in the source distribution for more information.

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_novt-0.1.6.tar.gz (18.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jwst_novt-0.1.6-py3-none-any.whl (195.4 kB view details)

Uploaded Python 3

File details

Details for the file jwst_novt-0.1.6.tar.gz.

File metadata

  • Download URL: jwst_novt-0.1.6.tar.gz
  • Upload date:
  • Size: 18.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for jwst_novt-0.1.6.tar.gz
Algorithm Hash digest
SHA256 164f4689032263fddec9386b8d7a37355bf1ba2d0d381e71e25ea10af0fbef26
MD5 71a25ea14d0f5e4a4a51e8c543acb855
BLAKE2b-256 6f8afb5bc81b02928bdb731cc0dc6f6b0ff63449e608626575668be8d60ac97f

See more details on using hashes here.

File details

Details for the file jwst_novt-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: jwst_novt-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 195.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for jwst_novt-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8a800d6c9293a44d5136ed5a0a32e044d4541173da25b51e4ec5543538e559ce
MD5 716dbf46c5899f098a553425869b1dde
BLAKE2b-256 cae56fbe670d81ea43b083a1a77612a3dc4ebebe2a0cd1ee1f14d7c88cce4784

See more details on using hashes here.

Supported by

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