SomnoWatchMetaData

class SomnoWatchMetaData(signal_type: str, start_date: str, sample_rate: float, length: int, unit: str)[source]

NamedTuple representing the somnowatch meta information.

Create new instance of SomnoWatchMetaData(signal_type, start_date, sample_rate, length, unit)

Attributes Summary

length

Alias for field number 3

sample_rate

Alias for field number 2

signal_type

Alias for field number 0

start_date

Alias for field number 1

unit

Alias for field number 4

Methods Summary

count

Return number of occurrences of value.

index

Return first index of value.

Methods Documentation

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.