tsdata Class


Properties Properties of the class
Methods All Methods of the class ordered by category.
Examples Some constructor examples

Back to Class descriptions Back to Class descriptions

Properties

The LTPDA toolbox restrict access of the properties.

The get access is 'public' and thus it is possible to get the values with the dot-command (similar to structures).

For example:

val = obj.prop(2).prop;
The set access is 'protected' and thus it is only possible to assign a value to a property with a set-method.
For example:
obj2 = obj1.setName('my name') % This command creates a copy of obj1 (obj1 ~= obj2)
obj.setName('my name');        % This command applies to obj    

Properties Description Defined in class

t0

Time-stamp of the first data sample

tsdata

fs

Sample rate of data

tsdata

nsecs

The length of this time-series in seconds

tsdata

xunits

Units of the x-axis

data2D

yunits

Units of the y-axis

data2D

x

Data values of the x-axis

data2D

y

Data values of the y-axis

data2D

version

CVS version string of the constructor

ltpda_obj

Back to Top Back to Top

Methods

Constructor Constructor of this class
Helper Helper methods only for internal usage
Internal Internal methods only for internal usage
Output Output methods
Relational Operator Relational operator methods

Back to Top Back to Top

Constructor

Methods Description Defined in class

tsdata

TSDATA time-series object class constructor.

tsdata

Back to Top of Section Back to Top of Section

Helper

Methods Description Defined in class

isprop

ISPROP tests if the given field is one of the object properties.

ltpda_obj

Back to Top of Section Back to Top of Section

Internal

Methods Description Defined in class

applymethod

APPLYMETHOD applys the given method to the input 2D data.

data2D

applyoperator

APPLYOPERATOR applys the given operator to the two input data objects.

data2D

getY

GETY Get the property 'y'.

data2D

setX

SETX Set the property 'x'.

data2D

setXY

SETXY Set the property 'xy'.

data2D

setXunits

SETXUNITS Set the property 'xunits'.

data2D

setY

SETY Set the property 'y'.

data2D

setYunits

SETYUNITS Set the property 'yunits'.

data2D

collapseX

COLLAPSEX Checks whether the x vector is evenly sampled and then removes it

tsdata

copy

COPY Make copy of tsdata objects depending of the second input

tsdata

fixNsecs

FIXNSECS fixes the numer of seconds.

tsdata

getX

GETX Get the property 'x'.

tsdata

growT

GROWT grows the time (x) vector if it is empty.

tsdata

setFs

SETFS Set the property 'fs'.

tsdata

setNsecs

SETNSECS Set the property 'nsecs'.

tsdata

setT0

SETT0 Set the property 't0'.

tsdata

Back to Top of Section Back to Top of Section

Output

Methods Description Defined in class

char

CHAR convert a ltpda_data-object into a string.

data2D

display

DISPLAY overloads display functionality for tsdata objects.

tsdata

Back to Top of Section Back to Top of Section

Relational Operator

Methods Description Defined in class

eq

EQ overloads the == operator for ltpda objects.

ltpda_obj

ne

NE overloads the ~= operator for ltpda objects.

ltpda_obj

Back to Top of Section Back to Top of Section




©LTP Team