Skip to main content

Subtract wisp artifacts in JWST NIRCam images with the non-negative matrix factorization (NMF) algorithm

Project description

NMFwisp

NMFwisp subtracts JWST/NIRCam wisp artifacts using multi-component, detector- and filter-specific NMF templates.

For usage examples, source-mask generation, API details, developer notes, and citation information, please see the documentation website:

https://zihaowu-astro.github.io/NMFwisp/

Installation

Install from PyPI:

pip install nmfwisp

Development install from source:

git clone https://github.com/zihaowu-astro/NMFwisp.git
cd NMFwisp
pip install -e .

Wisp Figures

Example wisp subtraction:

Example NMFwisp subtraction

Multi-component NMF wisp features:

Multi-component NMF wisp features

Wisp morphology in all contaminated NIRCam detectors:

Wisp morphology across affected NIRCam detectors

Reference

If you use NMFwisp, please cite the paper:

@ARTICLE{2026arXiv260115958W,
       author = {{Wu}, Zihao and {Johnson}, Benjamin D. and {Eisenstein}, Daniel J. and {Cargile}, Phillip and {Hainline}, Kevin and {Hausen}, Ryan and {Rinaldi}, Pierluigi and {Robertson}, Brant E. and {Tacchella}, Sandro and {Williams}, Christina C. and {Willmer}, Christopher N.~A.},
        title = "{JWST Advanced Deep Extragalactic Survey (JADES) Data Release 5: Wisp Subtraction with the Non-negative Matrix Factorization Algorithm}",
      journal = {arXiv e-prints},
     keywords = {Instrumentation and Methods for Astrophysics, Astrophysics of Galaxies},
         year = 2026,
        month = jan,
          eid = {arXiv:2601.15958},
        pages = {arXiv:2601.15958},
          doi = {10.48550/arXiv.2601.15958},
archivePrefix = {arXiv},
       eprint = {2601.15958},
 primaryClass = {astro-ph.IM},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2026arXiv260115958W},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

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

nmfwisp-1.1.4.tar.gz (92.4 MB view details)

Uploaded Source

File details

Details for the file nmfwisp-1.1.4.tar.gz.

File metadata

  • Download URL: nmfwisp-1.1.4.tar.gz
  • Upload date:
  • Size: 92.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nmfwisp-1.1.4.tar.gz
Algorithm Hash digest
SHA256 a7bd2c09abdddb2519506e69b55caf3b7817202e5590d7ef4238310b1540384a
MD5 c7169fada33bc3a072a70248f4f053f6
BLAKE2b-256 5be21189516f6173a8c55d8c43470456fbd0cc17e5904f20bdc3b9d626673221

See more details on using hashes here.

Provenance

The following attestation bundles were made for nmfwisp-1.1.4.tar.gz:

Publisher: publish-to-pypi.yml on zihaowu-astro/NMFwisp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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