Skip to content

Add aligned-spin conditions to PhenomPv2 angle calculations#36

Open
SSL32081 wants to merge 3 commits intotedwards2412:mainfrom
SSL32081:fix-Pv2-AlignedSpin
Open

Add aligned-spin conditions to PhenomPv2 angle calculations#36
SSL32081 wants to merge 3 commits intotedwards2412:mainfrom
SSL32081:fix-Pv2-AlignedSpin

Conversation

@SSL32081
Copy link

@SSL32081 SSL32081 commented Apr 14, 2025

This PR adds back the special treatments for two angles in the aligned-spin case implemented in LALSimulation for PhenomPv2.
These changes do not affect the behaviour of PhenomPv2 in most cases, and only in aligned-spin cases.

Specifically, they are here in LALSimulation:

This PR also fixes the apparent $\pi / 2$ phase shift mentioned in #35.

Copy link

@thomasckng thomasckng left a comment

Choose a reason for hiding this comment

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

Not sure how unit tests work in this repo. Maybe just paste some test cases and results in this PR?

@SSL32081
Copy link
Author

Not sure how unit tests work in this repo. Maybe just paste some test cases and results in this PR?

Yeah, I'm thinking of pasting the tests I did here, but I’m not sure where to put them.
Besides the tests regarding the match of waveforms, what else should I include?
Like:

  • Jit?
  • Gradient?

robkamcha pushed a commit to narolaharsh/ripple that referenced this pull request Jan 12, 2026
…pple-dev/numpy-gte-1-and-lt-3

deps: update numpy requirement from <2,>=1 to >=1,<3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants