Skip to content

getiso.m

Basic Information

  USAGE: [iso,t] = getiso(shot,rziso,t1,t2,efit_source,tokamak,idoplot)

  PURPOSE: Get iso fluxes and fields at rziso points

  INPUTS:    shot: shot number
            rziso: R, Z of isoflux points arranged as [R(:) Z(:)] (unit: meters)
           t1, t2: Specification of the time samples (t)
                   t = all efit times, if t1,t2 are empty or not supplied
                   t1 <= t <= t2, if length(t1)==1 & length(t2)==1
                   t = t1,        if length(t1)>=1 & length(t2)==0
      efit_source: string with name of efit-tree OR equil_data
                   default efit01 for shot<900000, efitrt1 for shot>=900000
          tokamak: default d3d
          idoplot: flag to plot limiter and rziso points

  OUTPUTS:    iso: structure with fields:
                   psi: flux at rziso points
                   br, bz: Br, Bz at rziso points
                t: time [sec]

Dependencies