Skip to content

get_pcssetup_calib.m

Basic Information

  SYNTAX:  [calib,ptnames,ier]=get_pcssetup_calib(shotnum,idebug);

  PURPOSE:  Get PCS shot diagniostic calibration data from shot startup file

  INPUT:
    shotnum = shot number to extract calibration data
       idebug  = 1 for debug output [0]

  OUTPUT:
    calib  =  Calibration matrix [rc gain inherent_number vtophys]
       ptnames=  Name of each dignostic, one for each row of calib
    ier    =  0 if everything OK, else nonzero

  RESTRICTIONS:

  METHOD:
         Uses get_pcssetup_calib.c to read pcs setup data stored in ptdata

Dependencies