Skip to content

Commit

Permalink
removes ByError from sbend help in matlab (#690)
Browse files Browse the repository at this point in the history
* removes ByError from sbend help

* adds S to BEND in SBEND
  • Loading branch information
oscarxblanco authored Nov 8, 2023
1 parent 01c0d22 commit 663ec4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions atintegrators/sbend.m
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
function z=sbend(fname,L,A,A1,A2,K,method)
%SBEND Creates a sector bend element in old AT versions (Obsolete)
%BEND('FAMILYNAME', Length[m], BendingAngle[rad], EntranceAngle[rad],
%SBEND('FAMILYNAME', Length[m], BendingAngle[rad], EntranceAngle[rad],
% ExitAngle[rad], K, 'METHOD')
% creates a new family in the FAMLIST - a structure with fields
% FamName family name
% Length length of the arc for an on-energy particle [m]
% BendingAngle total bending angle [rad]
% EntranceAngle [rad] (0 - for sector bends)
% ExitAngle [rad] (0 - for sector bends)
% ByError error in the dipole field relative to the design value
% K quadrupole K-value for combined funtion bends
% PassMethod name of the function to use for tracking
% returns assigned address in the FAMLIST that is uniquely identifies
Expand Down

0 comments on commit 663ec4e

Please sign in to comment.