-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding add_statmap code #2811
adding add_statmap code #2811
Conversation
diff between this and the multiifo combine statmap may make the changes easier to see: I will try to remember to upload again after changes, but the version on CIT will probably be updated more regularly: add_vs_combine_statmap_diff_output.txt |
I think the appropriate test here is to print out or otherwise output the FAR values after clustering from the previous trials-factor (combine_statmap) method and from this one and check they are the same for double time and comparable (but not identical) for triple time the gps times of the new clustered events may not be identical to the old ones but we should be able to compare one cluster with another around the same time in all or nearly all cases. |
(Note that these plots are from an O2 chunk 21 run with a weird background statistic distribution due to a separate issue with the [uncombined] statmap code which is being addressed in parallel.) |
Updated diff of add_statmap and combine_statmap: |
Noting that we want to initially cluster coincs in triple time by stat (not ifar) since we believe the stat should be a better ranking between different types of coinc. |
618c6d7
to
e65846a
Compare
@ahnitz note this is no longer WIP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly changes to comments, ordering etc., one significant request to make the 'available combos' calc more readable.
& you will want to fetch/rebase after addressing comments. |
…le more similar to combine_statmap
e65846a
to
5689088
Compare
@GarethDaviesGW I haven't tried running this myself, but I've scanned through the code. I don't have any major comments. It looks to have the pieces I'd have expected to be there for what I think it's supposed to do (i.e. rerank events with a combined background). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Barring implementing @tdent's changes.
* adding add_statmap code to utilise different backgrounds for ifar calculation * Cluster over stat instead of ifar. Make the background calculation _much_ faster. * axis needed for np sum in far calculation
pycbc_multiifo_add_statmap
code will use backgrounds of any coincidences where that detector combination is 'on'.For example, if the foreground coincidence comes from H1L1, but V1 was also operating at the time, the background used for ifar/fap/ifar_exc/fap_exc calculation will combine backgrounds from H1L1, H1V1, L1V1 and H1L1V1