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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59b83287cee495443173e795e04be2896f45f905b930f7d79a7f0bf11909367c
|
|
| MD5 |
c8d132b49311e4f091ef3cd07e979e18
|
|
| BLAKE2b-256 |
41d18d8700789ab71cc4911a983a9437e0ab0e70cacbae9dab9fa46c89f9bc3d
|
Provenance
The following attestation bundles were made for astrooracle-0.1.0.tar.gz:
Publisher:
release.yml on dalozedidier-dot/AstroOracle
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
astrooracle-0.1.0.tar.gz -
Subject digest:
59b83287cee495443173e795e04be2896f45f905b930f7d79a7f0bf11909367c - Sigstore transparency entry: 924391112
- Sigstore integration time:
-
Permalink:
dalozedidier-dot/AstroOracle@fb884892a553a3b51d9fb2d4f4ffb46f204f31ac -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dalozedidier-dot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fb884892a553a3b51d9fb2d4f4ffb46f204f31ac -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78b727713e42d8031db60600ad3fb3875833f4f3fef3e1383827de7c7bfd7641
|
|
| MD5 |
f37f2fd1e5bf68abd1d0d9ec1e2cd780
|
|
| BLAKE2b-256 |
c8e8ee1bab16ade0b252bafd131d43a06acdf81f731924c9927979a5a720fc66
|
Provenance
The following attestation bundles were made for astrooracle-0.1.0-py3-none-any.whl:
Publisher:
release.yml on dalozedidier-dot/AstroOracle
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
astrooracle-0.1.0-py3-none-any.whl -
Subject digest:
78b727713e42d8031db60600ad3fb3875833f4f3fef3e1383827de7c7bfd7641 - Sigstore transparency entry: 924391115
- Sigstore integration time:
-
Permalink:
dalozedidier-dot/AstroOracle@fb884892a553a3b51d9fb2d4f4ffb46f204f31ac -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dalozedidier-dot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fb884892a553a3b51d9fb2d4f4ffb46f204f31ac -
Trigger Event:
workflow_dispatch
-
Statement type: