public static interface ProfileDevice.IProfileData extends DataListener
Modifier and Type | Method and Description |
---|---|
SignalAttrSet |
getDataAttrs()
Signal attributes (properties) computed from the profile device
data set.
|
int |
getDataSize()
Returns the length of each signal in the data set, that is, the number of
samples in the signals.
|
java.lang.String |
getDeviceId()
Returns the identifier string of the device that produced the current
data.
|
java.lang.String |
getDeviceTypeId()
Returns the device type identifier string of the device that produced
the current data.
|
SignalSet |
getFitData()
Returns a fitted signal set taken from the current profile data
set.
|
SignalSet |
getRawData()
Returns the raw signal data from the profile device data set.
|
boolean |
isValidWire(ProfileDevice.ANGLE angle,
int iWire)
Indicates whether or not the given wire is operating correctly and
producing valid data.
|
dataLabel, update, write
java.lang.String getDeviceId()
java.lang.String getDeviceTypeId()
int getDataSize()
SignalSet getRawData()
SignalSet getFitData()
SignalAttrSet getDataAttrs()
boolean isValidWire(ProfileDevice.ANGLE angle, int iWire)
Indicates whether or not the given wire is operating correctly and producing valid data. The argument is the index for the wire, the same index that would be used for the arrays of data produced by the profile device.
If the profile device has no method of validating wire operation
then the method will return true
regardless of
the argument, rather than a blanket false
angle
- projection angle of the harp to be validatediWire
- index of the wire to be validatedtrue
if the the wire is operating correctly
or the device has no method of validation,
false
if the wire is faulty.