New ROQ format
The new ROQ format (hdf5 format) will require changes in the pbilby.analysis.likelihood file (of the restructure
branch).
Example ini:
label = GW170817_bilby2_ROM_testoutdir = outdir
trigger_time = 1187008882.43
duration = 128
waveform_approximant = IMRPhenomPv2_NRTidalv2
roq-linear-matrix=basis_256s.hdf5
roq-quadratic-matrix=basis_256s.hdf5
likelihood-type=ROQGravitationalWaveTransient
prior-file = lowspin.prior
enforce-signal-duration=False
detectors = [H1, L1, V1]
psd_dict = {H1=../raw_data/h1_psd.txt, L1=../raw_data/l1_psd.txt, V1=../raw_data/v1_psd.txt}
data-dict = {H1:../raw_data/H1.gwf, L1:../raw_data/L1.gwf, V1:../raw_data/V1.gwf}
channel_dict = {H1:DCH-CLEAN_STRAIN_C02, L1:DCH-CLEAN_STRAIN_C02_T1700406_v3, V1:Hrec_hoft_V1O2Repro2A_16384Hz}
time-marginalization = False
distance-marginalization = True
phase-marginalization = True
minimum-frequency = 23
maximum-frequency = 2048
sampling-frequency = 4096
frequency-domain-source-model = lal_binary_neutron_star
nlive = 2000
walks = 100
maxmcmc = 5000
nact = 5
Error (during the analysis stage, the data-generation works)
File "/fred/oz980/avajpeyi/installations/parallel_bilby/parallel_bilby/analysis/likelihood.py", line 63, in roq_likelihood_kwargs
params = np.genfromtxt(args.roq_folder + "/params.dat", names=True)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
We should include a test with the new ROQ file. bilby-pipe ini: https://git.ligo.org/lscsoft/bilby_pipe/-/blob/master/examples/other_examples/bbh_roq_hdf5.ini