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

Curl_curl function shoud be k * k' - I abs2(k) #12

Merged
merged 29 commits into from
Nov 19, 2023
Merged

Curl_curl function shoud be k * k' - I abs2(k) #12

merged 29 commits into from
Nov 19, 2023

Conversation

jwscook
Copy link
Owner

@jwscook jwscook commented Nov 4, 2023

curl_curl has never actually been exactly that but rather a Re (real) version of it. It has never reflected that the differential operator d/dx has turned into a Fourier im k. It has always just been k * k' - I(3) * abs2(k) where k=[k_perp, 0, k_parallel], i.e. the imaginary number im and associated minus signs have already been taken care of.

This PR does not indicate a mathematical bug but rather one of innaccurate nomenclature.

jwscook added 27 commits July 8, 2023 12:47
…tions quicker (#9)

* not working yet

* works without needing residues

* works in most cases except large negative kz

* newberger tests pass except real poles

* all tests pass with fallback to slow method for real poles

* all tests now pass

* this will be release 0.2.0

* remove dead code

* amendements from coverage report

* this makes tests go faster

* forgot begin statement

* works but purely real pole is inaccurate

* never use this constructor for Tolerance

* start with fewer points for adapative residue calc

* actually make it 0.1.8 - not api breaking
* bugfix Dual of besselix
@codecov-commenter
Copy link

codecov-commenter commented Nov 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a51e8e7) 99.90% compared to head (64b5ecf) 99.90%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #12   +/-   ##
=======================================
  Coverage   99.90%   99.90%           
=======================================
  Files          25       25           
  Lines        1088     1089    +1     
=======================================
+ Hits         1087     1088    +1     
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jwscook jwscook merged commit 0dd8fdc into main Nov 19, 2023
2 checks passed
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