m3resp.IntervalDataCollection#
- class m3resp.IntervalDataCollection(items=<factory>)[source]#
An ordered collection of results with values per interval or breath.
- Variables:
items (list[m3resp.data.event_data.IntervalData]) –
IntervalDataresults in insertion order.- Parameters:
items (list[IntervalData])
Methods
Add and return the result, keeping each object once in insertion order.
Return results whose modality exactly matches the given device name.
Return results with this exact name, in insertion order.
Attributes
- add(interval_data)[source]#
Add and return the result, keeping each object once in insertion order.
- Parameters:
interval_data (IntervalData)
- Return type:
- for_modality(modality)[source]#
Return results whose modality exactly matches the given device name.
- Parameters:
modality (str)
- Return type:
- for_name(name)[source]#
Return results with this exact name, in insertion order.
- Parameters:
name (str)
- Return type:
- items: list[IntervalData]#