seiza-cli 0.2.1

Command-line interface for seiza: star detection, plate solving, and dataset management
seiza-cli-0.2.1 is not a library.

seiza-cli

The seiza command-line tool: star detection, hinted and blind plate solving, and star/object dataset management for astrophotography. The library lives in the seiza crate.

cargo install seiza-cli

Solving

# Hinted: approximate center (or FITS RA/DEC headers) plus pixel scale
seiza solve image.jpg --data stars.bin --ra 324.8 --dec 57.5 --scale 2.8
seiza solve light.fits --data stars.bin --scale 1.45

# Blind: no position, just a plausible scale range
seiza solve-blind image.jpg --data stars.bin --min-scale 0.5 --max-scale 15

# Annotate detections or list objects in a solved field
seiza detect image.jpg --annotate out.png
seiza solve image.jpg --data stars.bin ... --objects objects.bin

Datasets

The quickest route is the prebuilt, SHA-256-verified sets hosted at downloads.seiza.fyi (Tycho-2 lite, Gaia DR3 G≤15, the unified object catalog, and a nightly-refreshed transient list):

seiza download-data prebuilt --output data
seiza download-data prebuilt --output data --file objects.bin --file transients.bin

Building from primary sources stays supported for custom depths, epochs, or tile granularity — note the Gaia TAP download alone can take many hours:

seiza download-data tycho2 --output raw/tycho2
seiza build-data tycho2 --input raw/tycho2 --output stars-lite.bin

seiza download-data gaia --output raw/gaia        # Gaia DR3 via TAP, resumable
seiza build-data gaia --input raw/gaia --output stars-gaia.bin

seiza download-data objects --output raw/objects
seiza build-data objects --input raw/objects --output objects.bin
seiza download-data transients --output raw/transients
seiza build-data transients --input raw/transients --output transients.bin

FITS files are read natively (see seiza-fits) with automatic autostretch before detection, and RA/DEC hints taken from headers.

License

Apache-2.0