You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ipec_control_fun needs to include a magnetic angle corrected theta that can be multiplied by (q_lim/n) to plot field line pitch on 3D control surface plots.
In [743]: cf = data.read('ipec_control_fun_n1.out',forcex=['r','z'])[0]
In [744]: cf.plot3d('bout')
In [745]: xy = cf.pts[:,0]_np.exp(1j_q_cf.y['theta']_2_np.pi-1j_cf.y['dphi'])
In [746]: x,y,z = xy.real,xy.imag,cf.pts[:,1]
In [747]: data.mmlab.plot3d(x,y,z,color=(0,0,0),tube_radius=0.02)
ipec_control_fun needs to include a magnetic angle corrected theta that can be multiplied by (q_lim/n) to plot field line pitch on 3D control surface plots.