Skip to main content

Swift BAT GUANO imaging and mosaic pipeline.

Project description

BAT Glimpse

Install

After publishing to PyPI:

python -m pip install bat-glimpse

From the repository root before publishing:

python -m pip install .

Developer Mode

git clone <repository-url>
cd BAT-GLIMPSE
python3.10 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .

Editable mode links the installed command to this checkout, so changes under batglimpse/ are picked up without reinstalling the package.

Run the local checkout with:

bat-glimpse --workdir /path/to/workdir --trigtime 2026-01-01T00:00:00.000

or:

python -m batglimpse --workdir /path/to/workdir --trigtime 2026-01-01T00:00:00.000

The pipeline also expects the Swift/BAT analysis environment required by batanalysis to be configured, including HEASoft/CALDB where applicable. BAT Glimpse uses BatAnalysis==2.1.0 and requires Python 3.10 or newer.

Run

bat-glimpse --workdir /path/to/workdir --trigtime 2026-01-01T00:00:00.000

You can also run the package module directly:

python -m batglimpse --workdir /path/to/workdir --trigtime 2026-01-01T00:00:00.000

If --trigtime is omitted, BAT Glimpse reads trigtime from <workdir>/config.json.

Main options

  • --workdir: required working directory for inputs and outputs.
  • --trigtime: trigger time in YYYY-MM-DDTHH:MM:SS.sss format.
  • --tmin and --tmax: explicit ad-hoc analysis window.
  • --pipe: imaging or mosaic for ad-hoc analysis.
  • --ext_obsid: override the GUANO obsid.
  • --healpix_nside: mosaic HEALPix resolution.
  • --skyview_nprocs: processes used while creating skyviews.
  • --mosaic_nprocs: processes used while mosaicing.

Outputs

BAT Glimpse writes logs, CSV detections, maps, and diagnostic plots into the working directory. The main detection tables are imaging.csv and mosaic.csv.

Authentication

Set ECHO_API_TOKEN if Echo trigger metadata is required:

export ECHO_API_TOKEN=your-token

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

bat_glimpse-0.1.0.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

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

bat_glimpse-0.1.0-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bat_glimpse-0.1.0.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for bat_glimpse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 23e9835aa09dfdc77fa98058c5e4f011cb17a9dd3314ddd2fe67e41b4009fdce
MD5 e6761e5a0f7d42ebc289a85ff34d0c90
BLAKE2b-256 7b1fcbf31b6fe3da72fa702196b97e5a7fa90f9299381b52cdcfe230a1df9b6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bat_glimpse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for bat_glimpse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de869e4d77b770778a7076ec608e29768c74c91c93eefe627f0ff0461ca1b57c
MD5 cef3f3ec8213dc178a6eac36e2695603
BLAKE2b-256 38fa7e54ea31c13279fa71714df175114f3ef2c81a84ef07235392eb6d27ba7b

See more details on using hashes here.

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