pleiades.analysis.get_fieldlines

pleiades.analysis.get_fieldlines(contourset, level, start_coord=None, end_coord=None, clockwise=True, idx_check=[])[source]

Return coordinates for segments comprising a flux surface (Nx2 array).

Parameters:
  • contourset (matplotlib.contour.QuadContourSet instance) – i.e.
  • call (ax.contour) –
  • level (float) – desired contour level
  • start_coord (tuple) – coordinate (x,y) at which to start the field line
  • end_coord (tuple) – coordinate (x,y) at which to end the field line
  • clockwise (bool) – whether to order the field line coordinates clockwise or
  • counterclockwise