Skip to main content

Arcsecond plate solver based on astrometry.net indexes

Project description

Arcsecond Service: Platesolver (astrometry)

This repository provides a FastAPI plate-solving service for Arcsecond, based on astrometry.net indexes and Neuromorphics Systems' astrometry Python package.

Astrometry index files (~10 GB) are baked into the Docker image at build time under /opt/astrometry. No downloads occur at container startup.

Run with Docker

docker run --rm \
  -p 127.0.0.1:8900:8900 \
  arcsecond-service-platesolver-astrometry:latest

Run Natively (Linux/macOS)

python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install .
python -m arcsecond_service_platesolver.main

Run Natively (Windows)

  1. Install Python 3.12+.
  2. Install Microsoft C++ Build Tools (Desktop development with C++).
  3. Install Rust (rustup), because astrometry may need a local native build when no matching wheel is available.
  4. This project pins Windows installs to a Windows-compatible astrometry fork commit from arcsecond-io/astrometry.
py -3.12 -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install .
python -m arcsecond_service_platesolver.main

Configuration

  • HOST: bind host (default 0.0.0.0).
  • PORT: bind port (default 8900).
  • LOG_LEVEL: Uvicorn log level (default info).
  • ARCSECOND_PLATESOLVER_SCALES_5200: comma-separated scale numbers for the 5200 series (default 2,3,4,5,6).
  • ARCSECOND_PLATESOLVER_SCALES_4100: comma-separated scale numbers for the 4100 series (default 7,8,9,10,11).
  • ARCSECOND_PLATESOLVER_SCALES_4200: comma-separated scale numbers for the 4200 series (default 6,7,8). Set to empty string to disable a series entirely.

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

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file arcsecond_service_platesolver_astrometry-1.2.4.tar.gz.

File metadata

File hashes

Hashes for arcsecond_service_platesolver_astrometry-1.2.4.tar.gz
Algorithm Hash digest
SHA256 2ed11b30fe42f1c7e86587fa71803c7e7076781b4e3b5f65ec828cc05767c7f5
MD5 4457a859cf509e00495cefdd8e57a93a
BLAKE2b-256 d7369e16a4dbfc2e69679691428557fd451836df02bfd78ef10e681284c44836

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcsecond_service_platesolver_astrometry-1.2.4.tar.gz:

Publisher: publish-pypi.yml on arcsecond-io/arcsecond-service-platesolver-astrometry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arcsecond_service_platesolver_astrometry-1.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for arcsecond_service_platesolver_astrometry-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d6bcaefc8fefe40246edbf38de8d0c9582861216f666d5f2c909239f7e6b370e
MD5 7225b006c84ee15c2a87d951dd5b5ce6
BLAKE2b-256 1f3f5e30cef6c0f736efa2f64db46416f828df72a651d40c7d92a5fc34ff56b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcsecond_service_platesolver_astrometry-1.2.4-py3-none-any.whl:

Publisher: publish-pypi.yml on arcsecond-io/arcsecond-service-platesolver-astrometry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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