Skip to content
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

Add the code to generate the sky grid that will be used by pycbc_multi_inspiral #4485

Merged
merged 10 commits into from
Jan 25, 2024

Conversation

hoangstephanie
Copy link
Contributor

@hoangstephanie hoangstephanie commented Sep 13, 2023

This PR adds the code that generates the sky grid that will be used by pycbc_multi_inspiral.

The sky grid is circular and the points are placed following the method described in Section V of https://arxiv.org/abs/1410.6042.

The grid is first generated centered on the North pole, then rotated to the center of the localization error region. The output of the code is an hdf file with two datasets : ra and dec, corresponding to the sky points pycbc_multi_inspiralwill loop over.

@titodalcanton titodalcanton added the PyGRB PyGRB development label Sep 13, 2023
@hoangstephanie
Copy link
Contributor Author

Here is an example of the sky grid generated by pycbc_make_sky_grid for GW170817, using a --sky-error 0.523599 :
image

@titodalcanton
Copy link
Contributor

Thanks! See some minor comments on formatting and CLI above, but this looks like a good start.

@titodalcanton titodalcanton changed the title Add the code to generate the sky grid that will be used by pycbc_multi_inspiral Draft: add the code to generate the sky grid that will be used by pycbc_multi_inspiral Sep 15, 2023
@titodalcanton titodalcanton marked this pull request as draft September 15, 2023 14:21
@titodalcanton titodalcanton changed the title Draft: add the code to generate the sky grid that will be used by pycbc_multi_inspiral Add the code to generate the sky grid that will be used by pycbc_multi_inspiral Sep 20, 2023
@titodalcanton titodalcanton marked this pull request as ready for review September 20, 2023 12:47
@pannarale pannarale merged commit da72a89 into gwastro:master Jan 25, 2024
33 checks passed
@pannarale pannarale mentioned this pull request Jan 25, 2024
5 tasks
bhooshan-gadre pushed a commit to bhooshan-gadre/pycbc that referenced this pull request Mar 4, 2024
…i_inspiral (gwastro#4485)

* Add the code to generate the sky grid that will be used by pycbc_multi_inspiral

* Minor changes on formatting and CLI

* Change comments

* Replace the explicit calculation of the norm with a numpy function and let the output file extension be given

* Modify help messages

* Remove non-used imports and write input values in the output file

* Calculate the time delay corresponding to each sky point

* Change the calculation of the angular spacing
lpathak97 pushed a commit to lpathak97/pycbc that referenced this pull request Mar 13, 2024
…i_inspiral (gwastro#4485)

* Add the code to generate the sky grid that will be used by pycbc_multi_inspiral

* Minor changes on formatting and CLI

* Change comments

* Replace the explicit calculation of the norm with a numpy function and let the output file extension be given

* Modify help messages

* Remove non-used imports and write input values in the output file

* Calculate the time delay corresponding to each sky point

* Change the calculation of the angular spacing
acorreia61201 pushed a commit to acorreia61201/pycbc that referenced this pull request Apr 4, 2024
…i_inspiral (gwastro#4485)

* Add the code to generate the sky grid that will be used by pycbc_multi_inspiral

* Minor changes on formatting and CLI

* Change comments

* Replace the explicit calculation of the norm with a numpy function and let the output file extension be given

* Modify help messages

* Remove non-used imports and write input values in the output file

* Calculate the time delay corresponding to each sky point

* Change the calculation of the angular spacing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PyGRB PyGRB development
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants