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

Making the check on sigma for FisherSky class more relax (allowing 0 value) #4994

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

Thomas-JACQUOT
Copy link
Contributor

This PR is allowing 0 values for sigma in the FisherSky class. The FisherSky class follows a numpy.random.rayleigh distribution which allows 0 values for sigma (see this comment)

Standard information about the request

This change affects: PyGRB

This change will: allow to use FisherSky distribution for GRBs that has a sky_error equals to 0.

Motivation

I want to do this PR in order to use PyGRB with GRBs that has a sky_error equals to 0 and uses FisherSky class as a prior for the right ascension and the declination.

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

@titodalcanton titodalcanton enabled auto-merge (squash) December 18, 2024 13:40
@titodalcanton titodalcanton merged commit 91994c8 into gwastro:master Dec 18, 2024
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants