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.4.2.tar.gz (751.9 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.4.2-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pixelemon-0.4.2.tar.gz
Algorithm Hash digest
SHA256 c294e65254c3738d9ec9e94760188845f26bcc2ee8fe743cfd4fe5718881cf7a
MD5 9a47dd550aba12b638a4d7097174606e
BLAKE2b-256 c63273330e260f7258b752155802a793fcddc0c471e84648ed44207baaeffa07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pixelemon-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 20.8 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.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c50a8fb5d1fb5bf8ef938ab85369df0f0967d3ba7d26bf4ac8fcc5c8392ec9fa
MD5 4bdd2999959527a9ddd2e231b52f76cb
BLAKE2b-256 bc9292168e53e2dd7196590a2adce8054547e2bfaffee6b4b8c4363404c5d5aa

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