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

Add magnetic gradiometry forwards for prisms #97

Merged
merged 38 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c845e90
Add diagonal third order kernels
santisoler Sep 20, 2024
cc9f30d
Add non-diagonal kernel functions
santisoler Sep 20, 2024
af40c19
Add function for k_xyz
santisoler Sep 20, 2024
6c9c216
Start adding forward functions for grad components
santisoler Sep 23, 2024
f90dd30
Start adding the other diagonal components
santisoler Sep 24, 2024
406e482
Merge branch 'main' into mag-grad
santisoler Sep 24, 2024
1fcfdeb
Add new functions to __init__.py
santisoler Sep 24, 2024
0bbd8c3
Add divergence of B test with analytic solutions
santisoler Sep 24, 2024
06b5176
Add kernels to __init__.py
santisoler Sep 24, 2024
e03721c
Start adding some tests
santisoler Sep 24, 2024
4dd6d3d
Add missing kernel_enu to `__init__.py`
santisoler Sep 26, 2024
c36099f
Fix sign of third-order kernels
santisoler Sep 26, 2024
30591a4
Make grad funcs to return nan on singular points
santisoler Sep 26, 2024
0949c98
Fix atol value for finite difference test
santisoler Sep 26, 2024
c98c432
Extend finite difference tests
santisoler Sep 27, 2024
a1343e7
Add docstring to test method
santisoler Sep 27, 2024
22adcfe
Add new functions to the API index
santisoler Sep 27, 2024
3f36314
Specify singular points in the docstrings
santisoler Sep 27, 2024
3110b57
Add private function to compute a mag component
santisoler Sep 27, 2024
0fade53
Add non-diagonal magnetic component derivatives
santisoler Sep 27, 2024
b1776d7
Update tests
santisoler Sep 27, 2024
4f215d6
Minor change on partial derivatives in docstrings
santisoler Sep 27, 2024
27c922a
Predefine components dict to avoid using globals
santisoler Sep 27, 2024
d6ab667
Fix format
santisoler Sep 27, 2024
64a835a
Continue working on extending tests
santisoler Sep 28, 2024
65d4efc
Merge branch 'main' into mag-grad
santisoler Oct 2, 2024
6120d94
Run make format
santisoler Oct 2, 2024
d3deb46
Add tests of mag grad components on faces
santisoler Oct 3, 2024
8162082
Remove print statements in tests
santisoler Oct 3, 2024
a6b70ac
Fix minus sign and use atol
santisoler Oct 3, 2024
d1fa434
Test mag grad components on singular points
santisoler Oct 3, 2024
40ba96f
Extend lists of See Also in mag functions
santisoler Oct 4, 2024
0dc074f
Specify singular points in mag grad components
santisoler Oct 4, 2024
4020148
Merge branch 'mag-grad' of github.com:santisoler/choclo into mag-grad
santisoler Oct 4, 2024
d10cf70
Cleanup tests on the limits of mag grad components
santisoler Oct 4, 2024
aaf6f65
Verbose variable name for direction of finite diff
santisoler Oct 4, 2024
1748ae0
Merge branch 'main' into mag-grad
santisoler Oct 7, 2024
c397ffc
Add doctests to new kernels
santisoler Oct 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion choclo/prism/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,34 @@
from ._kernels import (
kernel_e,
kernel_ee,
kernel_eee,
kernel_een,
kernel_eeu,
kernel_en,
kernel_enn,
kernel_enu,
kernel_eu,
kernel_euu,
kernel_n,
kernel_nn,
kernel_nnn,
kernel_nnu,
kernel_nu,
kernel_nuu,
kernel_pot,
kernel_u,
kernel_uu,
kernel_uuu,
)
from ._magnetic import (
magnetic_e,
magnetic_ee,
magnetic_en,
magnetic_eu,
magnetic_field,
magnetic_n,
magnetic_nn,
magnetic_nu,
magnetic_u,
magnetic_uu,
)
from ._magnetic import magnetic_e, magnetic_field, magnetic_n, magnetic_u
Loading