Skip to main content

A data reduction package for echelle spectrographs

Project description

Build Status Documentation Status Updates

PyREDUCE

PyReduce is a port of the REDUCE package to Python3. It is a complete data reduction pipeline for the echelle spectrographs, e.g. HARPS or UVES.

Detailed documentation is available at ReadTheDocs.

Installation

PyReduce can be installed using pip using the following command: pip install pyreduce-astro

How To

PyReduce is designed to be easy to use, but still be flexible. examples/uves_example.py is a good starting point, to understand how it works. First we define the instrument, target, night, and instrument mode (if applicable) of our reduction. Then we tell PyReduce where to find the data, and lastly we define all the specific settings of the reduction (e.g. polynomial degrees of various fits) in a json configuration file. We also define which steps of the reduction to perform. Steps that are not specified, but are still required, will be loaded from previous runs if possible, or executed otherwise. All of this is then passed to pyreduce.reduce.main to start the reduction.

In this example, PyReduce will plot all intermediary results, and also plot the progres during some of the steps. Close them to continue calculations, if it seems nothing is happening. Once you are statisified with the results you can disable them in settings_UVES.json (with "plot":false in each step) to speed up the computation.

Papers

The original REDUCE paper: doi:10.1051/0004-6361:20020175

A paper describing the changes and updates of PyReduce is in preperation.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyreduce-astro-0.3b0.tar.gz (989.9 kB view details)

Uploaded Source

File details

Details for the file pyreduce-astro-0.3b0.tar.gz.

File metadata

  • Download URL: pyreduce-astro-0.3b0.tar.gz
  • Upload date:
  • Size: 989.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.6.7

File hashes

Hashes for pyreduce-astro-0.3b0.tar.gz
Algorithm Hash digest
SHA256 b3611038b681e7c3f5de863e660304c6815d688b37b364564de94c851d496abc
MD5 f2e6551f03f9960a2a689e764a2bf734
BLAKE2b-256 97d7828c30ca4cea52db21de51fa5965c1f62e6f85646efc13067ba6bad3d920

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