omas.probe_endpoints

omas.probe_endpoints(r0, z0, a0, l0, cocos)[source]

Transform r,z,a,l arrays commonly used to describe poloidal magnetic probes geometry to actual r,z coordinates of the end-points of the probes. This is useful for plotting purposes.

Parameters
  • r0 – r coordinates [m]

  • z0 – Z coordinates [m]

  • a0 – poloidal angles [radiants]

  • l0 – lenght [m]

  • cocos – cocos convention

Returns

list of 2-points r and z coordinates of individual probes