epodium / time_series_generator

Create synthetic time series data
Apache License 2.0
0 stars 0 forks source link

Time series use-case 2 for GGIR #21

Closed vincentvanhees closed 3 years ago

vincentvanhees commented 3 years ago

Following on from #20 here is my second use-case:

To do a high level test of GGIR I need an example data file. Real life data files are at least 100MB in size, so not something we want to store inside the software. To address this I wrote the _create_test_acccsv function that creates a dummy data file with simulated data. The simulations are simple, but just enough to trigger the main functionalities.

Description of what create_test_acc_csv does:

The result is a file where I know exactly the sensor calibration error and how many hours per day the person slept and moved around.

As you can see this procedure involves quite a lot of domain knowledge. From the perspective of the time_series_generator, I imagine it would be useful to be able to do the following:

Suggested functionality for time_series_generator:

  1. Ability to assemble a time series based on serially appending and/or summing multiple different time series types. At the moment the user can already do this by writing some complementary code, but it could be valuable if the software facilitates this process. The more this is facilitated the more a user can focus on the process of designing the overall signal.
  2. Ability to incorporate a mathematical relation between multiple channels. In the GGIR example, this would be: Given xyz(time), calculate a new xyz(time) based on xyz(time), rotationmatrix, rotationangle(time).
eriktks commented 3 years ago

Issue migrated to sequgen/sequgen#22