get_efit_data1.m
SYNTAX: get_efit_data
PURPOSE: Script to extract many slices of EFIT data from set of a0-eqdsk
files assumed present in default directory and plot selected data.
INPUT:
eqdir = directory for EFIT data files (default='./');
eqdir string must end in "/" (eg '/users/humphrys/matlab/')
shot = shot number
iplot = 1 if want to plot many frames on one plot (default)
= 2 if want to plot Z,R,Ip(t) on different plots
= 0 to skip plotting
EFIT time slices are specified using EITHER of the following methods:
tmiefit = 1st efit time slice (msec)
dt = delta time (msec)
nslices = # of efit slices
OR:
tefit = vector of efit times (msec) to read from a0 files.
If tefit is specified, input variables tmiefit, dt, nslices are ignored.
ipltref = present figure if want to start plotting after present fig
(default=0) e.g. if ipltref=2, EFIT plots start at fig 3
Currently used only for iplot=1
OUTPUT:
Extracts data from a0 files and plots things.
Dependencies