File size: 1,683 Bytes
facd872
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# GWKokab O4a Example Run

This repository provides a minimal working example demonstrating how to perform gravitational-wave population inference with GWKokab, a JAX-based framework for hierarchical Bayesian inference of compact binary populations.

The purpose of this repository is to help new users learn how to run GWKokab through the command-line interface (CLI) by reproducing an O4a population analysis setup. The repository includes example configuration files, scripts, and a complete workflow that can be used as a starting point for custom analyses.

## Contents

- Example GWKokab configuration files
- O4a-style population inference setup
- Command-line execution examples
- Post-processing and plotting scripts

## Quick Start

Run the population inference using the following bash script. It has all the required configs, you can read this file, names are self-explantory.

`./run.sh`

The inference results will be saved in:

`inference_data.hdf5`

Make plots to see the inference using following commnad line. It will create all the diagnostic plots in figs, and `report.html`.

`gwk_report`

To learn about any command line in GWkokab use help for instance `gwk_report -h` or `discrete_subpopulation -h`.

## Purpose

This example is intended as a tutorial and reference workflow for users who want to:

- Learn the GWKokab CLI
- Understand GWKokab configuration files
- Reproduce an O4a-style population analysis
- Build their own population inference studies

## GWKokab

GWKokab is an open-source framework for gravitational-wave population inference, supporting flexible population models for mass, spin, redshift, eccentricity, and multi-source populations.