CLI reference¶
Every option of every mode, generated from gwtc_analysis/cli.py by
python gwtc_analysis/gen_readme_cli_tables.py. Each mode also has its own help:
gwtc_analysis <MODE> -h.
catalog_statistics¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--catalogs |
`` | Catalog keys, space-separated (e.g. GWTC-1 GWTC-2.1 GWTC-3 GWTC-4 GWTC-4.1 GWTC-5). ALL takes them all except the updates (GWTC-4.1, update of GWTC-4), which are used only when named. |
--out-events |
catalogs_statistics.tsv |
Output TSV path (per-event table). |
--out-report |
catalogs_statistics.html |
Output HTML report path. |
--include-detectors |
False |
Include detector network via GWOSC v2 calls. |
--include-area |
False |
Compute sky localization area Axx if skymaps are available. |
--area-cred |
0.9 |
Credible level for sky area: 0.9→A90, 0.5→A50, 0.95→A95. |
--plots-dir |
cat_plots |
Directory for plots (default: cat_plots). |
--data-repo |
zenodo |
Where the skymaps are read from: zenodo (the release tarballs); s3 (the MinIO mirror, faster) or galaxy (staged collections, else the public usegalaxy.org history), when they hold the maps of the selected release version, else Zenodo (a staged collection must hold them). |
--zenodo-version |
`` | Read an older Zenodo release version of a catalog instead of the latest, with any --data-repo (e.g. --zenodo-version GWTC-3=v2 GWTC-4=v1). Versions are numbered from the oldest (v1); list them with the zenodo_releases mode. |
rates¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--out-rates |
merger_rates.tsv |
Output TSV of rates per population. |
--out-events |
merger_rates_events.tsv |
Output TSV of the events counted. |
--out-report |
merger_rates.html |
Output HTML report path. |
--plots-dir |
rates_plots |
Directory for plots (default: rates_plots). |
--sensitivity-release |
gwtc5 |
LVK search-sensitivity release retrieved automatically from Zenodo: gwtc5 = GWTC-5.0 cumulative, real O3 + O4a + O4b injections (~900 MB); gwtc4 = GWTC-4.0 cumulative, real O3 + O4a injections (~400 MB). |
--sensitivity-file |
`` | Local LVK injection HDF file to use instead of --sensitivity-release. |
--far-threshold |
1.0 |
FAR threshold [1/yr] for both injections and events. |
--ns-max-mass |
2.5 |
Maximum neutron-star mass [Msun] separating NS from BH. |
--bbh-kappa |
2.9 |
BBH rate evolution R ∝ (1+z)^kappa. |
--bbh-z-ref |
0.2 |
Redshift at which the evolving BBH rate is reported. |
--catalogs |
`` | Catalog keys (GWTC-1 GWTC-2.1 GWTC-3 GWTC-4 GWTC-4.1 GWTC-5, or ALL): events and injections are restricted to their observing runs (GWTC-1: O1-O2, GWTC-2.1: O3a, GWTC-3: O3b, GWTC-4: O4a, GWTC-4.1: O4a, GWTC-5: O4b). Default: the runs of the real-injection mixture (O3 onward). |
--snr-threshold |
10.0 |
Network SNR threshold for the semi-analytic O1+O2 injections (with GWTC-1). |
--mass-model |
plp |
Mass model: plp = Power Law + Peak (GWTC-3 values unless --population-posterior); mltp = Multi Peak, two peaks near 10 and 35 Msun (needs --population-posterior); fullpop4 = FullPop-4.0, all compact binaries in one distribution, split into BNS, NSBH and BBH (GWTC-4.0 medians unless --population-posterior). |
--population-posterior |
`` | Samples of the population: a hubble_constant work directory of the same --mass-model, or its posterior TSV file. The BBH rate (with fullpop4, all the rates) is then computed over them. |
--n-draws |
200 |
Posterior draws with --population-posterior. |
--data-repo |
zenodo |
Where the search-sensitivity injections are downloaded from: zenodo, their public sources (Zenodo, LIGO DCC); s3, the MinIO mirror (faster); or galaxy, the public usegalaxy.org history. The files are the same: a file the mirror does not have comes from its public source. |
hubble_constant¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--method |
spectral |
spectral (mass spectrum), dark (mass spectrum + galaxy catalog), bright (identified host) or joint (product of independent results). |
--stages |
['prepare', 'sample', 'combine', 'reweight', 'report'] |
Stages to run (default: all). |
--workdir |
`` | Work directory (inputs, runs, posterior); default hubble_constant_ |
--out-report |
`` | Output HTML report path; default hubble_constant_ |
--out-summary |
`` | Output TSV of the posterior summary; default hubble_constant_ |
--sensitivity-release |
gwtc4 |
LVK search-sensitivity release (and matching catalogs and runs): gwtc4 = GWTC-4.0 cumulative, semi-analytic O1+O2 + real O3+O4a injections; gwtc5 = GWTC-5.0 cumulative, semi-analytic O1+O2 + real O3+O4a+O4b injections. |
--catalogs |
`` | Catalog keys (GWTC-1 GWTC-2.1 GWTC-3 GWTC-4 GWTC-4.1 GWTC-5, or ALL): events and injections are restricted to their observing runs. Default: all the runs of --sensitivity-release (gwtc4: O1-O4a; gwtc5: O1-O4b; gwtc4: the published analysis). |
--sensitivity-file |
`` | Local LVK injection mixture file (semi-analytic O1+O2 + real) instead of the release's. |
--far-threshold |
0.25 |
FAR threshold [1/yr] for the events and the real injections. |
--snr-threshold |
10.0 |
Network SNR threshold for the semi-analytic O1+O2 injections. |
--min-mass |
`` | Minimum source-frame mass [Msun] of both components: by default 3 for the BBH models plp and mltp (potential neutron stars excluded), 0 for fullpop4. |
--exclude |
['GW231123_135430', 'GW200105_162426'] |
Events left out. |
--pe-cache |
`` | PE cache directory (files/, samples/, index/); default ~/.cache_gwtc_analysis/pe_catalog or $GWTC_PE_CACHE. |
--keep-pe-files |
False |
Keep the full PE files after extraction. |
--mass-model |
plp |
Mass model: plp = Power Law + Peak; mltp = Multi Peak; fullpop4 = FullPop-4.0. plp and mltp model BBH only; fullpop4 all compact binaries (its events: no minimum mass, GW170817 left out, the bright siren). Use one work directory per model (fullpop4 needs its own prepare). |
--seeds |
[1] |
One sampler run per seed. |
--parallel |
1 |
Seeds run at the same time on this machine (each with --npool processes; logs in |
--nlive |
100 |
dynesty live points per run. |
--npool |
4 |
Worker processes per run: random walks of one seed run at the same time. |
--naccept |
60 |
dynesty accepted steps per MCMC walk. |
--pe-samples |
1500 |
PE samples per event. |
--inj-fraction |
auto |
Fraction of the found injections used by the sampler runs: 'auto' (a probe chooses the fastest reliable subset, the posterior being then reweighted to all the injections), or a number in (0, 1], 1 = all the injections, as in the paper. |
--min-ess-fraction |
0.5 |
With --inj-fraction auto: smallest predicted effective-sample-size fraction accepted for the reweighting to all the injections. |
--probe-points |
30 |
With --inj-fraction auto: finite-likelihood prior points used by the probe. |
--reweight-pe-samples |
`` | PE samples per event of the reweighting target (default: those of the runs). |
--icarogw-python |
`` | Python interpreter of the icarogw environment (default: the current one). |
--executor |
local |
local: runs on this machine; slurm: the sample, combine and reweight stages as a chain of sbatch scripts in |
--slurm-option |
[] |
Extra #SBATCH option, repeatable (e.g. --slurm-option=--partition= |
--slurm-env-setup |
`` | Shell lines run first in each Slurm job. |
--submit |
False |
With --executor slurm: submit the scripts. |
--settings |
`` | JSON (or YAML) file of option values, keys as the long option names (e.g. pe-samples, neff-pe); options given on the command line override it. |
--neff-pe |
`` | Effective PE samples each event needs at a likelihood point, else the point is rejected (default 10; recorded in |
--neff-inj |
`` | Effective injections needed at a likelihood point (default: 4 x the number of events). |
--reweight-jobs |
`` | With --executor slurm: array tasks of the reweighting (default 16). |
--galaxy-catalog |
`` | [dark] icarogw galaxy catalog made by the galaxy_catalog mode (the prepare stage then keeps the sky positions of the PE samples). |
--event |
GW170817 |
[bright] Event: one of the built-in list of known counterparts (GW170817, GW190521), which gives its counterpart's position, host redshift and PE file; or any event of the GWTC PE releases (full name GWYYMMDD_HHMMSS) with --ra, --dec and --redshift, e.g. the afterglow of a coincident GRB and its host. |
--ra |
`` | [bright] Right ascension of the counterpart (deg). |
--dec |
`` | [bright] Declination of the counterpart (deg). |
--pe-label |
`` | [bright] Analyses of the PE file to use, by label (one waveform model and prior each, e.g. C02:IMRPhenomPv2_NRTidal-HighSpin): one result per label, plots from the first. Default: the labels set for the event (GW190521: C01:IMRPhenomXPHM), else all those of the file, LowSpin first. |
--pe-file |
`` | [bright] PE file to read instead of the event's. |
--cache-dir |
.cache_gwosc |
[bright] Cache root of the unofficial PE bundle of GW170817 (as in build_unofficial_pe). |
--v-recession |
`` | [bright] Recession velocity of the host and its uncertainty, km/s (default for GW170817: 3327 72, the NGC 4993 group in the CMB frame). |
--v-peculiar |
`` | [bright] Peculiar velocity of the host and its uncertainty, km/s (default for GW170817: 310 150). |
--redshift |
`` | [bright] Hubble-flow redshift of the host and its uncertainty, instead of the velocities (default for GW190521: 0.438 0.0015). |
--host |
`` | [bright] Name of the host galaxy (for an event outside the list). |
--counterpart-class |
`` | [bright] Class of the binary, the mass model of the selection (default: the event's, or for an event outside the list BNS when both catalog masses are below 3 M_sun, else BBH). |
--sky-radius |
3.0 |
[bright] For samples not fixed to the counterpart's position: keep those within this angle (deg). |
--viewing-angle |
`` | [bright] Independent Gaussian constraint on the viewing angle (deg, 0-90), e.g. from the jet; weights the PE samples. |
--pe-distance-prior |
`` | [bright] Luminosity-distance prior of the PE samples, divided out of the distance posterior: dl2 (D_L^2), comoving or source-frame (uniform in comoving volume, or in comoving volume and source-frame time; Planck15_LAL). Default: the prior recorded in the PE file, else D_L^2 up to O3 and source-frame from O4. |
--selection |
auto |
[bright] Selection term: euclidean (GW-limited, nearby sources: beta ∝ H0^3), injections (LVK sensitivity injections of the event's run), auto (euclidean below z = 0.05, injections above or with --population fullpop4). |
--population |
volume |
[bright] Population of the sources: volume (uniform in comoving volume and source-frame time; with injections, the mass model of the class, Power Law + Peak or uniform neutron stars, weights both the PE samples and the selection) or fullpop4 (FullPop-4.0 masses and the Madau-Dickinson rate fixed to the GWTC-4.0 spectral-siren medians, as the GWTC-4.0 reanalysis of GW170817; selection by injections with --selection auto). |
--h0-range |
[10.0, 200.0] |
[bright] Flat H0 prior range, km/s/Mpc (that of the spectral siren, needed by joint). |
--inputs |
`` | [joint] Independent results to combine: hubble_constant work directories (spectral, dark or bright) or posterior TSV files (H0 samples, or an H0 grid with a p column). |
--data-repo |
zenodo |
Where the PE files and the search-sensitivity injections are downloaded from: zenodo, their public sources (Zenodo, LIGO DCC); s3, the MinIO mirror (faster); or galaxy, the public usegalaxy.org history. The files are the same: a file the mirror does not have comes from its public source. |
galaxy_catalog¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--settings |
`` | JSON (or YAML) file of option values, keys as the long option names (e.g. zcut, glade-types); options given on the command line override it. |
--workdir |
galaxy_catalog_run |
Work directory (restartable). |
--stages |
['galaxies', 'shard', 'pixels', 'gather', 'prepare', 'init', 'interpolate', 'finish', 'summary', 'report'] |
Stages to run (default: all). |
--source |
glade-kband |
Galaxy source when neither --galaxies nor --input-catalog is given: GLADE+ Ks band (VizieR). |
--galaxies |
`` | Standard galaxy file already made (skips the download). |
--input-catalog |
`` | Any catalog to convert: a Parquet file or directory (HATS/LSDB tree), FITS, HDF5 or CSV. |
--input-format |
`` | Format of --input-catalog (default: from the name). |
--columns |
`` | Column mapping of --input-catalog: ra=... dec=... z=... m=... [sigmaz=...]. |
--band |
`` | icarogw band of the magnitude (K-glade+, W1-glade+, bJ-glade+, ...); GLADE+: K-glade+. |
--angle-unit |
deg |
Unit of ra and dec in --input-catalog. |
--sigmaz |
`` | Constant redshift uncertainty: for a catalog without a sigmaz column, or instead of the GLADE+ errors. |
--sigmaz-relative |
False |
--sigmaz is per (1 + z). |
--where |
`` | pandas query on the catalog's columns applied to each chunk (quality cuts, star-galaxy separation); for GLADE+ on its VizieR columns RAJ2000, DEJ2000, Kmag, zhelio, zcmb, f_zcmb, e_z, e_zhelio. |
--glade-types |
`` | GLADE+ object types kept: G galaxies (default), Q quasars. |
--glade-redshift |
`` | GLADE+ redshift: zcmb, CMB frame, peculiar velocities corrected below z = 0.05 (default); zhelio, heliocentric. |
--glade-sigmaz |
`` | GLADE+ redshift uncertainty: measurement and peculiar-velocity errors in quadrature (default), the measurement error alone (e_zhelio), or the peculiar-velocity error alone (e_z). |
--nside |
64 |
HEALPix nside of the catalog. |
--nside-mthr |
32 |
HEALPix nside of the apparent-magnitude threshold map. |
--mthr-percentile |
50.0 |
Percentile of the magnitudes defining the threshold (50: the median). |
--epsilon |
1.0 |
Luminosity weight of the galaxies, L^epsilon (0: none, 1: linear). |
--nintegration |
logspace:0.0001:5000 |
Redshift grid: logspace:ZMIN:N = one logarithmic grid up to --zcut (default); an integer = icarogw's adaptive grid (points per galaxy), only for catalogs with broad redshift errors. |
--numsigma |
3 |
Width of each galaxy redshift likelihood, in sigma. |
--zmin |
0.0 |
Lowest redshift of the in-catalog term: galaxies below it are left out and the catalog counts as empty there (completeness correction alone); needs a logspace grid. |
--zcut |
0.5 |
Highest redshift of the in-catalog term. |
--ptype |
gaussian |
Galaxy redshift probability: gaussian = Gaussian likelihood x uniform-in-comoving-volume prior (default); gaussian_nocom = the Gaussian itself; uniform = uniform in volume within +-numsigma. |
--nshards |
1024 |
Shard files of the pixelation (by pixel range). |
--jobs |
4 |
Chunks of the chunked stages (parallel processes or array jobs). |
--executor |
local |
local: parallel processes; slurm: write sbatch array scripts chained by dependencies. |
--slurm-option |
[] |
Extra #SBATCH option, repeatable (e.g. --slurm-option=--partition= |
--slurm-assembly-option |
[] |
Extra #SBATCH option of the init, finish and summary jobs, which hold the whole catalog in memory (e.g. --slurm-assembly-option=--mem=16G); repeatable. |
--slurm-env-setup |
`` | Shell lines run first in each Slurm job (e.g. 'source /path/conda.sh; conda activate icarogw'). |
--submit |
False |
With --executor slurm: submit the scripts. |
--icarogw-python |
`` | Python interpreter of the icarogw environment. |
--out-report |
galaxy_catalog.html |
Output HTML report path. |
counterpart¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--event |
GW170817 |
Event: one of the built-in list of known counterparts (GW170817, GW190521), which gives its counterpart's position, host redshift and PE file; or any event of the GWTC PE releases (full name) with --ra, --dec and --redshift. |
--ra |
`` | Right ascension of the counterpart, or of another position to test (deg). |
--dec |
`` | Declination of the counterpart, or of another position to test (deg). |
--pe-label |
`` | Analyses of the PE file to use, by label (one waveform model and prior each, e.g. C02:IMRPhenomPv2_NRTidal-HighSpin): one result per label, plots from the first. Default: the labels set for the event (GW190521: C01:IMRPhenomXPHM), else all those of the file, LowSpin first. |
--pe-file |
`` | PE file to read instead of the event's. |
--cache-dir |
.cache_gwosc |
Cache root of the unofficial PE bundle of GW170817 (as in build_unofficial_pe). |
--v-recession |
`` | Recession velocity of the host and its uncertainty, km/s (default for GW170817: 3327 72, the NGC 4993 group in the CMB frame). |
--v-peculiar |
`` | Peculiar velocity of the host and its uncertainty, km/s (default for GW170817: 310 150). |
--redshift |
`` | Hubble-flow redshift of the host and its uncertainty, instead of the velocities (default for GW190521: 0.438 0.0015). |
--host |
`` | Name of the host galaxy (for an event outside the list). |
--counterpart-class |
`` | Class of the binary, the mass model of the selection (default: the event's, or for an event outside the list BNS when both catalog masses are below 3 M_sun, else BBH). |
--sky-radius |
3.0 |
For samples not fixed to the counterpart's position: keep those within this angle (deg). |
--viewing-angle |
`` | Independent Gaussian constraint on the viewing angle (deg, 0-90), e.g. from the jet; weights the PE samples. |
--sky-map |
`` | FITS sky map for the searched probability of the position (default: the event's LVK map when its PE file comes from Zenodo; 'none': a kernel estimate on the PE samples). |
--pe-cache |
`` | PE cache of the events read from Zenodo (default: that of hubble_constant). |
--out-report |
counterpart.html |
Output HTML report path. |
--out-summary |
counterpart.tsv |
Output TSV of the summary, one row per PE label. |
--plots-dir |
counterpart_plots |
Directory for the plots. |
--data-repo |
zenodo |
Where the PE file are downloaded from: zenodo, their public sources (Zenodo, LIGO DCC); s3, the MinIO mirror (faster); or galaxy, the public usegalaxy.org history. The files are the same: a file the mirror does not have comes from its public source. |
continuous_waves¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--boson-mass |
`` | Boson-mass band to draw, eV (default: GW190728 with the superradiance prior, 90%: 0.67e-12 0.86e-12 1.17e-12). |
--boson-label |
`` | Label of the band (default: GW190728 (scalar_cloud)). |
--refresh |
False |
Download the data releases again. |
--out-report |
continuous_waves.html |
Output HTML report path. |
--out-summary |
continuous_waves.tsv |
Output TSV of the summary (pulsars in |
--plots-dir |
continuous_waves_plots |
Directory for the plots. |
--data-repo |
zenodo |
Where the LVK upper-limit files are downloaded from: zenodo, their public sources (Zenodo, LIGO DCC); s3, the MinIO mirror (faster); or galaxy, the public usegalaxy.org history. The files are the same: a file the mirror does not have comes from its public source. |
area_law¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--src-name |
GW250114 |
Event (only GW250114). |
--cache-dir |
`` | Where the release is extracted (default: the Zenodo cache). |
--with-imr |
False |
Also show the area change of the full-signal PE, made with an IMR (inspiral-merger-ringdown) waveform: its remnant comes from numerical-relativity fits, which obey the law by construction, so it is a consistency check, not a test (27 MB more). |
--out-report |
area_law.html |
Output HTML report path. |
--out-summary |
area_law.tsv |
Output TSV of the comparison with the paper (scans in |
--plots-dir |
area_law_plots |
Directory for the plots. |
--data-repo |
zenodo |
Where the GW250114 data release are downloaded from: zenodo, their public sources (Zenodo, LIGO DCC); s3, the MinIO mirror (faster); or galaxy, the public usegalaxy.org history. The files are the same: a file the mirror does not have comes from its public source. |
scalar_cloud¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--event |
GW190728_064510 |
Event name (as in the GWTC PE releases). |
--pe-file |
`` | PE file to read instead of the event's Zenodo file. |
--pe-label |
C01:IMRPhenomXPHM |
Analysis of the PE file: settings, noise spectra, starting points of the fits. |
--workdir |
scalar_cloud |
Work directory. |
--stages |
['prepare', 'fit', 'report'] |
Stages to run. |
--sampling-frequency |
2048.0 |
Sampling frequency of the fits (Hz). |
--n-background |
150 |
Off-source injections of the background. |
--jobs |
1 |
Local parallel processes (fit, background, seeded) or sampler pool (sample). |
--sample-models |
['vacuum', 'agnostic', 'superradiance'] |
Models of the sample stage. |
--tau-d |
1000000.0 |
Superradiance prior: years between black-hole formation and merger. |
--npool |
32 |
With --executor slurm: CPUs of each sampling job. |
--executor |
local |
slurm: the fit, background, sample and seeded stages as sbatch scripts in |
--python |
`` | With --executor slurm: Python of the jobs (default: this one). |
--slurm-option |
[] |
Extra #SBATCH option, repeatable (e.g. --slurm-option=--partition= |
--slurm-env-setup |
`` | Shell lines run first in each Slurm job. |
--submit |
False |
With --executor slurm: submit the scripts. |
--out-report |
scalar_cloud.html |
Output HTML report path. |
--out-summary |
scalar_cloud.tsv |
Output TSV of the fits. |
--data-repo |
zenodo |
Where the PE file are downloaded from: zenodo, their public sources (Zenodo, LIGO DCC); s3, the MinIO mirror (faster); or galaxy, the public usegalaxy.org history. The files are the same: a file the mirror does not have comes from its public source. |
stochastic¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--spectral-posterior |
`` | hubble_constant work directory (--mass-model plp or mltp) or its posterior TSV. |
--rates |
`` | TSV written by the rates mode (--out-rates). |
--high-z |
sfr |
BBH rate beyond the farthest detected events: the star-formation history (sfr), or the fitted shape, which there is the prior's (posterior). |
--z-horizon |
`` | Redshift of the farthest detected events (default: from the work directory, else 1). |
--n-draws |
200 |
Posterior draws. |
--out-report |
stochastic.html |
Output HTML report path. |
--out-summary |
stochastic.tsv |
Output TSV of Omega_GW(25 Hz) (the spectrum goes to |
--plots-dir |
stochastic_plots |
Directory for the plots. |
primordial_black_holes¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--masses |
`` | PBH masses [Msun] for the catalog part (default: 22 values from e^w to 150). |
--mass-window |
0.2 |
Half-width w of the mass window in ln m: binaries in [m e^-w, m e^w]. |
--attribute |
window |
Events that may be primordial: those with their chirp mass in the window (window), or none, the observed events being astrophysical (none: tighter limits). |
--suppression |
hutsi |
Suppression of the early-binary rate: S1 S2 of Hütsi et al. 2021 (hutsi), or the fit 2.3e-3 f^-0.65 of the LVK sub-solar papers (lvk, which reproduces their limits). |
--no-sub-solar |
True |
Leave out the sub-solar searches (0.2-1 Msun). |
--lognormal-widths |
[0.5, 1.0, 2.0] |
Widths sigma (in ln m) of the log-normal mass functions of the unequal-mass limits. |
--lognormal-masses |
`` | Peak masses m_c [Msun] of the log-normal mass functions (default: 24 values from 0.3 to 150). |
--no-extended |
True |
Leave out the unequal masses: the map F_PBH(m1, m2) and the log-normal limits. |
--far-threshold |
1.0 |
FAR threshold [1/yr] for injections and events. |
--sensitivity-release |
gwtc5 |
LVK search-sensitivity release of the catalog part, as in the rates mode. |
--sensitivity-file |
`` | Local LVK injection HDF file instead of the release. |
--out-limits |
pbh_limits.tsv |
Output TSV of the limits per mass; the unequal-mass tables go next to it ( |
--out-report |
pbh_limits.html |
Output HTML report path. |
--plots-dir |
pbh_plots |
Directory for the plots. |
--data-repo |
zenodo |
Where the search-sensitivity injections and the sub-solar data release are downloaded from: zenodo, their public sources (Zenodo, LIGO DCC); s3, the MinIO mirror (faster); or galaxy, the public usegalaxy.org history. The files are the same: a file the mirror does not have comes from its public source. |
neutron_star_eos¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--events |
['GW170817', 'GW190425'] |
Binary neutron stars to combine. |
--spin-prior |
low |
PE analyses with the low-spin (|chi| <= 0.05) or high-spin (|chi| <= 0.89) prior. |
--lambda-max |
5000.0 |
Upper bound of the uniform PE priors on Lambda_1, Lambda_2. |
--cache-dir |
.cache_gwosc |
Cache root of the GW170817 bundle. |
--pe-cache |
`` | PE cache of the Zenodo files (default: that of hubble_constant). |
--out-report |
neutron_star_eos.html |
Output HTML report path. |
--out-summary |
neutron_star_eos.tsv |
Output TSV of Lambda_1.4 and R_1.4 (the posteriors go to |
--plots-dir |
neutron_star_eos_plots |
Directory for the plots. |
--data-repo |
zenodo |
Where the PE files and the GWTC-1 products of GW170817 are downloaded from: zenodo, their public sources (Zenodo, LIGO DCC); s3, the MinIO mirror (faster); or galaxy, the public usegalaxy.org history. The files are the same: a file the mirror does not have comes from its public source. |
spin_population¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--no-correlation |
False |
Gaussian chi_eff model without the q slope. |
--sensitivity-release |
`` | Injections and catalogs (default: gwtc4). |
--sensitivity-file |
`` | Local sensitivity file instead of the release. |
--far-threshold |
0.25 |
Events and found injections: FAR below this. |
--snr-threshold |
10.0 |
Found semi-analytic O1+O2 injections. |
--min-mass |
3.0 |
Both source-frame masses above it. |
--exclude |
['GW231123_135430', 'GW200105_162426'] |
Events left out. |
--pe-cache |
`` | PE cache (default: that of hubble_constant). |
--pe-samples |
5000 |
PE samples per event. |
--data-repo |
zenodo |
Where the PE files are downloaded from: zenodo, s3 (the MinIO mirror, faster) or galaxy (the public usegalaxy.org history). The files are the same, those of the latest Zenodo versions: a file the mirror does not have comes from Zenodo. |
--max-injections |
250000 |
Random subset of the found injections (0: all). |
--walkers |
20 |
emcee walkers. |
--steps |
1200 |
emcee steps (the first third is burn-in). |
--out-report |
spin_population.html |
Output HTML report path. |
--out-summary |
spin_population.tsv |
Output TSV of the posterior quantiles (the samples go to |
--plots-dir |
spin_population_plots |
Directory for the plots. |
lens_pairs¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--catalogs |
['GWTC-4'] |
Catalogs whose events are paired: GWTC-1 GWTC-2.1 GWTC-3 GWTC-4 GWTC-4.1 GWTC-5, or ALL (GWTC-4.1, update of GWTC-4). Default: GWTC-4, the O4a events of the LVK GWTC-4.0 lensing search. |
--far-threshold |
1.0 |
Events with a FAR at most this (per year). |
--min-mass |
3.0 |
Both source-frame masses above it (BBH). |
--exclude |
[] |
Events left out (full or common names). |
--pe-cache |
`` | PE cache (default: that of hubble_constant). |
--pe-samples |
2000 |
PE samples per event. |
--data-repo |
zenodo |
Where the PE files are downloaded from: zenodo, s3 (the MinIO mirror, faster) or galaxy (the public usegalaxy.org history). The files are the same, those of the latest Zenodo versions: a file the mirror does not have comes from Zenodo. |
--workers |
4 |
Parallel PE downloads. |
--keep-pe-files |
False |
Keep the downloaded PE files (only the extracted samples are kept by default). |
--fpp-threshold |
0.01 |
Flag the pairs with an FPP at most this. |
--seed |
1 |
Random seed (sample subsets, lens population). |
--out-report |
lens_pairs.html |
Output HTML report path. |
--out-summary |
lens_pairs.tsv |
Output TSV of all the pairs, ranked (the events go to |
--plots-dir |
lens_pairs_plots |
Directory for the plots. |
event_selection¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--catalogs |
`` | Catalog keys, space-separated (e.g. GWTC-1 GWTC-2.1 GWTC-3 GWTC-4 GWTC-4.1 GWTC-5). ALL takes them all except the updates (GWTC-4.1, update of GWTC-4), which are used only when named. |
--out-selection |
event_selection.tsv |
Output TSV path for the selected events. |
--m1-min |
`` | Minimum primary mass (source frame). |
--m1-max |
`` | Maximum primary mass (source frame). |
--m2-min |
`` | Minimum secondary mass (source frame). |
--m2-max |
`` | Maximum secondary mass (source frame). |
--dl-min |
`` | Minimum luminosity distance (Mpc). |
--dl-max |
`` | Maximum luminosity distance (Mpc). |
--chi-eff-min |
`` | Minimum effective spin chi_eff. |
--chi-eff-max |
`` | Maximum effective spin chi_eff. |
--q-min |
`` | Minimum mass ratio q = m2/m1 (GWOSC medians, source frame; q <= 1). |
--q-max |
`` | Maximum mass ratio q = m2/m1 (e.g. 0.35 for unequal masses). |
--snr-min |
`` | Minimum network matched-filter SNR. |
--p-astro-min |
`` | Minimum probability of astrophysical origin p_astro (GWOSC: the pipeline ranking the event best). |
--far-max |
`` | Maximum false-alarm rate, per year (GWOSC: the pipeline ranking the event best). |
--runs |
`` | Observing runs of the events, from their GPS time: O1 O2 O3a O3b O4a O4b. |
--preset |
`` | Class of sources (the cuts apply on top): neutron-stars (a component below --ns-max-mass), mass-gap (a component in --mass-gap), hierarchical (primary above --pisn-gap-min, or chi_eff < 0 at 90%: earlier-generation black holes). |
--ns-max-mass |
3.0 |
Maximum neutron-star mass (M_sun). |
--mass-gap |
[3.0, 5.0] |
Lower mass gap between neutron stars and black holes (M_sun). |
--pisn-gap-min |
50.0 |
Lower edge of the pair-instability mass gap (M_sun; ~45-65 in the literature). |
--out-plot |
`` | Optional PNG of the selected events among all the events of the catalogs (m2 and D_L against m1). |
--detectors |
`` | Detectors of the event's network, among H L V (also K G; H1, HLV and H,L are read too): keeps the events by the network GWOSC lists for them (one query per event passing the other cuts; added to the TSV). |
--detectors-match |
all |
How --detectors is applied: all (the network holds all of them, others allowed), exact (these detectors and no other), any (at least one of them). |
--area-max |
`` | Maximum sky area (deg²) of the --area-cred credible region, from the skymaps (read only for the events passing the other cuts; events without a skymap are dropped). |
--area-cred |
0.9 |
Credible level of --area-max: 0.9→A90, 0.5→A50. |
--data-repo |
zenodo |
Where the skymaps of --area-max are read from (as catalog_statistics). |
--zenodo-version |
`` | Read an older Zenodo release version of a catalog instead of the latest, with any --data-repo (e.g. --zenodo-version GWTC-3=v2 GWTC-4=v1). Versions are numbered from the oldest (v1); list them with the zenodo_releases mode. |
search_skymaps¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--catalogs |
[] |
Catalog keys, space-separated (e.g. GWTC-1 GWTC-2.1 GWTC-3 GWTC-4 GWTC-4.1 GWTC-5). ALL takes them all except the updates (GWTC-4.1, update of GWTC-4), which are used only when named. |
--ra-deg |
`` | Right ascension (deg); not with --counterparts. |
--dec-deg |
`` | Declination (deg); not with --counterparts. |
--counterparts |
`` | Search the GRB and/or neutrino coincidences of each GW map instead of a position. |
--sources |
`` | With --counterparts: the external catalogs (default: all those of the messengers). |
--grb-window |
`` | With --counterparts: GRB time window around the merger, s (default -1 5, as RAVEN). |
--neutrino-window |
`` | With --counterparts: neutrino time window around the merger, s (default -500 500). |
--skymap |
[] |
With --counterparts: GW sky map files (FITS) to search, e.g. a GraceDB alert map. |
--refresh-catalogs |
False |
With --counterparts: download the external catalogs again (otherwise weekly). |
--prob |
0.9 |
Credible-level threshold (above 0, at most 1). Common values: 0.9, 0.5, 0.95. |
--skymap-label |
Mixed |
Analysis whose skymap is used, one per event (default: Mixed; without one, Mixed, then IMRPhenomXPHM_SpinTaylor, the GWTC-5.0 case, then the other waveforms in a fixed order). 'any': every map of every event; with --counterparts, one map per event, as Mixed. |
--out-events |
search_skymaps.tsv |
Output TSV file (default: search_skymaps.tsv). |
--out-report |
search_skymaps.html |
Optional output HTML report path for hits. |
--plots-dir |
sky_plots |
Directory for hit plots (default: sky_plots). |
--data-repo |
zenodo |
Where the skymaps are read from: zenodo (the release tarballs); s3 (the MinIO mirror, faster) or galaxy (staged collections, else the public usegalaxy.org history), when they hold the maps of the selected release version, else Zenodo (a staged collection must hold them). |
--zenodo-version |
`` | Read an older Zenodo release version of a catalog instead of the latest, with any --data-repo (e.g. --zenodo-version GWTC-3=v2 GWTC-4=v1). Versions are numbered from the oldest (v1); list them with the zenodo_releases mode. |
parameters_estimation¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--out-report |
parameters_estimation.html |
Output HTML report path. |
--src-name |
`` | Source event name (e.g. GW231223_032836). |
--data-repo |
zenodo |
Where to download the PE file from: zenodo, s3 (the MinIO mirror) or galaxy (staged collections, else the public usegalaxy.org history). The file itself is chosen in the Zenodo listing: s3 and galaxy serve it when they have it, else it comes from Zenodo. |
--zenodo-version |
`` | Read an older Zenodo release version of a catalog instead of the latest (e.g. --zenodo-version GWTC-3=v2 GWTC-4=v1), with any --data-repo. Versions are numbered from the oldest (v1); list them with the zenodo_releases mode. |
--pe-vars |
`` | Extra posterior sample variables to plot (space-separated). Example: --pe-vars chi_eff chi_p luminosity_distance. |
--pe-pairs |
`` | Extra 2D posterior pairs to plot as 'x:y' tokens. Example: --pe-pairs mass_1_source:mass_2_source chi_eff:chi_p. |
--plots-dir |
pe_plots |
Directory for output PE plots (default: pe_plots). |
--start |
`` | Seconds before GPS time for the overlay and q-transform windows (default 0.2; a BNS-like event without it gets the BNS profile). |
--stop |
`` | Seconds after GPS time for the overlay and q-transform windows (default 0.1; a BNS-like event without it gets the BNS profile). |
--fmin |
`` | Low frequency bound (Hz) of the overlay filtering and q-transform range (default 20; a BNS-like event without it gets the BNS profile). |
--fmax |
`` | High frequency bound (Hz) of the overlay filtering and q-transform range (default 300; a BNS-like event without it gets the BNS profile). |
--overlay-start |
`` | Override seconds before GPS time for the whitened overlay window. |
--overlay-stop |
`` | Override seconds after GPS time for the whitened overlay window. |
--overlay-fmin |
`` | Override low frequency bound (Hz) for overlay whitening/bandpass. |
--overlay-fmax |
`` | Override high frequency bound (Hz) for overlay whitening/bandpass. |
--q-start |
`` | Override seconds before GPS time for the q-transform window. |
--q-stop |
`` | Override seconds after GPS time for the q-transform window. |
--q-fmin |
`` | Override low frequency bound (Hz) for the q-transform. |
--q-fmax |
`` | Override high frequency bound (Hz) for the q-transform. |
--q-fscale |
log |
Frequency axis scaling for q-transform plots (default: log). |
--pe-label |
`` | PE label used to select posterior samples and metadata. If omitted and --waveform-engine is provided, the tool selects the closest PE label by substring match in the PE label. If both are omitted: the Mixed label for the posteriors, and for the strain overlay the IMRPhenomXPHM label when the Mixed one has no PSD. |
--waveform-engine |
`` | Waveform engine used to generate a time-domain waveform for strain overlay. If omitted, a sensible default engine is used for overlays. |
--no-skymap-3d |
True |
Skip the 3D sky map (FITS map of the Zenodo skymap archive: credible volume, distance by direction, host-galaxy candidates). |
--galaxies |
glade |
Galaxy catalog cross-matched with the 3D sky map: 'glade' (GLADE+ via VizieR, default), a CSV/TSV file with ra, dec and dist [Mpc] or z columns, or 'none'. |
--galaxy-max-area |
100.0 |
Largest 90 percent credible area (deg2) for which GLADE+ is queried (default: 100). |
build_unofficial_pe¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--src-name |
`` | Source event name (e.g. GW170817). |
--cache-dir |
.cache_gwosc |
Cache root where unofficial_pe/ |
--force |
False |
Force rebuilding the unofficial bundle even if a cached copy already exists and is up to date. |
--data-repo |
zenodo |
Where the GWTC-1 products of GW170817 are downloaded from: zenodo, their public sources (Zenodo, LIGO DCC); s3, the MinIO mirror (faster); or galaxy, the public usegalaxy.org history. The files are the same: a file the mirror does not have comes from its public source. |
check_catalogs¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--out-json |
`` | Optional JSON file with the full report. |
--sample-events |
3 |
Events of each new list whose PE links are used to find its Zenodo records. |
zenodo_releases¶
| Option | Default | Description |
|---|---|---|
-h, --help |
`` | show this help message and exit |
--catalogs |
['ALL'] |
Catalog keys, space-separated (e.g. GWTC-3 GWTC-4). ALL key takes them all. |