Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
jnj256 committed Oct 21, 2023
1 parent 1a70b53 commit 995018a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ A brief description of each step is mentioned below:
---

### **Data Analysis**
Jupyter notebooks *phys_analysis_eda.ipynb*, *phys_analysis_ppg.ipynb*, and *phys_analysis_resp.ipynb* are provided to illustrate basic analysis steps. This includes pre-processing as well as feature extraction for EDA, PPG and Resp signals respectively.
Data analysis is supported by the *analysis_helper* folder. To extract features and export in spreadsheet, please refer to the README provided within the folder.
In addition, Jupyter notebooks *phys_analysis_eda.ipynb*, *phys_analysis_ppg.ipynb*, and *phys_analysis_resp.ipynb* are provided to illustrate basic analysis steps. This includes pre-processing as well as feature extraction for EDA, PPG and Resp signals respectively.

---
### **Additional Support or Reporting Issues with the Library**:
Expand Down
7 changes: 5 additions & 2 deletions analysis_helper/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# Data Analysis Helper

### Step-1: Batch processing to compute metrics from PPG and EDA signals:
### Step-1: Preparing the data and the configuration file
Sample data and corresponding exp_config.json file is provided to illustrate how to specify the data to be analysed in the configuration file. It is crucial to provide the sampling rate (fs) and total_duration as per that used for data acquisition. Rest of the parameters are self-explanatory, though we will be preparing detailed tutorials and sharing the links to tutorial videos here.

### Step-2: Batch processing to compute metrics from PPG and EDA signals:

``` bash
python -m analysis_helper.process_signals --config analysis_helper/exp_config.json --datapath analysis_helper sample_data --opt 0
```

### Step-2: Saving and exporting data-tables
### Step-3: Saving and exporting data-tables

Following command is to illustrate the use when a specific window size and step size is used, i.e. "W65_S10_nk_OptPPG".

Expand Down
2 changes: 1 addition & 1 deletion analysis_helper/exp_config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"save_plot_flag": true,
"fs": 250,
"fs_margin": 30,
"total_duration": 300,
"fs_margin": 30,
"winlen": 30,
"step_len": 5,
"low_cut_freq": 0.5,
Expand Down

0 comments on commit 995018a

Please sign in to comment.