Skip to main content

teas - Tools for the Extraction and Analysis of Spectra from JWST observations

PyPI - Version Powered by Astropy Powered by STScI

teas is a package of utilities to analyze spectra from the James Webb Space Telescope. It provides tools to align and process JWST data products, extract 1D spectra from 3D integral-field-unit data cubes from NIRSpec and MIRI MRS, and create images of observed regions with NIRCam observations.

Features:

  • Extract 1D spectra from 3D IFU data from NIRSpec and MIRI MRS

  • Create images of spectrally imaged regions using NIRCam data

  • Align and reproject the WCS of data cubes and images

  • Find the field of view of NIRSpec or MIRI MRS data products within NIRCam images

  • Fit the continuum using either an anchors-and-splines fitting or linear regression

  • Stitch together spectra

  • Shift, scale, and normalize spectrum flux

Installation

It is recommended to install teas in a new environment to avoid version conflicts with other packages. To do this, run:

conda create --name teas-env python=3.9

Then, activate the environment and install the package. The latest released version can be installed with pip:

conda activate teas-env
pip install teas --upgrade

Release files for teas 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teas 0.1.1
File Size Uploaded
teas-0.1.1.tar.gz 21.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for teas 0.1.1
File Interpreter ABI Platform
teas-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 43.7 kB

Release files / teas-0.1.1.tar.gz

Download URL teas-0.1.1.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ed50147880a3c29cd2874209f88c51a4a31c70dad729f05b9c581c68bf5a559f
BLAKE2b-256 checksum
How to use checksums
a4c2b654a1a4d6ec9988bc3e6cd4dfa5950dd0d05746b98b28018792e7a3ff5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / teas-0.1.1-py3-none-any.whl

Download URL teas-0.1.1-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a237aec223a7fa3cf7204bcb92c12178d501f5c2c43cb1d2deaa975062ab2f8a
BLAKE2b-256 checksum
How to use checksums
d65032ce3d2b9f5eaef43229fe721c23ea65e2f9217c115b8977ad67206d149b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page