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.0.tar.gz (15.1 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.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: algol_bayer-2025.12.0.tar.gz
  • Upload date:
  • Size: 15.1 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.0.tar.gz
Algorithm Hash digest
SHA256 9557040e6e29b9e44ae312c8fa9d3dd89c4ee65c095e9ec0c5f8e9746749b177
MD5 ff5eb3548d00634d22cbb4e9be1aae3c
BLAKE2b-256 11e1d65c0d14458d58d8e01b668b27048bc9d71de13edc5e84dc9fd9636ed1aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for algol_bayer-2025.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 defb9a66314495199df7d298d7251c3b1feb958b8630c90f86ea9eb1a95e5ab6
MD5 4529bb3638c0c46ed38d94b8d9e39df6
BLAKE2b-256 cb22947a66a42395073e448abc9ab48a2b065a7a66c53e8f6e71beb987386fed

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