Adding a new function vallisneri_criterion_cdf that generates the mismatch criterion abs(log(r)) cdf seen in Vallisneri 2008 and samples the 90th percentile value, for comparison with a given threshold (typically 0.1). Optionally returns the cdf.
Also modifies mismatch_criterion to include a use_gpu optional argument (defaults False) and properly treats polar angle boundary conditions by modifying the polar and azimuthal angle pairs appropriately. This allows for LSA tests to incorporate angular periodicity, which is important for events with angular parameters near the outer edges of [0, 2pi].
Adding a new function
vallisneri_criterion_cdf
that generates the mismatch criterion abs(log(r)) cdf seen in Vallisneri 2008 and samples the 90th percentile value, for comparison with a given threshold (typically 0.1). Optionally returns the cdf. Also modifiesmismatch_criterion
to include ause_gpu
optional argument (defaults False) and properly treats polar angle boundary conditions by modifying the polar and azimuthal angle pairs appropriately. This allows for LSA tests to incorporate angular periodicity, which is important for events with angular parameters near the outer edges of [0, 2pi].