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.3.6.tar.gz (751.4 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.3.6-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pixelemon-0.3.6.tar.gz
Algorithm Hash digest
SHA256 74882a2b81cb54c2d26c9febcdc7c48f4e1c4f157e3cabb245e7a1dc2952562b
MD5 b0a0bfe89a798f19c36a63538e1cb546
BLAKE2b-256 a450ef0a62a4d791efd0fb83913b4782f31450a969c0c3ac8b0cef52b5d65892

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pixelemon-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 20.3 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.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 399db61fb6ec919bde9dcb0a05092e7b434c59e568df09c25446b832f2cb74da
MD5 d221481d836acd77c1151f1c03b2eee4
BLAKE2b-256 9f891f9de1b931438a851c39398a7a58a3e9b840824541457eb3b1b5544b159e

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