The following describes the format of MAD 8 output file types, *_twiss.tape and *_survey.tape. _twiss.tape: ------------ Each lattice element is described in a block of 5 mines: line | contents 1 element-typeElement-Name Length elem p1 p2 p3 aperture engineering-type Energy 2 p4 p5 p6 p7 p8 Formal-device-name(82:105) 3 alphax betax mux dx dpx 4 alphay betay muy dy dpy 5 x px y py t pt [ reference particle orbit centroid ] _survey.tape: ------------- Each lattice element is described in a block of 4 lines: 1 element-typeElement-Name Length elem p1 p2 p3 aperture engineering-type Energy 2 p4 p5 p6 p7 p8 3 x y z s [ geometry coordinates ] 4 yaw pitch roll