Skip to content

get_isoflux_ref_data.m

Basic Information

  SYNTAX: ref_flux_src = get_isoflux_ref_data(shot,t0,datafunc,dt)

  PURPOSE: Retrieves reference flux sources for a given shot & time

  INPUT: [default]
     shot = Shot number
     t0 = Desired time for target (s)
     datafunc = Function handle to data collection function
                 (function must be of form
                    [d,t,ier] = f(shot,signal,tmin,tmax))
     dt = Interval around time to collect target data (s) [0.02]

  OUTPUT:
    ref_flux_src = Reference flux indices (length = 4).
                   Indices #1-18 refer to segments 1-18.
                   Indices 19 & 20 refer to grid1 & 2, respectively.

  RESTRICTIONS: Reference targets must not change in interval [t0-dt,t0+dt]

Dependencies