sit2standpy.Transition¶
-
class
sit2standpy.
Transition
(times, t_type='SiSt', v_displacement=None, max_v_velocity=None, min_v_velocity=None, max_acceleration=None, min_acceleration=None, sparc=None)¶ Object for storing information about a postural transition
Parameters: - times : array_like
array_like of start and end timestamps (pandas.Timestamp), [start_time, end_time]. Duration will be calculated as the difference.
- t_type : {‘SiSt’, ‘StSi’}, optional
Transition type, either ‘SiSt’ for sit-to-stand, or ‘StSi’ for stand-to-sit. Default is ‘SiSt’.
- v_displacement : {float, None}, optional
Vertical displacement during the transition, or None. Default is None.
- max_v_velocity : {float, None}, optional
Maximum vertical velocity during the transition, or None. Default is None.
- min_v_velocity : {float, None}, optional
Minimum vertical velocity during the transition, or None. Default is None.
- max_acceleration : {float, None}, optional
Maximum acceleration during the transition, or None. Default is None.
- min_acceleration : {float, None}, optional
Minimum acceleration during the transition, or None. Default is None.
- sparc : {float, None}, optional
SPectral ARC length parameter, measuring the smoothness of the transition, or None. Default is None.
Attributes: - times : tuple
Tuple of start and end times.
- start_time : pandas.Timestamp
Start timestamp of the transition.
- end_time : pandas.Timestamp
End timestamp of the transition.
- duration : float
Duration of the transition in seconds.
- ttype : str
Short transition type name.
- long_type : str
Full transition type name.
- v_displacement : {float, None}
Vertical displacement.
- max_v_velocity : {float, None}
Maximum vertical velocity.
- min_v_velocity : {float, None}
Minimum vertical velocity.
- max_acceleration : {float, None}
Maximum acceleration.
- min_acceleration : {float, None}
Minimum acceleration.
- sparc : {float, None}
SPectral ARC length measure of smoothness.