Class: Fit4Ruby::HRV
- Inherits:
-
FitDataRecord
- Object
- FitDataRecord
- Fit4Ruby::HRV
- Defined in:
- lib/fit4ruby/HRV.rb
Overview
The Heart Rate Variability or HRV data is contained in message number 78. It is an array of values that represent the time in seconds since the previous heart beat (R-R interval).
Constant Summary
Constants inherited from FitDataRecord
Constants included from BDFieldNameTranslator
BDFieldNameTranslator::BD_DICT
Instance Attribute Summary
Attributes inherited from FitDataRecord
Instance Method Summary collapse
- #check(index) ⇒ Object
-
#initialize(field_values = {}) ⇒ HRV
constructor
A new instance of HRV.
Methods inherited from FitDataRecord
#<=>, #==, #export, #get, #get_as, #get_unit_by_name, #set, #set_field_values, #write
Methods included from BDFieldNameTranslator
Methods included from Converters
#conversion_factor, #fit_time_to_time, #secsToDHMS, #secsToHM, #secsToHMS, #speedToPace, #time_to_fit_time
Constructor Details
#initialize(field_values = {}) ⇒ HRV
Returns a new instance of HRV.
22 23 24 25 |
# File 'lib/fit4ruby/HRV.rb', line 22 def initialize(field_values = {}) super('hrv') set_field_values(field_values) end |
Instance Method Details
#check(index) ⇒ Object
27 28 |
# File 'lib/fit4ruby/HRV.rb', line 27 def check(index) end |