jwst-pipeline-notebooks

JWST Calibration Pipeline Notebooks

https://github.com/spacetelescope/jwst-pipeline-notebooks

Science Score: 75.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
    Organization spacetelescope has institutional domain (www.stsci.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.1%) to scientific vocabulary

Keywords

jwst notebook-jupyter
Last synced: 6 months ago · JSON representation ·

Repository

JWST Calibration Pipeline Notebooks

Basic Info
Statistics
  • Stars: 25
  • Watchers: 21
  • Forks: 22
  • Open Issues: 5
  • Releases: 0
Topics
jwst notebook-jupyter
Created almost 2 years ago · Last pushed 7 months ago
Metadata Files
Readme License Citation Codeowners

README.md

STScI Logo

JWST Pipeline Notebooks

DOI

[!IMPORTANT] JWST requires a C compiler for dependencies and is currently limited to Python 3.11, 3.12, or 3.13.

[!NOTE] Linux and MacOS platforms are tested and supported. Windows is not currently supported.

The jwst-pipeline-notebooks repository contains python-based Jupyter notebooks that illustrate how to process JWST data through the STScI science calibration pipeline (jwst; https://github.com/spacetelescope/jwst). An overview of the pipeline can be found at https://jwst-docs.stsci.edu/jwst-science-calibration-pipeline.

Notebooks are organized according to instrument and observing mode. Each notebook is designed to process data from uncalibrated raw FITS files to end-stage Level 3 data products (calibrated imaging mosaics, 3-D data cubes, 1-D extracted spectra, etc.). These notebooks by default run in 'demo' mode, for which they will download and process example data drawn from the MAST archive. They are, however, designed to be simple to run on arbitrary local data sets as well by configuring input directories accordingly.

These notebooks are modular, allowing users to enable or disable different stages of processing. Likewise, they provide examples of how to customize pipeline processing for specific science cases.

The following table summarizes the notebooks currently available and the JWST pipeline versions that they have been tested with:

| Instrument | Observing Mode | JWST Build | jwst version | Notebook | |------------|----------------|------------|--------------------------|-----------------------------------------------| | MIRI | Coronagraphy | 12.0 | 1.19.1 | JWPipeNB-MIRI-Coron.ipynb | | MIRI | Imaging | 12.0 | 1.19.1 | JWPipeNB-MIRI-imaging.ipynb | | MIRI | Imaging TSO | 12.0 | 1.19.1 | JWPipeNB-MIRI-imaging-TSO.ipynb | | MIRI | LRS Slit | 12.0 | 1.19.1 | JWPipeNB-MIRI-LRS-slit.ipynb | | MIRI | LRS Slitless | 12.0 | 1.19.1 | JWPipeNB-MIRI-LRS-slitless-TSO.ipynb | | MIRI | MRS | 12.0 | 1.19.1 | JWPipeNB-MIRI-MRS.ipynb | | NIRCam | Coronagraphy | 12.0 | 1.19.1 | JWPipeNB-nircam-coronagraphy.ipynb | | NIRCam | Imaging | 12.0 | 1.19.1 | JWPipeNB-nircam-imaging.ipynb | | NIRISS | AMI | 12.0 | 1.19.1 | JWPipeNB-niriss-ami.ipynb | | NIRISS | Imaging | 12.0 | 1.19.1 | JWPipeNB-niriss-imaging.ipynb | | NIRSpec | BOTS | 12.0 | 1.19.1 | JWPipeNB-NIRSpec-BOTS.ipynb | | NIRSpec | Fixed Slit | 12.0 | 1.19.1 | JWPipeNB-NIRSpec-FS.ipynb | | NIRSpec | IFU | 12.0 | 1.19.1 | JWPipeNB-NIRSpec-IFU.ipynb | | NIRSpec | MOS | 12.0 | 1.19.1 | JWPipeNB-NIRSpec-MOS.ipynb |

Reference Files

As of October 2024, the JWST pipeline will automatically select the best reference file context appropriate to each pipeline version by default. The notebooks provided here allow users to override this default if desired and choose specific contexts instead. See Choosing a Context for guidance.

Installation

Individual Notebooks

For advanced users, these notebooks can be downloaded individually from the GitHub repository and run in any python environment in which the jwst package meeting the indicated minimum version has been installed. Note that some notebooks have additional dependencies (e.g., jdaviz) as given in the associated requirements files.

Package Installation

If desired, you can also clone the entire jwst-pipeline-notebooks repository to your local computer and set up a new virtual or conda environment to avoid version conflicts with other packages you may have installed, for example:

conda create -n jpnb python=3.13
conda activate jpnb
git clone https://github.com/spacetelescope/jwst-pipeline-notebooks.git

Next, move into the directory of the notebook you want to install and set up the requirements:

cd jwst-pipeline-notebooks/notebooks/<whatever-notebook>
pip install -r requirements.txt
jupyter notebook

We recommend setting up a new environment for each notebook to ensure that there are no conflicting dependencies.

Previous Versions

Previous versions of these notebooks designed for use with prior builds of the JWST calibration pipeline can be found as tags within this repository.

| Notebook Tag | JWST Build | jwst version | |--------------|------------|-------------------| | 1.0.0 | 11.2 | 1.17.1 | | 1.1.0 | 11.3 | 1.18.1 |

Citation

If you use these notebooks in your work, please cite this repository using https://doi.org/10.5281/zenodo.15060584

Help

If you uncover any issues or bugs, you can open an issue on GitHub. For faster responses, however, we encourage you to submit a JWST Help Desk Ticket

Owner

  • Name: Space Telescope Science Institute
  • Login: spacetelescope
  • Kind: organization
  • Email: help@stsci.edu
  • Location: Baltimore, MD

STScI is operated by AURA for NASA

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use these notebooks in your work, please cite it using the following metadata."
authors:
- family-names: "Law"
  given-names: "David"
  orcid: "https://orcid.org/0000-0002-9402-186X"
- family-names: "Diaz"
  given-names: "Rosa"
  orcid: "https://orcid.org/0000-0002-2269-239X"
- family-names: "Sosey"
  given-names: "Megan"
  orcid: "https://orcid.org/0000-0002-4206-6492"
- family-names: "Clarke"
  given-names: "Melanie"
  orcid: "https://orcid.org/0009-0002-3561-4347"
- family-names: "Coe"
  given-names: "Dan"
  orcid: "https://orcid.org/0000-0001-7410-7669"
- family-names: "Cooper"
  given-names: "Rachel"
  orcid: "https://orcid.org/0000-0001-7864-308X"
- family-names: "Cracraft"
  given-names: "Misty"
  orcid: "https://orcid.org/0000-0002-7698-3002"
- family-names: "Glidic"
  given-names: "Kayli"
  orcid: "https://orcid.org/0000-0003-4669-7088"
- family-names: "Gough"
  given-names: "Michael"
- family-names: "Hayes"
  given-names: "Christian"
  orcid: "https://orcid.org/0000-0003-2969-2445"
- family-names: "Henry"
  given-names: "Alaina"
  orcid: "https://orcid.org/0000-0002-6586-4446"
- family-names: "Hilbert"
  given-names: "Bryan"
  orcid: "https://orcid.org/0000-0002-6875-1543"
- family-names: "Karatay"
  given-names: "Hatice"
- family-names: "LaMassa"
  given-names: "Stephanie"
  orcid: "https://orcid.org/0000-0002-5907-3330"
- family-names: "Larson"
  given-names: "Kirsten"
  orcid: "https://orcid.org/0000-0003-3917-6460"
- family-names: "Manjavacas"
  given-names: "Elena"
  orcid: "https://orcid.org/0000-0003-0192-6887"
- family-names: "Muzerolle"
  given-names: "James"
  orcid: "https://orcid.org/0000-0002-5943-1222"
- family-names: "Nickson"
  given-names: "Bryony"
  orcid: "https://orcid.org/0000-0002-9915-1372"
- family-names: "Nikolov"
  given-names: "Nikolay"
  orcid: "https://orcid.org/0000-0002-6500-3574"
- family-names: "Sunnquist"
  given-names: "Ben"
  orcid: "https://orcid.org/0000-0003-3759-8707"
- family-names: "Wong"
  given-names: "Ian"
  orcid: "https://orcid.org/0000-0001-9665-8429"
- family-names: "Zeidler"
  given-names: "Peter"
  orcid: "https://orcid.org/0000-0002-6091-7924"
title: "JWST Pipeline Notebooks"
version: 1.0.0
doi: 10.5281/zenodo.15060584
license: "BSD-3-Clause"
date-released: 2025-03-20
url: "https://github.com/spacetelescope/jwst-pipeline-notebooks"

GitHub Events

Total
  • Create event: 7
  • Release event: 5
  • Issues event: 8
  • Watch event: 16
  • Delete event: 6
  • Member event: 13
  • Issue comment event: 195
  • Push event: 305
  • Pull request event: 97
  • Pull request review comment event: 46
  • Pull request review event: 81
  • Fork event: 8
Last Year
  • Create event: 7
  • Release event: 5
  • Issues event: 8
  • Watch event: 16
  • Delete event: 6
  • Member event: 13
  • Issue comment event: 195
  • Push event: 305
  • Pull request event: 97
  • Pull request review comment event: 46
  • Pull request review event: 81
  • Fork event: 8

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 6
  • Total pull requests: 59
  • Average time to close issues: 9 days
  • Average time to close pull requests: 12 days
  • Total issue authors: 6
  • Total pull request authors: 12
  • Average comments per issue: 1.17
  • Average comments per pull request: 2.63
  • Merged pull requests: 34
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 5
  • Pull requests: 45
  • Average time to close issues: 9 days
  • Average time to close pull requests: 11 days
  • Issue authors: 5
  • Pull request authors: 9
  • Average comments per issue: 1.4
  • Average comments per pull request: 1.89
  • Merged pull requests: 27
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • pllim (1)
  • granttremblay (1)
  • slnickerson (1)
  • aliciacanipe (1)
  • camipacifici (1)
  • kelle (1)
Pull Request Authors
  • drlaw1558 (35)
  • kglidic (6)
  • rizeladiaz (5)
  • ianyuwong (3)
  • haticekaratay (2)
  • bsunnquist (2)
  • bhilbert4 (1)
  • brynickson (1)
  • sosey (1)
  • tbainesUA (1)
  • cracraft (1)
  • dulude (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/ci_buildondemand.yml actions
.github/workflows/ci_execute_merge_generate.yml actions
.github/workflows/ci_html_build.yml actions
.github/workflows/ci_manual_html_deploy.yml actions
.github/workflows/ci_nightly.yml actions
.github/workflows/ci_runner.yml actions
.github/workflows/greetings.yml.tmp actions
  • actions/first-interaction v1 composite
.github/workflows/notebook-pep8-check.yml.old actions
  • actions/checkout v3 composite
  • actions/github-script v5 composite
  • actions/setup-python v4 composite
.github/workflows/pep8_nb_style_check.yml actions
.github/workflows/pep8_script_style_check.yml actions
.github/workflows/weekly_broken_link_finder.yml actions
notebooks/MIRI/requirements.txt pypi
  • crds *
  • jwst >=1.13.3
  • numpy *
notebooks/NIRCAM/requirements.txt pypi
  • crds *
  • jwst >=1.13.3
  • numpy *
notebooks/NIRISS/requirements.txt pypi
  • crds *
  • jwst >=1.13.3
  • numpy *
notebooks/NIRSPEC/requirements.txt pypi
  • crds *
  • jwst >=1.13.3
  • numpy *
.github/workflows/ci_security_scan.yml actions