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

Use SkyGrid functions to write the HDF5 file and fix error in angular convention #5000

Merged
merged 9 commits into from
Jan 9, 2025

Conversation

Thomas-JACQUOT
Copy link
Contributor

Standard information about the request

This is a change in the pycbc_make_sky_grid script that use instruments attribute name for detectors and the SkyGridclass was using detectors

This change affects: sky grid scripts and PyGRB

Motivation

@titodalcanton and I want to make some PyGRB runs on GRB190427A which has a non zero sky error which will fail if this error is not fixed (see this discussion)

  • The author of this pull request confirms they will adhere to the code of conduct

@Thomas-JACQUOT Thomas-JACQUOT added bug PyGRB PyGRB development labels Jan 6, 2025
pycbc/tmpltbank/sky_grid.py Outdated Show resolved Hide resolved
pycbc/tmpltbank/sky_grid.py Outdated Show resolved Hide resolved
bin/pycbc_make_sky_grid Outdated Show resolved Hide resolved
bin/pycbc_make_sky_grid Outdated Show resolved Hide resolved
bin/pycbc_make_sky_grid Outdated Show resolved Hide resolved
bin/pycbc_make_sky_grid Outdated Show resolved Hide resolved
pycbc/tmpltbank/sky_grid.py Outdated Show resolved Hide resolved
bin/pycbc_make_sky_grid Outdated Show resolved Hide resolved
Copy link
Contributor

@titodalcanton titodalcanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, let's wait for your tests before merging.

@titodalcanton titodalcanton changed the title Using SkyGrid functions to write the HDF5 file and calculate time delays Using SkyGrid functions to write the HDF5 file Jan 9, 2025
Copy link
Contributor

@pannarale pannarale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Thomas-JACQUOT and @titodalcanton. This looks good!

@titodalcanton titodalcanton changed the title Using SkyGrid functions to write the HDF5 file Use SkyGrid functions to write the HDF5 file and fix error in angular convention Jan 9, 2025
@titodalcanton
Copy link
Contributor

We also realized that the angular convention used by pycbc_make_sky_grid was not right, so this adds that fix as well.

@titodalcanton titodalcanton enabled auto-merge (squash) January 9, 2025 16:32
@titodalcanton titodalcanton mentioned this pull request Jan 9, 2025
5 tasks
@titodalcanton titodalcanton merged commit 0d6ce48 into gwastro:master Jan 9, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug PyGRB PyGRB development
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants