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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pixelemon-0.3.7.tar.gz
  • Upload date:
  • Size: 751.5 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.7.tar.gz
Algorithm Hash digest
SHA256 497a0a70add51c7b2c9e62a3dfb21dcd864aa97c60204bf49eb16526f15aa4b4
MD5 55862b4a20a5d4f1419db49e16c9f84e
BLAKE2b-256 9b05eb197c3a1dce4b25b7bc2249e48031a46603d20656cceef2737792ebcfcc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pixelemon-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 20.5 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 98695e384cdeadbc2bc8ecd3b29688de0f616b4e3ade822cfc821146da12466d
MD5 f1941d14a2be93c392e3542b6392a866
BLAKE2b-256 40466aa00230e6f41bd3c3843fd83c682640b8ef5835b4806acfd19350fb0496

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