Skip to main content

teareduce

Teareduce's PyPI version

Utilities for astronomical data reduction.

This package is not intended to be a general-purpose image reduction code. It only includes specific operations required in certain steps of the traditional astronomical image reduction process that, at the time of its creation, were not available in more established packages such as ccdproc. In addition, it also offers alternative ways to perform certain tasks that we have found to be more practical for use in Master’s level classes.

Documentation

The documentation for this package is available at this link. It includes Juypter notebooks that can be easily downloaded and demonstrate the practical use of the defined functionality.

Installing the code

In order to keep your Python installation clean, it is highly recommended to first build a specific Python 3 virtual enviroment

Creating and activating the Python virtual environment

$ python3 -m venv venv_teareduce
$ . venv_teareduce/bin/activate
(venv_teareduce) $ 

Installing the package

The latest stable version is available via de PyPI repository:

(venv_teareduce) $ pip install teareduce

Note: This command can also be employed in a Windows terminal opened through the CMD.exe prompt icon available in Anaconda Navigator.

The latest development version is available through GitHub:

(venv_teareduce) $ pip install git+https://github.com/nicocardiel/teareduce.git@main#egg=teareduce

If you are planning to use tea-cleanest, you need to install this package with extra dependencies. In this case employ:

(venv_teareduce) $ pip install 'teareduce[cleanest]'

In addition, in order to make use of the PyCosmic algorithm with tea-cleanest, you need to install that package. This can be done using:

(venv_teareduce) $ pip install git+https://github.com/nicocardiel/PyCosmic.git@test

Testing the installation

(venv_teareduce) $ pip show teareduce
(venv_teareduce) $ ipython
In [1]: import teareduce as tea
In [2]: print(tea.__version__)
0.6.7

Note that in PyPI there is a package called tea that provides utilities unrelated to teareduce. However, throughout the examples described in the documentation we are making use of import teareduce as tea to define a convenient alias.

Metadata

Release files for teareduce 0.7.9

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

Source distribution (sdist)

Source distribution for teareduce 0.7.9
File Size Uploaded
teareduce-0.7.9.tar.gz 124.7 kB Details

Built distribution (wheel)

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

Total release size: 269.8 kB

Release files / teareduce-0.7.9.tar.gz

Download URL teareduce-0.7.9.tar.gz
Size 124.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a543a93cf14be6c41ea7eb871219f1b0f48b79a911671c9ffe438180dbab172f
BLAKE2b-256 checksum
How to use checksums
9a878c020d5bc5603d10ad171c4181636ea2b2f2ad5846de15af80148feec1c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / teareduce-0.7.9-py3-none-any.whl

Download URL teareduce-0.7.9-py3-none-any.whl
Size 145.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff4b3a10d9abfefaf51b628f846f80dbb58aa5268e0104548197aafba2d54854
BLAKE2b-256 checksum
How to use checksums
a2c0cdf0c055d5b328402f5915d8a760c398c40c4bc30a7052f8d5d7b8b26b8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.7.9 This release

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

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