Data record

Once a file is selected and displayed in the graph, the data is easily accessed from the Tcl console. Individual columns are stored as BLT vectors. To see the vectors associated with e.g., R1 use:

	vector names *_R1

The following vector names will be created for each record (if possible). It may be that the value is the same for all points, in which case it will be a vector of constants.

  monitor,dmonitor  Monitor counts for each point
  seconds,dseconds  Measurement duration (seconds)
  counts,dcounts    Raw counts from the file
  y,dy              Intensity as normalized counts scaled by attenuator
  temp              Temperature during measurement (C)
  idx	            Index of included points
  rec(norm)         Normalization basis for I (monitor or second)
  rec(monitor)      Default monitor 
  rec(k),rec(dk)    Attenuator value
  alpha             Incident angle (degrees)
  beta              Detector angle (degrees)
  Qx,Qz             Q value (inv Angstroms)
  slit1,slit2       Pre-sample slit values (mm)
  slit3,slit4       Post-sample slit values (mm)
  XXX               data for column XXX as stored in the file
  x                 x data (probably a copy of Qz)
  ky	            y data scaled to display monitor
  kdy	            dy uncertainty scaled to display monitor

Note that not all records will exist for all files at all times. y and dy will change whenever attenuators or normalization basis changes. idx will change whenever a point is included or excluded.

2005-09-27


Browse Index