diff --git a/src/simsopt/geo/framedcurve.py b/src/simsopt/geo/framedcurve.py index 7a7e6ef5d..dc883418f 100644 --- a/src/simsopt/geo/framedcurve.py +++ b/src/simsopt/geo/framedcurve.py @@ -31,13 +31,6 @@ def __init__(self, curve, rotation=None): self.rotation = rotation Curve.__init__(self, depends_on=deps) - def frame_twist(self): - t, n, _ = self.rotated_frame() - _, ndash, _ = self.rotated_frame_dash() - T = (n[:,0] * (ndash[:,1]*t[:,2] - ndash[:,2]*t[:,1]) \ - + n[:,1] * (ndash[:,2]*t[:,0] - ndash[:,0]*t[:,2]) \ - + n[:,2] * (ndash[:,0]*t[:,1] - ndash[:,1]*t[:,0])) - return np.sum(T)/(len(T)*2*np.pi) class FramedCurveFrenet(FramedCurve): r"""