Skip to main content

Deploy Aframe and AMPLFI models over open data

Project description

Installation

This library is pip installable with

pip install ml4gw-buoy

It is recommended that you install buoy in a virtual environment such as conda.

Usage

The function of this library is to run trained Aframe and AMPLFI models over a gravitaional wave event reported by the LIGO-Virgo-KAGRA collaboration during their third observing run, O3.

Note: the trained models will be downloaded from HuggingFace and require about 320 MB of space in total.

To produce model outputs, first identify an event of interest. This can either be a catalog event, e.g., from GWTC-3, formatted like GW190521, or it can be a G event or superevent from GraceDB, formatted like G363842 or S200213t. Note that LIGO credentials are required to use the latter option. To analyze events from data that is not yet released, a container with frame-discovery dependencies can be pulled with apptainer pull /home/aframe/images/aframe/buoy.sif docker://ghcr.io/ml4gw/buoy/buoy:v0.4.0.

Once an event has been identified, run:

buoy --events <EVENT_NAME> --outdir <OUTPUT_DIRECTORY>

The output directory is structured as follows will contain a directory matching the name of the event. Inside, there will be a data directory containing data created during the analysis, and a plots directory containing Aframe's response to the event as well as a skymap and corner plot from AMPLFI.

Multiple events can be specified at once, e.g.:

buoy --events '["GW190828_063405", "GW190521", "S200213t"]' --outdir <OUTPUT_DIRECTORY>

About 10 MB of space is required for each event.

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

ml4gw_buoy-0.4.0.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

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

ml4gw_buoy-0.4.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file ml4gw_buoy-0.4.0.tar.gz.

File metadata

  • Download URL: ml4gw_buoy-0.4.0.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for ml4gw_buoy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 19084ef8ec18de6f54b711ba7dfd3b580aa280dd281c850cc35e9b4180848f82
MD5 769df5d33fa18139e4637f7e92dd30ec
BLAKE2b-256 35dcfd812cb18687717c5c6eff5d822855ddafd2d627780daeed61ee3be958a7

See more details on using hashes here.

File details

Details for the file ml4gw_buoy-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: ml4gw_buoy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for ml4gw_buoy-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efd0048d609100ef3aa003d38681940a51a3e94eb03a644cbb180054a561b623
MD5 4fcad274658bba94c4ddd4fd3da9ddaa
BLAKE2b-256 2d6e941cef5265b2b145f72f18c43f62246455b4f6a8b53e103d4c487462bcf9

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