Skip to main content

Spectral reduction package

Project description

Note: currently scipy dependency is restricted to version 1.4.1. Versions 1.5.0 to 1.5.4 contain a bug in the fitting algorithms.

This library was created to apply doppler tomography to the Algol star system. This is still the main purpose for most of the code.

However, some parts are generic and can be used for any spectrum and star. This includes:

  • flux normalization using synthetic spectra:

    normalize_spectrum --help

    Some example synthetic spectra from the Pollux database are included in the source distribution of the package.

  • planing observations of variable stars:

    plan_observations --help

    This scripts generates ics file you can import into your calenders.

  • display spectra:

    fits_display1d --help
  • manipulate fits header:

    fits_setval --help
  • loading spectra from fits and text files

  • measuring absorption or emission profiles


There is a publication describing the flux normalization. If you publish anything using this code, please add a reference to:

     author = {Christian Brock},
     title = {{C}ontinuum {N}ormalization using {S}ynthetic {S}pectra}
     journal = {{SPEKTRUM} Journal of the Section Spectroscopy of the Society of German Amateur Astronomers},
     year = {2019},
     month = {Nov},
     volume= {55},

Project details

Download files

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

Files for algol-reduction, version 1.0.0b12
Filename, size File type Python version Upload date Hashes
Filename, size algol_reduction-1.0.0b12-py3-none-any.whl (90.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size algol_reduction-1.0.0b12.tar.gz (77.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page