Skip to content

Commit

Permalink
Changed both instances of Closed_Field.Closed_Field() to just Closed_…
Browse files Browse the repository at this point in the history
…Field to reflect updated structure
  • Loading branch information
Benjamin Matthew Schumont committed Dec 5, 2024
1 parent c16a62d commit d72ae2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/lgmpy/Lstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def get_Lstar(pos, date, alpha = 90.,
MagEphemInfo.B = Bvec.magnitude()

# check and see if the field line is closed before doing much work
trace, northern, southern, minB, Lsimple = Closed_Field.Closed_Field(MagEphemInfo, extended_out=True)
trace, northern, southern, minB, Lsimple = Closed_Field(MagEphemInfo, extended_out=True)

# presetup the ans[Angle] so that it can be filled correctly
for pa in Alpha:
Expand Down Expand Up @@ -793,7 +793,7 @@ def get_Lstar_General(pos, date, alpha = 90.,
MagEphemInfo.B = Bvec.magnitude()

# check and see if the field line is closed before doing much work
trace, northern, southern, minB, Lsimple = Closed_Field.Closed_Field(MagEphemInfo, extended_out=True)
trace, northern, southern, minB, Lsimple = Closed_Field(MagEphemInfo, extended_out=True)

# presetup the ans[Angle] so that it can be filled correctly
for pa in Alpha:
Expand Down

0 comments on commit d72ae2b

Please sign in to comment.