Public Member Functions | |
| __init__ (self, winding, int index, float radius) | |
| float | coverage (self) |
| float | bending_radius (self) |
| float | geodesic_torsion (self) |
Public Attributes | |
| winding = winding | |
| index = index | |
| radius = radius | |
| stadium = Stadium(winding.ws, radius) | |
| perimeter = self.stadium.perimeter | |
| sigma = winding.sense * (1 if index % 2 == 0 else -1) | |
| tan_theta = self.perimeter / winding.pitch | |
| theta = math.atan(self.tan_theta) | |
| cos_theta = math.cos(self.theta) | |
| sin_theta = math.sin(self.theta) | |
| tape_span = winding.tapeWidth / self.cos_theta | |
| sector = self.perimeter / winding.numTapes | |
| gap_span = self.sector - self.tape_span | |
| list | tapes |
| rutherford.winding.Layer.__init__ | ( | self, | |
| winding, | |||
| int | index, | ||
| float | radius ) |
| float rutherford.winding.Layer.bending_radius | ( | self | ) |
Radius of the tape centerline's normal curvature on the round edges: the surface curvature 1/r taken in the direction of the oblique tape path (Euler's theorem, kappa_n = sin^2 theta / r).
| float rutherford.winding.Layer.coverage | ( | self | ) |
Fraction of the layer surface under tape.
| float rutherford.winding.Layer.geodesic_torsion | ( | self | ) |
Twist rate of the tape on the round edges, sin cos / r.
| rutherford.winding.Layer.cos_theta = math.cos(self.theta) |
| rutherford.winding.Layer.gap_span = self.sector - self.tape_span |
| rutherford.winding.Layer.index = index |
| rutherford.winding.Layer.perimeter = self.stadium.perimeter |
| rutherford.winding.Layer.radius = radius |
| rutherford.winding.Layer.sector = self.perimeter / winding.numTapes |
| rutherford.winding.Layer.sigma = winding.sense * (1 if index % 2 == 0 else -1) |
| rutherford.winding.Layer.sin_theta = math.sin(self.theta) |
| rutherford.winding.Layer.tan_theta = self.perimeter / winding.pitch |
| rutherford.winding.Layer.tape_span = winding.tapeWidth / self.cos_theta |
| list rutherford.winding.Layer.tapes |
| rutherford.winding.Layer.theta = math.atan(self.tan_theta) |
| rutherford.winding.Layer.winding = winding |