Closed urmila-star closed 3 years ago
Hi @urmila-star
Yes, of course you can add an aperture between the quadrupole. But "addCircleApertureSet" is not the right way, quadrupole is not Drift, pyorbit can not split quadrupole directly. The right way is add the 'aperture node' as a child node of quadrupole, the function " node.addChildNode(****)" is what you need.
Thank you
Sir, when we are using aperture in between the quadrupole, it give the message “non-drift element at the place of the Aperture node! Stop!". Is there any way to use aperture in between quadrupoles or any magnetic element just to check losses at this place? Also, function “addCircleApertureSet(a,teapot_latt,0.0,L,0,0) ” appears to be not working. Related input files are attached here. PyORBIT File For Aperture.zip