-
Notifications
You must be signed in to change notification settings - Fork 356
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
PyGRB: Re-write injection infrastructure #3468
Comments
@a-r-williamson you may want to watch out for the issue described in #3427. |
It would be a great test of the new injection infrastructure if you can directly sample from the required GRB distributions with |
|
@a-r-williamson The current limitation of pycbc_create_injections (and some of the stuff below) is what Tito has pointed out. At the moment that means it is difficult to do an injection set that uses multiple waveform approximants at the same time. The other issue is is how to place injections in time. As is, there isn't a way to ensure minimum separation between injections. I am working to address that in #3415, but haven't gotten back to addressing the reviewer comments yet. |
The idea of the new stuff @cdcapano wrote is to avoid having to need codes like (This would have the added benefit of having dark_vs_bright directly available for PE sampling!) |
So, is the suggestion to do this via the |
From |
@pannarale Yes, that's right. To do that, you need a function in pycbc.conversions that calculates the remnant mass. Then you can use that function as a constraint. What is the function you are looking to use? Is it just an estimate of the final mass from NR? We do currently have
(this assumes you have variable params |
@pannarale Yes, I think so (but @cdcapano is the expert, so feel free to consult him in Slack). This issues Alex and Tito raise should be fixed in the next ~month as these are needed for all-sky search (but of course if one of you lot beat us to it, then great!) |
@titodalcanton Sorry, I forgot about that issue you rose. I'll get back to it. |
I suggest to move discussion of the constraint to the Slack. |
@spxiwh @pannarale @ahnitz @sfairhur @SamuelH-97 and I will be looking at the EM-bright constraint. We have some relevant notes sketched out here but are yet to make any real code changes for a PR. One thing we wanted to ask for views on is: how much of the code in |
@a-r-williamson The EMbright stuff doesn't really belong in |
@pannarale do you consider this issue resolved now? |
PyGRB injections should use hdf5 and generally not be so ad hoc.
This entails replacing
lalapps_inspinj
,pycbc_dark_vs_bright_injections
,pycbc_split_inspinj
, and thepylal
codes with one executable that makes suitable injections for a GRB search.This can potentially piggy back on
pycbc_create_injections
andpycbc_hdf5_splitbank
.The text was updated successfully, but these errors were encountered: