Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
santisoler committed Sep 27, 2024
1 parent 27c922a commit d6ab667
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 30 deletions.
28 changes: 14 additions & 14 deletions choclo/prism/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +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_eee,
kernel_nnn,
kernel_uuu,
kernel_een,
kernel_eeu,
kernel_enn,
kernel_nnu,
kernel_euu,
kernel_nuu,
kernel_enu,
)
from ._magnetic import (
magnetic_e,
magnetic_field,
magnetic_n,
magnetic_u,
magnetic_ee,
magnetic_nn,
magnetic_uu,
magnetic_en,
magnetic_eu,
magnetic_field,
magnetic_n,
magnetic_nn,
magnetic_nu,
magnetic_u,
magnetic_uu,
)
26 changes: 15 additions & 11 deletions choclo/prism/_magnetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@
from ..constants import VACUUM_MAGNETIC_PERMEABILITY
from ._kernels import (
kernel_ee,
kernel_en,
kernel_eu,
kernel_nn,
kernel_nu,
kernel_uu,
kernel_eee,
kernel_nnn,
kernel_uuu,
kernel_een,
kernel_eeu,
kernel_en,
kernel_enn,
kernel_nnu,
kernel_enu,
kernel_eu,
kernel_euu,
kernel_nn,
kernel_nnn,
kernel_nnu,
kernel_nu,
kernel_nuu,
kernel_enu,
kernel_uu,
kernel_uuu,
)
from ._utils import (
is_interior_point,
Expand Down Expand Up @@ -1827,8 +1827,12 @@ def _calculate_component(
----------
easting, northing, upward : floats
Coordinates of the observation point. Must be in meters.
prism_west, prism_east, prism_south, prism_north, prism_bottom, prism_top : floats
The boundaries of the prism. Must be in meters.
prism_west, prism_east : floats
The easting boundaries of the prism. Must be in meters.
prism_south, prism_north : floats
The northing boundaries of the prism. Must be in meters.
prism_bottom, prism_top : floats
The upward boundaries of the prism. Must be in meters.
magnetization_east, magnetization_north, magnetization_up : floats
The components of the magnetization vector of the prism. Must be in
:math:`A m^{-1}`.
Expand Down
10 changes: 5 additions & 5 deletions choclo/tests/test_prism_magnetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

from ..prism import (
magnetic_e,
magnetic_field,
magnetic_n,
magnetic_u,
magnetic_ee,
magnetic_nn,
magnetic_uu,
magnetic_en,
magnetic_eu,
magnetic_field,
magnetic_n,
magnetic_nn,
magnetic_nu,
magnetic_u,
magnetic_uu,
)


Expand Down

0 comments on commit d6ab667

Please sign in to comment.