User Parameters¶
All pycWB configuration lives in user_parameters.yaml, validated against
a JSON Schema. This page organizes parameters by category and links to the
detailed guides where each parameter is explained in context.
Parameter Categories¶
Category |
Key Parameters |
Detailed Guide |
|---|---|---|
General / Network |
|
|
Frequency / Resolution |
|
|
Segment & Job |
|
|
Lags & Background |
|
|
Data Conditioning |
|
|
Clustering |
|
|
Likelihood |
|
|
Injection |
|
|
Sky Mask |
|
|
Batch / Cluster |
|
|
Postproduction |
Workflow YAML (separate file) |
Parameters marked \(^*\) are auto-derived (rateANA, nRES,
WDM_level, max_delay) — do not set them manually.
Parameter Quick Reference¶
Parameter |
Default |
Range |
Description |
|---|---|---|---|
|
[H1, L1] |
— |
List of interferometer names |
|
64 |
≥ 0 |
Low frequency [Hz] |
|
2048 |
> fLow |
High frequency [Hz] |
|
16384 |
— |
Input data sample rate [Hz] |
|
3 |
1–10 |
Lowest WDM resolution level (2l_low Hz) |
|
8 |
> l_low |
Highest WDM resolution level (2l_high Hz) |
|
2 |
— |
Resampling level |
|
600 |
> 0 |
Segment length [s] |
|
300 |
≤ segLen |
Minimum segment after CAT1 [s] |
|
8 |
≥ 0 |
Wavelet boundary offset [s] |
|
0 |
≥ 0 |
Overlap between jobs [s] |
|
1 |
≥ 0 |
Number of lags |
|
1.0 |
> 0 |
Time between lags [s] |
|
6 |
≥ 0 |
First lag index (0 = include zero-lag) |
|
150 |
≥ lagStep |
Maximum lag distance [s] |
|
0 |
≥ 0 |
Number of super lags |
|
wavelet |
wavelet/mesa/mixed |
Whitening method |
|
60 |
> 0 |
Whitening time window [s] |
|
1.414 |
≥ 0 |
Core pixel threshold (\(\sqrt{2}\)) |
|
4.0 |
> 0 |
Coherent network SNR threshold |
|
0.5 |
0–1 |
Network correlation threshold |
|
0.5 |
−1 to 1 |
2-detector sky regulator |
|
0.5 |
−1 to 1 |
Polarization suppression regulator |
|
7 |
1–12 |
Sky map HEALPix order |
|
6.0 |
≥ 0 |
TF pixel separation for cluster linking |
|
3.0 |
≥ 0 |
Defragmentation time gap [s] |
|
130 |
≥ 0 |
Defragmentation frequency gap [Hz] |
|
0.7 |
0–0.7 |
Sub-network coherence threshold |
|
0.33 |
0–1 |
Sub-network skyloop threshold |
|
0.001 |
0–1 |
Black pixel selection probability |
|
12 |
2–20 |
Time-delay filter size |
|
4 |
≥ 1 |
TD filter upsample factor |
|
5.0 |
> 0 |
Injection time window half-width [s] |
|
— |
condor / slurm |
Batch submission backend |
|
1 |
≥ 1 |
CPUs per job |
|
6GB |
— |
Memory per job |
|
“” |
“” / CBC / BBH / IMBHB |
Enable chirp mass computation |
|
false |
— |
Use \(\rho_0\) instead of \(\rho\) |
|
true |
— |
Earth-fixed/eclestial coordinates |
Auto-Derived Fields¶
These are computed automatically from other parameters. Do not set manually.
Field |
Derived From |
|---|---|
|
|
|
|
|
|
|
Detector geometry (baseline ÷ c) |
Full Schema¶
The complete auto-generated parameter table:
Parameter |
Type |
Description |
Default |
|---|---|---|---|
outputDir |
|
output directory |
|
logDir |
|
log directory |
|
catalog_dir |
|
catalog directory |
|
trigger_dir |
|
trigger directory |
|
plot_trigger |
|
plot triggers |
|
cwb_compare |
|
if true, export raw (injected) data as GWF files and generate an equivalent user_parameters.C for each sub_job_seg so the run can be reproduced with cWB ROOT. The comparison workdir is placed under <working_dir>/cwb_compare/. |
|
cwb_compare_dir |
|
base directory for cWB comparison working directories (default: <working_dir>/cwb_compare) |
|
save_waveform |
|
save waveform from triggers |
|
save_waveform_format |
|
format to save waveform from triggers, options are: ‘txt’ and ‘hdf’ |
|
plot_waveform |
|
plot waveform from triggers |
|
save_injection |
|
save injected waveform |
|
plot_injection |
|
plot injected waveform |
|
save_cluster |
|
save cluster to json |
|
save_sky_map |
|
save sky maps to json |
|
plot_sky_map |
|
plot sky maps |
|
compress_output_json |
|
compress output json |
|
segment_processer |
|
main segment processer function for the analysis, the arguments for the function are: func(working_dir, config, job_seg, **kwargs) |
|
use_root_supercluster |
|
use cwb supercluster, if false use python version |
|
nproc |
|
number of processes |
|
cluster |
|
cluster type for batch processing (condor or slurm) |
|
conda_env |
|
conda environment name for batch jobs |
|
additional_init |
|
additional initialization commands for batch jobs |
|
accounting_group |
|
accounting group for HTCondor batch jobs |
|
job_per_worker |
|
number of jobs per worker in batch processing |
|
job_memory |
|
memory allocation for batch jobs (e.g., ‘6GB’) |
|
job_disk |
|
disk allocation for batch jobs (e.g., ‘8GB’) |
|
container_image |
|
container image for HTCondor batch jobs |
|
should_transfer_files |
|
whether to transfer files in HTCondor batch jobs |
|
job_walltime |
|
wall-clock time limit per SLURM job (e.g., ‘72:00:00’) |
|
slurm_constraint |
|
SLURM –constraint value (e.g., ‘skylake’) |
|
slurm_partition |
|
SLURM –partition value (e.g., ‘ligo’) |
|
n_retries |
|
number of application-level retries per job (SLURM) or DAG retries (HTCondor) |
|
skip_no_injection |
|
skip jobs without injection |
|
parallel_injection_trail |
|
flatten job segments by injection trial index for parallel processing |
|
parallel_lag_workers |
|
number of background lags to compute concurrently inside one native segment worker |
|
parallel_lag_inner_threads |
|
Numba threads per threaded background lag worker; null derives from nproc / parallel_lag_workers |
|
max_energy_backend |
|
backend used by coherence setup for time-delay max-energy maps; auto uses numba for middle WDM resolutions and JAX for endpoint resolutions |
|
injection |
|
injection parameters |
|
sky_mask |
|
Restrict the likelihood sky scan to a sub-region of the sky. Uses the same format as the injection sky_distribution config. Supported types: UniformAllSky (no restriction), Patch (circular cap — requires patch.center.phi, patch.center.theta, patch.radius, patch.unit), Fixed (nearest single direction — requires coordinates.sky_loc.phi/theta, coordinates.unit), Custom (HEALPix map threshold — requires custom.healpix_map, custom.nside, optional custom.threshold). If omitted, all sky directions are evaluated. |
|
gps_start |
|
start gps time, used together with gps_end for generating job segments |
|
gps_end |
|
end gps time, used together with gps_start for generating job segments |
|
gps_center |
|
center gps time, used together with time_left and time_right for generating job segments |
|
time_left |
|
left time offset from gps_center, used together with gps_center and time_right for generating job segments |
|
time_right |
|
right time offset from gps_center, used together with gps_center and time_left for generating job segments |
|
superevent |
|
superevent name, used together with time_left and time_right for generating job segments |
|
gwdatafind |
|
If the gwdatafind is set, the framefiles can be pulled from the LIGO data server, the support keys are: site, frametype, host. Example: |
|
WDM_beta_order |
|
WDM default parameters: beta function order for Meyer |
|
WDM_precision |
|
WDM default parameters: wavelet precision |
|
MIN_SKYRES_HEALPIX |
|
minimun skymap resolution used for subNetCut |
|
MIN_SKYRES_ANGLE |
|
minimun skymap resolution used for subNetCut |
|
REGRESSION_FILTER_LENGTH |
|
regression parameters |
|
REGRESSION_MATRIX_FRACTION |
|
regression parameters |
|
REGRESSION_SOLVE_EIGEN_THR |
|
regression parameters |
|
REGRESSION_SOLVE_EIGEN_NUM |
|
regression parameters |
|
REGRESSION_SOLVE_REGULATOR |
|
regression parameters |
|
REGRESSION_APPLY_THR |
|
regression parameters |
|
analysis |
|
true/false -> online/offline |
|
cfg_search |
|
see description below |
|
Search |
|
2G pipeline: If equals ‘’ then it is ignored by the 2G pipeline (default, back compatibility), Available values are: ‘’/CBC/BBH/IMBHB. If equals CBC/BBH/IMBHB then the chirp line is added to the CED l_tfmap_scalogram, moreover when netRHO<0 (rho0.XGB) than the chirp mass is computed only if Search=CBC/BBH/IMBHB |
|
online |
|
true/false -> online/offline |
|
optim |
|
true -> optimal resolution likelihood analysis |
|
fLow |
|
low frequency of the search |
|
fHigh |
|
high frequency of the search |
|
ifo |
|
ifo[] can be redefined by user |
|
nIFO |
|
number of interferometers |
|
refIFO |
|
reference IFO |
|
select_subrho |
|
subrho netcluster select function threshold (coherence) |
|
select_subnet |
|
subnet netcluster select function threshold (coherence) |
|
bpp |
|
probability for black pixel selection (netpixel) |
|
fResample |
|
if zero resampling is not applied |
|
inRate |
|
input data rate |
|
dcCal |
|
DC corrections |
|
EFEC |
|
Earth Fixed / Selestial coordinates |
|
precision |
|
set parameters for big clusters events management |
|
pattern |
|
select pixel pattern used to produce the energy max maps for pixel’s selection
patterns: “/” - ring-up, “" - ring-down, “|” - delta, “-” line, “*” - single
pattern = 0 - “*” 1-pixel standard search
pattern = 1 - “3|” 3-pixels vertical packet (delta)
pattern = 2 - “3-” 3-pixels horizontal packet (line)
pattern = 3 - “3/” 3-pixels diagonal packet (ring-up)
pattern = 4 - “3” 3-pixels anti-diagonal packet (ring-down)
pattern = 5 - “5/” 5-pixels diagonal packet (ring-up)
pattern = 6 - “5” 5-pixels anti-diagonal packet (ring-down)
pattern = 7 - “3+” 5-pixels plus packet (plus)
pattern = 8 - “3x” 5-pixels cross packet (cross)
pattern = 9 - “9p” 9-pixels square packet (box)
pattern = else - “*” 1-pixel packet (single)
————————————————————————————
pattern==0 Standard Search : std-pixel selection + likelihood2G
pattern!=0 && pattern<0 Mixed Search : packet-pixel selection + likelihood2G
pattern!=0 && pattern>0 Packed Search : packet-pixel selection + likelihoodWP
|
|
BATCH |
|
max number of pixel to process in one loadTDamp batch |
|
LOUD |
|
number of pixel per cluster to load TD amplitudes |
|
nSky |
|
if nSky>0 -> # of skymap prob pixels dumped to ascii
if nSky=0 -> (#pixels==1000 || cum prob > 0.99)
if nSky<0 -> nSky=-XYZ… save all pixels with prob < 0.XYZ…
|
|
subnet |
|
[0,0.7] sub network threshold (supercluster) |
|
subcut |
|
[0,1] sub network threshold in the skyloop (supercluster) |
|
subnorm |
|
[0,2*num_resolution_levels] sub network norm threshold, enabled only if >0 (supercluster) |
|
subrho |
|
sub network threshold in the skyloop subNetCuts, if <=0 then subrho=netRHO (supercluster) |
|
subacor |
|
sub network threshold in the skyloop subNetCuts, if<=0 then subacor=Acore (supercluster) |
|
netRHO |
|
[>4.0] coherent network SNR (supercluster, likelihood). Deprecated: setting netRHO < 0 was the legacy way to activate XGBoost statistics mode; use xgb_rho_mode instead. |
|
xgb_rho_mode |
|
If True, use XGBoost rho0 statistics (XGB.rho0 mode) instead of the original 2G coherent SNR statistic. Replaces the deprecated convention of setting netRHO < 0. |
|
netCC |
|
network correlation (supercluster, likelihood) |
|
Acore |
|
threshold of core pixels (supercluster, likelihood) |
|
Tgap |
|
defragmentation time gap between clusters (sec) |
|
Fgap |
|
defragmentation frequency gap between clusters (Hz) |
|
TFgap |
|
threshold on the time-frequency separation between two pixels |
|
delta |
|
[-1:1] regulate 2 Detector sky locations. delta=0 : regulator is disabled, delta<0 : select Lo as skystat instead of Lr |
|
cfg_gamma |
|
[-1:1] regulate |fx|<<|f+| and |f+|<<1 sky locations. gamma=0 : regulator is disabled, gamma<0 : sky prior is applied |
|
Theta1 |
|
start theta |
|
Theta2 |
|
stop theta |
|
Phi1 |
|
start phi |
|
Phi2 |
|
stop phi |
|
cedRHO |
|
cedRHO |
|
skyMaskFile |
|
sky mask file |
|
skyMaskCCFile |
|
sky mask file |
|
segLen |
|
Segment length [sec] |
|
segMLS |
|
Minimum Segment Length after DQ_CAT1 [sec] |
|
segTHR |
|
Minimum Segment Length after DQ_CAT2 [sec] (to disable put segTHR=0) |
|
segEdge |
|
wavelet boundary offset [sec] |
|
segOverlap |
|
overlap between job segments [sec] |
|
lagSize |
|
number of lags (simulation:1) |
|
lagStep |
|
[sec] time interval between lags |
|
lagOff |
|
first lag id (lagOff=0 - include zero lag ) |
|
lagMax |
|
0/>0 - standard/extended lags |
|
lagMode |
|
w/r - write/read lag list |
|
lagSite |
|
site index starting with 0 |
|
lagFile |
|
slag file list |
|
slagSize |
|
number of super lags (simulation=1) - if slagSize=0 -> Standard Segments |
|
slagMin |
|
select the minimum available slag distance : slagMin must be <= slagMax |
|
slagMax |
|
select the maximum available slag distance |
|
slagOff |
|
first slag id (slagOff=0 - include zero slag ) |
|
channelNamesRaw |
|
channel names for raw data |
|
channelNamesMDC |
|
channel names for MDC data |
|
frFiles |
|
No description provided |
|
DQF |
|
No description provided |
|
nDQF |
|
No description provided |
|
iwindow |
|
injection time window (Tinj +/- iwindow/2) |
|
gap |
|
alias of iwindow |
|
analyze_injection_only |
|
If true, only analyse time periods around injected signals (signal duration + injection_padding). Incompatible with lag_size > 1. |
|
injection_padding |
|
Padding in seconds added to each side of the injection signal window when analyze_injection_only is enabled. |
|
l_low |
|
low frequency resolution level (2^l_low Hz) |
|
l_high |
|
high frequency resolution level (2^l_high Hz) |
|
l_white |
|
whitening frequency resolution level (2^l_white Hz), if 0 then l_white=l_high |
|
whiteWindow |
|
[sec] time window dT. if = 0 - dT=T, where T is segment duration. If whiteMethod=’mesa’, controls the MESA nRMS estimate (no values other than 60 have been tested in this context) |
|
whiteStride |
|
[sec] noise sampling time stride. If whiteMethod=’mesa’, controls the MESA nRMS estimate (no values other than 20 have been tested in this context) |
|
mesaSolver |
|
method used to solve Levinson Recursion [‘Fast’] or [‘Standard’]. Only needed if whiteMethod is ‘MESA’ |
|
mesaOrder |
|
Maximum Autoregressive order for the Lenvinson Recursion |
|
mesaHalfSeg |
|
half - 1 size of the number of PSD over which the median over which the median is computed. If < 1, no median is applied |
|
mesaWindow |
|
window length [sec] used to compute MESA PSD estimates |
|
mesaStride |
|
stride length [sec] between two consecutive MESA PSD estimates. Should be mesaWindow / 3 |
|
whiteMethod |
|
Sets what type of whitening has to be used. if ‘wavelet’ WDM time-frequency domain is applied. if ‘mesa’, it whitens with a PSD estimate given by mesa in the frequency domain. If ‘mixed’, the whitening is performed in time frequency domain but the nRMS is substitued with a MESA estimate for the coefficients |
|
mesaReindex |
|
If True, Computes possible PSDs outliers that might affect PSDs via Isolation Forest and substitute them with closest in time estimate |
|
simulation |
|
No description provided |
|
nfactor |
|
number of simulation factors |
|
factors |
|
array of simulation factors (when sim=4 factors[0] is used as offset [must be int]) |
|
levelR |
|
resampling level : inRate[fResample]/(2^levelR) Hz |
|
healpix |
|
if not 0 use healpix sky map (number of sky pixels = 12*pow(4,healpix)) |
|
plugin |
|
No description provided |
|
configPlugin |
|
No description provided |
|
filter_dir |
|
filter directory, defaults to environment HOME_WAT_FILTERS |
|
wdmXTalk |
|
WDM cross-talk file |
|
upTDF |
|
upsample factor to obtain rate of TD filter : TDRate = (inRate>>levelR)*upTDF |
|
TDSize |
|
time-delay filter size (max 20) |
|