Difference between revisions of "EcgDevice Class"
NateColeman (talk | contribs) (→Method Detail) |
NateColeman (talk | contribs) (→Constructor Summary) |
||
Line 55: | Line 55: | ||
==Constructor Summary== | ==Constructor Summary== | ||
− | + | {| | |
− | + | | | |
<th class="colOne" scope="col">Constructor and Description</th> | <th class="colOne" scope="col">Constructor and Description</th> | ||
</tr> | </tr> | ||
Line 63: | Line 63: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
==Methods Summary== | ==Methods Summary== |
Revision as of 10:32, 15 March 2017
ECG Device class implemets methods for using universal sensors as cardiography system.
Contents
- 1 Android
- 1.1 Related Classes
- 1.2 Classes hierarchy
- 1.3 Class definition
- 1.4 Fields Summary
- 1.5 Constructor Summary
- 1.6 Methods Summary
- 1.7 Field Detail
- 1.8 Constructor Detail
- 1.9 Method Detail
- 1.9.1 finalize
- 1.9.2 close
- 1.9.3 getName
- 1.9.4 getAddress
- 1.9.5 getBatteryLevel
- 1.9.6 getNeuroDevice
- 1.9.7 startReceive
- 1.9.8 stopReceive
- 1.9.9 reset
- 1.9.10 getTotalSignalDuration
- 1.9.11 getEcgSignal
- 1.9.12 getRWavesOnInterval
- 1.9.13 getCurrentHeartRate
- 1.9.14 getAverageHeartRateOnInterval
- 1.9.15 getCurrentHeartRateVariability
- 1.9.16 getHeartRateVariabilityForInterval
- 1.9.17 getCurrentStressIndex
- 1.9.18 getStressIndexForInterval
- 1.9.19 getElectrodesState
Android
ru.neurotech.neurodevices.ecg
Class EcgDevice
Related Classes
ru.neurotech.neurodevices.ecg.EcgDeviceConnector
ru.neurotech.neurodevices.ecg.RPeak
Classes hierarchy
- java.lang.Object
- ru.neurotech.common.VisualizableDevice
- ru.neurotech.neurodevices.ecg.EcgDevice
Class definition
public class EcgDevice extends VisualizableDevice
Fields Summary
Modifier and Type | Field and Description |
SubscribersNotifier<java.lang.Boolean> | electrodesAttachedStateChanged
Notifies when electrodes are attached or detached To get electrodes state manually use getElectrodesState |
SubscribersNotifier<java.lang.Double> | totalSignalDurationChanged
Notifies subscribers when signal duration is changed, when new samples received or data been loaded from external storage, or buffers been reset |
Fields inherited from class ru.neurotech.common.VisualizableDevice |
deviceStateChanged |
Constructor Summary
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"> Methods Summary
Field DetailtotalSignalDurationChanged
Notifies subscribers when signal duration is changed, when new samples received or data been loaded from external storage, or buffers been reset electrodesAttachedStateChanged
Notifies when electrodes are attached or detached. To get electrodes state manually use getElectrodesState Constructor DetailEcgDevice
Method Detailfinalize
close
getName
Description copied from class: VisualizableDevice Returns name of BLE device
getAddress
Description copied from class: VisualizableDevice Returns Bluetooth LE MAC address
getBatteryLevel
Description copied from class: VisualizableDevice Returns battery state
getNeuroDevice
Description copied from class: VisualizableDevice Returns physical device object which this visual device represents
startReceive
stopReceive
reset
Clears signal buffer, sets duration to zero
and resets all parameters to default values
getTotalSignalDuration
Returns total signal duration in current test.
getEcgSignal
Returns ECG signal stored in buffer for selected time interval. If interval exceeds maximum or minimum buffer time, signal samples for these intervals will be equal to zero.
getRWavesOnInterval
Detects R-waves in signal for specified time interval.
getCurrentHeartRate
Calculates heart rate for recently received ECG samples. Use this method to monitor heart rate during signal receiving is active. It's not recommended to use this method to calculate heart rate while signal receiving is stopped, use getAverageHeartRateOnInterval instead.
getAverageHeartRateOnInterval
Returns average heart rate based on NN-interval values from specified time interval.
getCurrentHeartRateVariability
To get HRV for various intervals while signal receiving is stopped use getHeartRateVariabilityForInterval
getHeartRateVariabilityForInterval
Returns average value of heart rate variability on interval
getCurrentStressIndex
Returns value of stress index for real-time monitoring. Use this method to monitor stress index while signal receiving is active. To get stress index for various intervals while signal receiving is stopped use getStressIndexForInterval
getStressIndexForInterval
Returns average value of stress index on interval
getElectrodesState
Returns flag indicating whether electrodes properly attached or not
|