Skip to content

Commit

Permalink
Merge pull request #67 from tsunhopang/fixing_alinged_spin
Browse files Browse the repository at this point in the history
Fixing missing bound for AlignedSpin prior
  • Loading branch information
kazewong authored Feb 5, 2024
2 parents aaf25fc + 397b2e3 commit c477887
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/jimgw/prior.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,14 @@ def __init__(
self.chi_axis = chi_axis
self.cdf_vals = cdf_vals

@property
def xmin(self):
return -self.amax

@property
def xmax(self):
return self.amax

def sample(
self, rng_key: PRNGKeyArray, n_samples: int
) -> dict[str, Float[Array, " n_samples"]]:
Expand Down

0 comments on commit c477887

Please sign in to comment.