Skip to main content

AstroOracle: active learning oracle for astronomical anomaly triage (SkyView cutouts + annotations + retrain hooks).

Project description

AstroOracle

AstroOracle is an active learning “oracle” for astronomical anomaly triage.

  • Reads candidate detections from a Parquet file.
  • Ranks them by uncertainty + optional embedding diversity.
  • Pulls multi-survey cutouts from SkyView.
  • Annotates via CLI (matplotlib) or Jupyter (ipywidgets + Plotly).
  • Logs events in append-only JSONL.
  • Optionally triggers retraining.

Install (editable)

python -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -e ".[plotly,watch,notebook]"

Quickstart (CLI)

Generate sample candidates:

python examples/sample_candidates.py

Run oracle:

astrooracle run --candidates candidates.parquet --interval 300 --n-query 6

Headless + PNG export:

astrooracle run --no-gui --save-cutouts cutouts/ --candidates candidates.parquet

Jupyter UI

jupyter lab

Open examples/oracle_notebook.ipynb.

Watch mode (watchdog)

astrooracle watch --candidates candidates.parquet

Batch HTML export

astrooracle batch-html --candidates candidates.parquet --out-dir batch_out/ --n-query 60

Open batch_out/index.html and export annotations from the page.

License

MIT

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

astrooracle-0.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

astrooracle-0.1.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file astrooracle-0.1.0.tar.gz.

File metadata

  • Download URL: astrooracle-0.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for astrooracle-0.1.0.tar.gz
Algorithm Hash digest
SHA256 59b83287cee495443173e795e04be2896f45f905b930f7d79a7f0bf11909367c
MD5 c8d132b49311e4f091ef3cd07e979e18
BLAKE2b-256 41d18d8700789ab71cc4911a983a9437e0ab0e70cacbae9dab9fa46c89f9bc3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrooracle-0.1.0.tar.gz:

Publisher: release.yml on dalozedidier-dot/AstroOracle

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

File details

Details for the file astrooracle-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: astrooracle-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for astrooracle-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78b727713e42d8031db60600ad3fb3875833f4f3fef3e1383827de7c7bfd7641
MD5 f37f2fd1e5bf68abd1d0d9ec1e2cd780
BLAKE2b-256 c8e8ee1bab16ade0b252bafd131d43a06acdf81f731924c9927979a5a720fc66

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrooracle-0.1.0-py3-none-any.whl:

Publisher: release.yml on dalozedidier-dot/AstroOracle

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