Skip to main content

bayer-masked spectroscopic image reduction package

Project description

Capture, display and convert RAW DSLR astronomical images

This package was developed for astro-spectroscopic student projects at the Dresden Gönnsdorf observatory.

There are method to

Installation

apt-get install gphoto2
pip install algol-bayer

Capture DSLR raw images

Capture and display as histograms

Capture a sequence of DSLR raw images using increasing exposure times and display the images as histogram.

bayer_capture_histograms.sh

Capture and display as spectra

Capture a sequence of DSLR raw images and try to display them as spectra.

bayer_capture_spectra.sh

Capture and display as image

Capture a sequence of DSLR raw images and display them as RGB images.

bayer_capture_images.sh

Display raw DSLR images and spectra

Display raw DSLR image

alt text

bayer_display_image --help

Display raw DSLR image as histogram

alt text

bayer_display_histogram --help

Display raw DSLR image as spectrum

There is a published paper explaining how this works. It can be found online or in the docs/article folder.

alt text

bayer_display_spectrum --help

Display fits images and spectra

Display fits image as histogram

alt text

fits_display_histogram --help

Display fits image as spectrum

alt text

There is a published paper explaining how this works. It can be found online or in the docs/article folder.

fits_display_spectrum --help

Dark and flat correction

An example of how to do this can be found in tests/test_darkflat.py

Create master dark

... or a master-flat-dark from a set of dark images.

fits_create_master_dark --help

Create master flat

... from a master-flat-dark and a set of flat images.

fits_create_master_flat --help

Apply master dark and master flat to light images

fits_apply_darks_and_flats --help

Conversions

Debayer a 2d into a 3d fits file

fits_debayer --help

Links

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

algol_bayer-2025.12.1.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

algol_bayer-2025.12.1-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file algol_bayer-2025.12.1.tar.gz.

File metadata

  • Download URL: algol_bayer-2025.12.1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for algol_bayer-2025.12.1.tar.gz
Algorithm Hash digest
SHA256 f52f6cf86e0de18650056d380f4dd1f1a6a3e6dccfc10ce33b07232fc8845700
MD5 c35074cf12d6ad30210dd79fe19fa01d
BLAKE2b-256 7c40233e51639d461b8a6b1e3ca13cdb3cab0a888d163cdd91537415a50a664c

See more details on using hashes here.

File details

Details for the file algol_bayer-2025.12.1-py3-none-any.whl.

File metadata

File hashes

Hashes for algol_bayer-2025.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f3fd16da4c9d360990fc1ef5b9d8dee60fc8d223c752abe55597e65fe2f678b
MD5 da398a6aceac0cd84585eb2be4223990
BLAKE2b-256 20c7d64592ab93d410ac35fef6a7eb7f4e106be01e29dce8067fbbb47ac797c9

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