Skip to main content

A Python library for exploring publicly available JWST data from the MAST archive.

Project description

Parallax

Parallax is a Python library for exploring publicly available JWST data from the MAST archive. It finds astronomical sources that existing catalogs have not yet characterized, cross-references them against SIMBAD, NED, and Gaia, and presents the results in terms an educated non-specialist can act on.

Installation

Requires Python 3.12 or later.

git clone https://github.com/teaguejg/parallax-jwst
cd parallax-jwst
pip install -e .

This installs all dependencies. PyQt6 is included for the desktop GUI.

Quick start

import parallax as par

# run the full pipeline on M92
report = par.survey.reduce("M92", instrument="NIRCAM")

print(f"Detected: {report.n_sources_detected}")
print(f"Unverified: {report.n_unverified}")

# launch the GUI
from parallax.gui import launch
launch()

reduce() downloads JWST images from MAST, runs source detection, queries three catalogs, and writes JSON and markdown reports to data/reports/.

Validated targets

These targets have been tested end-to-end:

  • M92 (NGC 6341) - globular cluster. ~23,800 sources detected, ~18,700 unverified candidates. Runs in under two minutes.
  • NGC 3132 - Southern Ring Nebula. Use "NGC 3132" as the target string; "Southern Ring Nebula" does not resolve on MAST.
  • Orion Bar - star-forming region. MAST has no Level 3 mosaic products for this target, only detector-level i2d files.

Configuration

All settings live in config.yaml in the project root. Key knobs:

  • detection.snr_threshold (default 3.0) - minimum signal-to-noise for a detection. Lower finds fainter sources but more noise.
  • detection.min_pixels (default 25) - minimum connected pixels per source. Filters hot pixels and cosmic rays.
  • detection.background_box_size (default 50) - background estimation tile size. Smaller values (20-25) work better near bright extended emission.
  • resolver.search_radius_arcsec (default 2.0) - catalog cross-match radius. Increase if WCS alignment is imprecise.
  • resolver.catalogs (default [SIMBAD, NED, GAIA]) - which catalogs to query.

Environment variables override config values using the prefix PARALLAX_ with underscores between segments (e.g. PARALLAX_DETECTION_SNR_THRESHOLD=5.0).

Requirements

  • astropy >= 5.3
  • astroquery >= 0.4.8
  • photutils >= 1.9
  • matplotlib >= 3.7
  • numpy >= 1.24
  • PyYAML >= 6.0
  • scipy >= 1.11
  • PyQt6 >= 6.4

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

parallax_jwst-1.3.1.tar.gz (83.5 kB view details)

Uploaded Source

Built Distribution

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

parallax_jwst-1.3.1-py3-none-any.whl (72.0 kB view details)

Uploaded Python 3

File details

Details for the file parallax_jwst-1.3.1.tar.gz.

File metadata

  • Download URL: parallax_jwst-1.3.1.tar.gz
  • Upload date:
  • Size: 83.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for parallax_jwst-1.3.1.tar.gz
Algorithm Hash digest
SHA256 d8220ede15732d6273a70c94aeb75acaa0c5ac99704547f21d25294c77843c35
MD5 52132d7617a1ca35437eb370e6bce4df
BLAKE2b-256 bf283a3ef4c832a0858bcc2f45db0ced670f9cda43c59d03367103db2bc23486

See more details on using hashes here.

File details

Details for the file parallax_jwst-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: parallax_jwst-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 72.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for parallax_jwst-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b02c6b64f2baba66d461e2e2bef9f473be1e38c3fd922ca06d83037b70e45df
MD5 2863f5045c527c9bd3273b68ef1464d3
BLAKE2b-256 f7d2d5abb5b61f83c88eea2de49bc371e79ecb7a3e9481a0622afe8befc21604

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