Skip to content

Fix phi=M_PI boundary issues for the RegionSelector

Mark Sutton requested to merge sutt/athena:regsel into master

Because the RoiDescriptor stores its members as floats, get potential issues at the phi=M_PI boundary, since float(M_PI) > M_PI in the 7th decimal place. This adds added protection to helpp reduce issues

In addition, in case there are any non-fullscan Rois that span the full 2M_PI range, there is no need to check whether the seeds lie in the phi boundary in the Seed Generator

Merge request reports