Skip to content

Commit

Permalink
Complete defining features
Browse files Browse the repository at this point in the history
  • Loading branch information
jank324 committed Aug 26, 2024
1 parent 46f9fe9 commit f766cf5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cheetah/accelerator/dipole.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,14 +444,20 @@ def __repr__(self):
def defining_features(self) -> list[str]:
return super().defining_features + [
"length",
"p0c",
"angle",
"k1",
"e1",
"e2",
"tilt",
"gap",
"gap_exit",
"fringe_integral",
"fringe_integral_exit",
"gap",
"tilt",
"fringe_at",
"fringe_type",
"tracking_method",
"name",
]

def plot(self, ax: plt.Axes, s: float) -> None:
Expand Down

0 comments on commit f766cf5

Please sign in to comment.