ochubar / SRW

Synchrotron Radiation Workshop
Other
86 stars 70 forks source link

Equivalent of SrwMagEdge #33

Open yrtan opened 3 years ago

yrtan commented 3 years ago

I am trying to port an old IGOR FarIR beamline model to python however I cannot find the equivalent for SrwMagEdge.

SrwMagFieldCreate("MagSMIS",FieldCenter,FieldLength,FieldPointsNumber) SrwMagEdge("MagSMISBZ_fld",1,FieldCenter,LengthStraighSection,100,FieldValue)

I've started with Example 13 but could not recreate the observed visible profile on the beamline. The question I'm trying to answer is how an insertion device with a narrow vertical gap chamber will affect the edge radiation (this is used by the Far-IR beamline).

AUS_IR_JWM_May_08_2007_HRFITR_1.1.txt