Skip to content

make_model_script.m

Basic Information

  SYNTAX:  make_model_script

  PURPOSE:  Script to build output objects needed to build isoflux models.

  INPUT:
    shotnum = shot number
    time    = equilibrium time (ms)
       tokamak = name of device to build model for
       tok_data_struct = vacuum data objects for this device
    out_irzresp = output irzresp value (1, 2, or 3)
       eqdir   = directory where efit equilibrium files are located
       efit_source = tree in mdsplus to get equilibrium, e.g. EFIT01, EFITRT
               (only one of either eqdir or efit_source should be specified)

  OUTPUT:
    out_objs_<shotnum>_<time>.mat  - mat file containing isoflux objects
    out2_objs_<shotnum>_<time>.mat - mat file containing magnetics objects

  RESTRICTIONS: Requires existence of script mdl_parms_<shotnum>_<time>.m
    in your matlab path.

Dependencies