PIVMat Function Reference<< Prev | Next >> 
getpivtime
Get the time from the Attribute string.

Description
T = getpivtime(F) returns the time(s), in seconds, of the field(s) F. 
F may be vector or scalar fields, or filenames of any file format 
supported by loadvec. Wildcards (*) and brackets ([]) may be used (see 
expandstr for details). 
 
T = getpivtime(F,'0') does the same, starting at time 0 for the first 
field. 
 
Note that, for VC7 vector fields (DaVis 7), getpivtime returns the 
image acquisition time, as stored in the attribute 'AcqTimeSeries0'. 
However, for VEC vector fields (DaVis 6), getpivtime returns the PIV 
computation time, as stored in the attributed 'TIME', which is usually 
of no use. To get the true image acquisition time instead, use 
getpivtime with IMX files. 
 
Examples
 
   t = getpivtime(loadset); 
 
   t = getpivtime('B[1:10].vc7','0'); 
 
See Also
getattribute. 

 Previous: getimxNext: getsetname 

2005-2007 PIVMat Toolbox 1.60