diff --git a/docs/tutorials/tremor_analysis.ipynb b/docs/tutorials/tremor_analysis.ipynb index c071ebd..aa70e3e 100644 --- a/docs/tutorials/tremor_analysis.ipynb +++ b/docs/tutorials/tremor_analysis.ipynb @@ -218,11 +218,12 @@ "from pathlib import Path\n", "from paradigma.util import load_tsdf_dataframe\n", "\n", + "# Set the path to where the prepared data is saved (in TSDF format) and load the data\n", "path_to_data = Path('../../tests/data')\n", "path_to_prepared_data = path_to_data / '1.prepared_data' / 'imu'\n", - "df_data, metadata_time, metadata_values = load_tsdf_dataframe(path_to_prepared_data, prefix='IMU') # load the data (saved in TSDF format)\n", + "df_data, metadata_time, metadata_values = load_tsdf_dataframe(path_to_prepared_data, prefix='IMU') \n", "\n", - "df_data # print the dataframe" + "df_data" ] }, { @@ -961,6 +962,7 @@ "name": "stdout", "output_type": "stream", "text": [ + "Besides the modal tremor power the following tremor power aggregates are derived: ['median', '90p'].\n", "{'aggregated_tremor_measures': {'90p_tremor_power': 1.796145868028196,\n", " 'median_tremor_power': 0.5451560244011688,\n", " 'modal_tremor_power': 0.52,\n", @@ -975,6 +977,8 @@ "from paradigma.tremor.tremor_analysis import aggregate_tremor\n", "\n", "config = TremorAggregationConfig()\n", + "print(f'Besides the modal tremor power the following tremor power aggregates are derived: {config.aggregates_tremor_power}.')\n", + "\n", "d_tremor_aggregates = aggregate_tremor(df_predictions, config)\n", "\n", "pprint.pprint(d_tremor_aggregates)"