Skip to main content

Burr

CI

Taking the grind out of calibration.

Autonomous calibration and observation scheduling for rapid-deploy SDA telescopes.

Burr converts an observatory into a space domain awareness asset within days of deployment. It autonomously collects twilight flats, photometric standards, calibration satellite passes, sky coverage maps, and lunar background measurements -- all scheduled by lighting condition and time-share priority.

Burr is built off of the descriptions in Gazak et al. 2025, "Rapid Deployment, Calibration, and Training of Optical Observatories for Space Domain Awareness", AMOS Conference -- see Citation below if you use this software.

Requirements

  • Python 3.13+
  • uv package manager (for development installs)

Install

Install from PyPI (package name astro-burr, imports as burr):

pip install astro-burr

Optional extras:

pip install "astro-burr[sk]"      # SensorKit (NATS-based) control
pip install "astro-burr[direct]"  # direct ASCOM hardware control
pip install "astro-burr[senpai]"  # SENPAI image-processing integration
pip install "astro-burr[notify]"  # Slack notifications

Development install

This repo uses uv. First install uv, then:

make sync
source .venv/bin/activate

Configuration

Burr separates where you observe from how you observe:

  • A site file (deploy/<site>/site.yaml) describes the observatory: coordinates, ASCOM/PWI4 hardware addresses, SensorKit entity names, notifications.
  • A mode preset (deploy/presets/*.yaml) describes the observing strategy: which task sources run, exposure ranges, and scheduling balance.

You compose them at run time with --site + --preset. See deploy/example/ for a worked example and deploy/presets/ for the bundled modes (sda, science, survey).

Site section Purpose
site Coordinates and name (timezone auto-detected)
hardware ASCOM device addresses, ports, active flags
sk SensorKit entity names (for burr-sk)
weather Rain/humidity thresholds and recovery timers
notifications Slack channel for status updates
runtime Output directory

Scheduling strategies

Each task source has a scheduling strategy:

  • time_share -- target percentage of observing time (e.g. photometry 50%, coverage 30%)
  • interval -- minimum minutes between runs (e.g. calsats every 10 min)
  • one_shot -- run once per lighting condition (e.g. twilight flats)

Task sources

Source What it collects Typical window
twilight_flats Flat field frames with auto-exposure adjustment Nautical twilight
calsats Calibration satellite TLE tracking passes Twilight + night
photometric_standards Landolt standard star observations with streaks Night
coverage Sparse sky maps (Fibonacci sphere sampling) Night
lunar_background Background measurements at angular separations from moon Night

Quick Start

Direct mode (ASCOM hardware control)

burr-direct --site deploy/example/site.yaml --preset deploy/presets/sda.yaml

Connects to mount, camera, dome, and weather sensor via ASCOM Alpaca / PWI4. Runs all night autonomously -- opens dome at twilight, schedules observations by priority, closes dome at dawn or if weather deteriorates.

Simulation mode

Set hardware devices to active: false in your site file (or point them at the bundled ASCOM/PWI4 simulators under deploy/):

burr-direct --site deploy/example/site.yaml --preset deploy/presets/survey.yaml

SensorKit mode (NATS-based control)

burr-sk --site deploy/example/site.yaml --preset deploy/presets/sda.yaml

Runs as a SensorKit program/controller pair, integrating with the SensorKit agent framework for multi-system orchestration. Requires the sk extra. burr-sk --bootstrap --host <agent> discovers SK entities + site position from a running agent and emits a site.yaml fragment.

Safe shutdown

burr-shutdown --site deploy/example/site.yaml --preset deploy/presets/sda.yaml

Closes dome, slews to a bright star for verification, parks mount, disconnects.

Project Structure

src/burr/
    bootstrap.py              # Explicit engine init (no import-time side effects)
    cli/                      # CLI entrypoints (direct, shutdown, sk)
    core/                     # Config, constants, logging, notifications
    models/                   # Pydantic models (tracking, observation, site, run, hardware)
    task_source/              # Observation generators implementing the TaskSource protocol
    scheduler/                # Shared scheduler (strategies, slots, factory)
    hardware/
        factory.py            # Device creation from config
        direct/               # ASCOM control (runner, executor, weather monitor)
        sk/                   # SensorKit integration (program, controller, tasks)
    run/                      # Run state management and persistence
    utils/                    # Astronomy, ephemeris, SpaceTrack utilities

Credentials

Burr reads credentials from the environment (or a .env file), never from config:

  • SPACETRACK_USERNAME / SPACETRACK_PASSWORD -- for SpaceTrack TLE downloads (calsats)
  • SLACK_BOT_TOKEN -- for the optional Slack notifications (notify extra)

Output

Each night produces a run directory at {output_dir}/{site}_{YYYYMMDD}/:

example_20251201/
    data/           # FITS files (flats, science frames, darks)
    plots/          # Coverage maps, lighting schedules
    metadata/       # run_state.json (resumable)
    logs/           # Application logs
    catalogs/       # TLE catalogs

Runs auto-resume if interrupted. Starting again on the same night picks up where it left off.

Citation

Burr implements the system described in:

Gazak, J. Z., Swindle, R., Morales, S., Phelps, M., Iott, K., Blackhurst, E., & Fletcher, J. 2025, "Rapid Deployment, Calibration, and Training of Optical Observatories for Space Domain Awareness", Proceedings of the Advanced Maui Optical and Space Surveillance Technologies (AMOS) Conference. doi:10.64861/XGPY2184

If you use Burr in your research, please cite this paper:

@inproceedings{Gazak2025Burr,
  title     = {Rapid Deployment, Calibration, and Training of Optical Observatories for Space Domain Awareness},
  author    = {Gazak, J. Zachary and Swindle, Ryan and Morales, Sierra and Phelps, Matthew and Iott, Kevin and Blackhurst, Eric and Fletcher, Justin},
  booktitle = {Proceedings of the Advanced Maui Optical and Space Surveillance Technologies (AMOS) Conference},
  year      = {2025},
  doi       = {10.64861/XGPY2184}
}

License

MIT

Metadata

Release files for astro-burr 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astro-burr 0.3.4
File Size Uploaded Provenance Actions
astro_burr-0.3.4.tar.gz 178.9 kB Without provenance Details for astro_burr-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for astro-burr 0.3.4
File Interpreter ABI Platform Actions
astro_burr-0.3.4-py3-none-any.whl Python 3 none any Details for astro_burr-0.3.4-py3-none-any.whl

Total release size: 387.4 kB

Release files / astro_burr-0.3.4.tar.gz

Download URL astro_burr-0.3.4.tar.gz
Size 178.9 kB
Tags Source
SHA-256 checksum
How to use checksums
854e43e65196e37723baf407fc84c521f8264e89e86b582e414fb4d52cfa0b8e
BLAKE2b-256 checksum
How to use checksums
43e41f7a9df2e6d3ff453227ed4d681f59fe0a6c90d15f4341f21deed95d6ee2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release files / astro_burr-0.3.4-py3-none-any.whl

Download URL astro_burr-0.3.4-py3-none-any.whl
Size 208.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33ad99ffb6c6ab22d37e4eaf839b21cc46e2f95d062eca5989e6fc40d345bb56
BLAKE2b-256 checksum
How to use checksums
35c873a5af9530a1cda5961330a8f73acd4bc4742dd4b61e217b3cdd8107e24a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Security for astro-burr 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page