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.1.tar.gz (29.4 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.1-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ml4gw_buoy-0.4.1.tar.gz
Algorithm Hash digest
SHA256 02077551b935382b38f21178b54039c8555ac3e33e65c5dc1cc90e778e99d832
MD5 d8f7072bd94425023fc1e908384d8541
BLAKE2b-256 d3849403b00c41ffa7aab6da371b5b9eb544c76cc53a1c2c17e2baa0d95ccff7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ml4gw_buoy-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 239711d69cea78dc751626cdcead634d0c2cb80132b6fc832d9045b80e5ca84a
MD5 984830989f0788b58bd9b335bd2a184c
BLAKE2b-256 832b73c9b22b628e42e58284547c2a2fd0b1ae756e7e95badb3c9484c7e83bef

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