Skip to content

Commit

Permalink
added function name to __all__
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Giuliani committed Mar 29, 2024
1 parent 284c4ea commit 5663c88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/simsopt/field/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
+ mgrid.__all__
+ normal_field.__all__
+ tracing.__all__
+ magnetic_axis_helpers.__all__
)
2 changes: 2 additions & 0 deletions src/simsopt/field/magnetic_axis_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
from simsopt.geo import CurveRZFourier
from scipy.integrate import solve_ivp

__all__ = ['compute_on_axis_iota']

def compute_on_axis_iota(axis, magnetic_field):
"""
Computes the rotational transform on the magnetic axis of a device using a method based on
Expand Down

0 comments on commit 5663c88

Please sign in to comment.