Skip to content

Commit

Permalink
Another fix, reran notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
ColwynGulliford committed Oct 4, 2024
1 parent 456a8d6 commit 40266e0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 123 deletions.
134 changes: 13 additions & 121 deletions docs/examples/fields/corrector_modeling.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pmd_beamphysics/fields/corrector_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def make_rectangular_dipole_corrector_fieldmesh(a, b, h, I,
attrs['gridGeometry'] = 'rectangular'
attrs['axisLabels'] = ('x', 'y', 'z')
attrs['gridLowerBound'] = (0, 0, 0)
attrs['harmonic'] = 1
attrs['harmonic'] = 0
attrs['fundamentalFrequency'] = 0

components = {}
Expand Down Expand Up @@ -504,7 +504,7 @@ def make_saddle_dipole_corrector_fieldmesh(R, L, theta, I,
attrs['gridGeometry'] = 'rectangular'
attrs['axisLabels'] = ('x', 'y', 'z')
attrs['gridLowerBound'] = (0, 0, 0)
attrs['harmonic'] = 1
attrs['harmonic'] = 0
attrs['fundamentalFrequency'] = 0

components = {}
Expand Down

0 comments on commit 40266e0

Please sign in to comment.