All notable changes to this project will be documented in this file.
-
DatasetDefinition class: Introduced a new
DatasetDefinition
class to define data sources, signals, and times. This encapsulates information vital for features like data exports and data iterators. -
Definition File Format: Introduced a file format to work alongside the
DatasetDefinition
. This allows the raw data of aDatasetDefinition
object to be saved to or loaded from a file with.yaml
or.yml
extension. -
DatasetIterator class: Added a new
DatasetIterator
class which implements the__next__
,__len__
, and__getitem__
methods. This can be used to iterate through time windows of data as described by theDatasetDefinition
class. -
AtriumSDK.get_iterator Method: A new method in the main module's class. The
AtriumSDK.get_iterator
method consumes aDatasetDefinition
, validates the definition with the actual data available in the datastore targeted by theAtriumSDK
object, and returns aDatasetIterator
object if theDatasetDefinition
was successfully validated. -
Patient Parameters: Now supports
height
andweight
as patient parameters/keys in dictionaries returned or set by AtriumSDK methods likeinsert_patient
,get_patient_info
, andget_all_patients
.
- Resolved a bug encountered when the
atriumdb
library accessed datastores set up by different software versions. This was addressed by substitutingSELECT *
wildcards in SQL queries with the precise column names required by each query.