Skip to content

get_sim_initial_currents.m

Basic Information

  USAGE: [nc, i_init, i_ip] = get_sim_initial_currents(tokamak,shot,time,source,servers)

  PURPOSE: Retrieve initial currents and write simserver initialization file

  INPUTS:
       tokamak: tokamak  string
    shot: shotnumber integer
    time: array of times
       esource: efit tree
       server: mdsplus server
       fsource: F-coil data source 'efit' or 'exp'

  OUTPUTS:

  RESTRICTIONS:  Only setup for D3D tokamak (will generalize as necessary)

Dependencies