Skip to content

read_util.m

Basic Information

  SYNTAX: [control_pts,response] = read_util(rtefit_defns,filename)

  PURPOSE: Read response info for control segments or grids

  INPUT:
     rtefit_defns = rtEFIT data definiton structure (see define_rtefit_objects.m)
     filename = File containing response data

  OUTPUT:
     cntrl_pts = list of locations (r,z) of control points
     response = brg,bzg,or mutuals between control point and current sources
        First coordinate in data objects mutuals, brgreens, bzgreens corresponds
        to conductors, in the following order: F-coils, E-coils,
        next vessel elts, last nz x nr = grid elements.
        UNITS are Amp-turns, Wb/rad, and Tesla

  METHOD:  Note that this function takes care of conversion from the rtefit
     convention, which uses a row-first indexing to the efit/matlab convention,
     which uses a column-first indexing.

Dependencies