Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
smiet committed Nov 22, 2023
1 parent b4f5d3d commit d11d25f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simsopt/geo/surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ def fourier_transform_field(self, field, mpol=None, ntor=None, normalization=Non
+ A^{mn}_c \cos(m\theta - n*Nfp*\phi)`
Where the cosine series is only evaluated if the surface is not stellarator
symmetric (if the field does not adhere to the symmetry of the surface,
request the cosine series by setting the kwarg stellsym=False)
request the cosine series by setting the kwarg stellsym=False)
*Arguments*:
- field: 2D array of shape (numquadpoints_phi, numquadpoints_theta).
- mpol: maximum poloidal mode number of the transform, if None,
Expand Down Expand Up @@ -815,7 +815,7 @@ def deduced_range(self):
"""
if np.isclose(self.quadpoints_phi[-1], 1-1/len(self.quadpoints_phi), atol=1e-10):
return Surface.RANGE_FULL_TORUS
elif self.quadponts_phi[0] == 0:
elif self.quadpoints_phi[0] == 0:
return Surface.RANGE_FIELD_PERIOD
else:
return Surface.RANGE_HALF_PERIOD
Expand Down

0 comments on commit d11d25f

Please sign in to comment.