Skip to content

getIq.m

Basic Information

  USAGE: [Iq, t, Iqn] = getIq(shot,q,t1,t2,efit_source,tokamak)

  PURPOSE: get current within q-surface

  INPUTS: shot: shot number
          q: q-values for surfaces (default 2)
          t1, t2: Specification of the time samples (t)
            t1 <= t <= t2, if length(t1)==1 & length(t2)==1
            t = t1,        if length(t1)>=1 & length(t2)==0
          efit_source: (default efit02)
          tokamak: (default d3d)

  OUTPUTS: Iq: current within q-contours
            t: times [sec]
          Iqn: Iq/cpasma, i.e. fraction of current within q-surfaces

Dependencies