


GET get tsdata properties.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: GET get tsdata properties.
CALL: name = get(ts, 'name');
fs = get(ts, 'fs');
x = get(ts, 'x');
y = get(ts, 'y');
nsecs = get(ts, 'nsecs');
t0 = get(ts, 't0');
xunits = get(ts, 'xunits');
yunits = get(ts, 'yunits');
created = get(ts, 'created');
version = get(ts, 'version');
VERSION: $Id: get.m,v 1.11 2008/02/11 17:28:46 ingo Exp $
HISTORY: 30-01-07 M Hewitson
Creation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

0001 function val = get(ts, propName) 0002 % GET get tsdata properties. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: GET get tsdata properties. 0007 % 0008 % CALL: name = get(ts, 'name'); 0009 % fs = get(ts, 'fs'); 0010 % x = get(ts, 'x'); 0011 % y = get(ts, 'y'); 0012 % nsecs = get(ts, 'nsecs'); 0013 % t0 = get(ts, 't0'); 0014 % xunits = get(ts, 'xunits'); 0015 % yunits = get(ts, 'yunits'); 0016 % created = get(ts, 'created'); 0017 % version = get(ts, 'version'); 0018 % 0019 % VERSION: $Id: get.m,v 1.11 2008/02/11 17:28:46 ingo Exp $ 0020 % 0021 % HISTORY: 30-01-07 M Hewitson 0022 % Creation 0023 % 0024 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0025 0026 VERSION = '$Id: get.m,v 1.11 2008/02/11 17:28:46 ingo Exp $'; 0027 CATEGORY = 'Helper'; 0028 DEFAULT_PLIST = plist('property', ''); 0029 0030 val = generic_get(ts, propName, DEFAULT_PLIST, VERSION, CATEGORY);