Skip to content

Control Surface Pitch #7

Description

@logan-nc

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.

Activity

  1. logan-nc commented on Sep 16, 2015

    @logan-nc
    ContributorAuthor

    Fixed in 7df3caa.

    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)

    image

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions