Skip to main content

Citra's basic image processing package

Project description

pixelemon

Citra's Python plate solver using Tetra3 via cedar-solve.

Features

  • Define and configure telescope sensors and optics
  • Load and process FITS images
  • Plate solve images using Tetra3

Installation

Install via pip (requires Python 3.9+ and <3.13):

pip install pixelemon

Or for development:

git clone https://github.com/citra-space/pixelemon.git
cd pixelemon
pip install -e .[dev]

Example Usage

from pathlib import Path
from pixelemon.sensors import IMX174
from pixelemon.optics import WilliamsMiniCat51
from pixelemon import Telescope, TelescopeImage, TetraSolver

TetraSolver.high_memory() # IMPORTANT <----

sensor = IMX174()
optical_assembly = WilliamsMiniCat51()
telescope = Telescope(sensor=sensor, optics=optical_assembly)

img_path = Path("./local/2025-10-17-021315.fits")
image = TelescopeImage.from_fits_file(img_path, telescope)

image.crop(10.0) # optional
solve = image.plate_solve

Requirements

License

MIT

Authors

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

pixelemon-0.5.0.tar.gz (752.0 kB view details)

Uploaded Source

Built Distribution

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

pixelemon-0.5.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file pixelemon-0.5.0.tar.gz.

File metadata

  • Download URL: pixelemon-0.5.0.tar.gz
  • Upload date:
  • Size: 752.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for pixelemon-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5a19a0ee9c5eb85cefb0a07735c36ba5740cee7db5f171a0a7fe5ab518387174
MD5 2ed12918536e1acae9b0d71a90cf920c
BLAKE2b-256 d2c32be1e852a3b92fa653fe75e7d022a09b7d8fc52564716c52d7764d360802

See more details on using hashes here.

File details

Details for the file pixelemon-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pixelemon-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for pixelemon-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 150b8d9dfb072d1496631020e18dc84940de044cc236a2d91799f906baf7cf34
MD5 60f2da169ee795cc3425a7cb100d2da3
BLAKE2b-256 0c4c6e05f6e30c1c07d5dc2016bcb351ad85049ff38151ce978a429851001d40

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