Skip to main content

Utilities for astronomical data reduction

Project description

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.

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

teareduce-0.7.2.tar.gz (117.3 kB view details)

Uploaded Source

Built Distribution

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

teareduce-0.7.2-py3-none-any.whl (137.1 kB view details)

Uploaded Python 3

File details

Details for the file teareduce-0.7.2.tar.gz.

File metadata

  • Download URL: teareduce-0.7.2.tar.gz
  • Upload date:
  • Size: 117.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for teareduce-0.7.2.tar.gz
Algorithm Hash digest
SHA256 0057c6cbe20616e18b7f9cd7c05fe6b9802b66bda3d47c14d6b0ecc20901a590
MD5 4205f5f80b064ee3e7f313969a342702
BLAKE2b-256 f3c6bdbcf2e3b1b67c33ad810cc7cc21f21911285a0ee5a9b71829ba75fddee0

See more details on using hashes here.

File details

Details for the file teareduce-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: teareduce-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 137.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for teareduce-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23a269fc470f96d2611f5c94f2a446bb544a841923be953cef488e023ca21220
MD5 4a46f7ebea39c1b7b6994869cdaca34a
BLAKE2b-256 90c72d733d4628beb85c5ad3b402fc24cb02edf4e20065d4998dd751b4d02d4d

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