pymovements.Dataset.load_precomputed_events#

Dataset.load_precomputed_events() None[source]#

Load precomputed events.

This method checks that the file information for precomputed events is available, then loads each event file listed in self.fileinfo[‘precomputed_events’] using the dataset definition and path settings. The resulting list of PrecomputedEventDataFrame objects is assigned to self.precomputed_events.

Supported file extensions: - CSV-like: .csv, .tsv, .txt - JSON like: .jsonl, .ndjson - RDA like: .rda

Raises:

ValueError – If the file info is missing or improperly formatted.