janosch314 / GWFish

Simulation of detector networks with Fisher-matrix PE
33 stars 20 forks source link

Return detected indices #67

Closed jacopok closed 6 months ago

jacopok commented 6 months ago

Change the signature of compute_fisher_errors to

detected, snr, errors, sky_localization = compute_network_errors(...)

where detected is an array of indices for the detected signals, while snr and the other return values contain all the signals, even the ones that were not detected.

This solves a bug with the saving of the data in cases where not all signals are detected.

u-dupletsa commented 6 months ago

check OK