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

Public Properties Public means that all clients can access the member by its name.
Private Properties Private restricts the access to the class itself. Only methods that are part of the same class can access private members.

Back to Top Back to Top

Public Properties

Properties Description

name

Name of time-series object (TSDATA)

xunits

Units to interpret the time samples (e.g., seconds)

yunits

Units to interpret the data samples (e.g., Volts)

t0

Time object associated with the time-stamp of the first data sample

Private Properties

Properties Description

y

Time samples vector

x

x samples vector

fs

Sample rate of data

nsecs

The length of this time-series in seconds

version

CVS version string of the constructor

created

Time object which stores the creation time of the TSDATA object

Methods

Constructor Constructor of this class
Helper Helper functions only for internal usage
Internal Internal functions only for internal usage
Output Output functions

Back to Top Back to Top

Constructor

Methods Description

tsdata

TSDATA time-series object class constructor.

Back to Top of Section Back to Top of Section

Helper

Methods Description

get

GET get tsdata properties.

isfield

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

isvalid

ISVALID tests if the given tsdata has all the correct fields of the correct type.

set

SET sets a tsdata property.

Back to Top of Section Back to Top of Section

Internal

Methods Description

get_xy_values

GET_XY_VALUES returns the x-axis and/or y-axis values.

reshapeT

RESHAPET reshape the time-vector to match the x vector.

setTime

SETTIME sets the time-vector of a tsdata object based on the length of the x vector and the sample rate.

set_xy_axis

SET_XY_AXIS set the x-axis and y-axis values.

single_operation

SINGLE_OPERATION implements specified operator overload for tsdata objects.

subsasgn

SUBSASGN define index assignment for for tsdata properties.

subsref

SUBSREF Define field name indexing for tsdata objects.

Back to Top of Section Back to Top of Section

Output

Methods Description

char

CHAR convert a param object into a string.

display

DISPLAY overloads display functionality for tsdata objects.

save

SAVE a tsdata object to file.

Back to Top of Section Back to Top of Section




©LTP Team