Skip to content

get_pcssetup_waveform.m

Basic Information

  SYNTAX: [data,time,ierror] = ...
     get_pcssetup_waveform(shot,category,phase,waveform,[server]);

  PURPOSE:  Get waveform data from PCS setup file.

  INPUT:
   shot = shot number to get data from
   category = one of "shape",
   phase = string denoting which shot phase
   waveform =  string denoting name of the waveform
   [server] = name of server to get data from (see get_pcs_server)
  OUTPUT:
   data   = vector of doubles containing the y part of the waveform vertices
   time   = vector of doubles containing the x part of the waveform vertices
   ierror = 0 if successful, non-zero otherwise.
        Error values:
            1: Error, was not able to gather any infomation with the
                specified argument.

           2: Warning. Arguments were ok, but there were no vertices to get.

Dependencies