pleiades.analysis – Analysis Functions¶
Mathematical Functions¶
pleiades.analysis.get_gpsi |
Plotting Helper Functions¶
pleiades.analysis.get_mirror_patches |
Get mirror image patches across desired axis. |
pleiades.analysis.scale_patches |
scale patches by desired factor. |
pleiades.analysis.transpose_patches |
Transpose patches (reflect across line y=x). |
Interpolation Helper Functions¶
pleiades.analysis.contour_points |
|
pleiades.analysis.reflect_and_hstack |
Reflect and concatenate grid and quantities in args to plot both half planes (rho>=0 and rho<=0). |
pleiades.analysis.regular_grid |
|
pleiades.analysis.poly_fit |
|
pleiades.analysis.transform_to_rtheta |
Transform Rho Z grid and rho,z components of vector field to polar coordinates |
pleiades.analysis.transform_to_rhoz |
Transform R Theta grid and r theta components of vector field to cylindrical coordinates |
pleiades.analysis.locs_to_vals |
Picks values of field Q at desired coordinates. |
pleiades.analysis.locs_to_vals_griddata |
Picks values of field Q at desired coordinates. |
pleiades.analysis.locs_to_vals1D |
Picks values of field Q at desired coordinates. |
Fieldline Analysis Functions¶
pleiades.analysis.get_fieldlines |
Return coordinates for segments comprising a flux surface (Nx2 array). |
pleiades.analysis.parse_segment |
|
pleiades.analysis.get_fieldline_distance |
Return cumulative field line distance vector |
pleiades.analysis.interp |
interpolate quantity Q on Rho, Z grid onto flpoints (Nx2 array of x,y pairs). |
pleiades.analysis.flux_surface_avg |
Compute flux surface average of quantity Q or return dVdpsi (dl_B) |
pleiades.analysis.diff_central |
Miscellaneous Helper Functions¶
pleiades.analysis.get_deltapsi |
Returns contribution to psi from fast ion currents. |
pleiades.analysis.get_concave_hull |