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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pixelemon-0.7.0.tar.gz
  • Upload date:
  • Size: 986.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.7.0.tar.gz
Algorithm Hash digest
SHA256 cfbf2a20e1b20507ed668c2469526bc99d10e00122538319b778d55570e41c17
MD5 66d7c3461f32d8d0009fc8f7745aed5d
BLAKE2b-256 79ea049807b18e9ba16eda66b1addac4db444af6e885b334324960570f9b2c43

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pixelemon-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 26.6 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b33fe371406a61d1ec25c455581222f5231732e4b4b7a80281b1186b50260d2
MD5 e7fcc5ac4c7fb7f8db720067ace434b0
BLAKE2b-256 2fd86c0e020e0a8757a676bf7ca830e96fadb4cf392bfd4871eb13c37255049b

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