Skip to content

Correct term in peters_g(n, e) - #128

Open
TomWagg wants to merge 6 commits into
mainfrom
g_fix
Open

Correct term in peters_g(n, e)#128
TomWagg wants to merge 6 commits into
mainfrom
g_fix

Conversation

@TomWagg

@TomWagg TomWagg commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

This fixes #127, please see that issue for details where this could affect results (mostly low harmonics for high eccentricity sources). Many thanks to @willcerny who found this bug.

I've also added a fix I've been meaning to do that means that LEGWORK plotting styles will be contained to LEGWORK plots (we now don't mess with people's rc params).

Also updated to numpy v2 and np.trapezoid (which is why the tests failed initially)

@TomWagg
TomWagg requested a review from katiebreivik July 9, 2026 16:57
@TomWagg TomWagg self-assigned this Jul 9, 2026
@TomWagg TomWagg added the bug Something isn't working label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible issue with calculation of g(n,e)

1 participant