print_and_save_data
print_and_save_data
create_and_save_dataframes(estimates, bvp_names, bvp_methods, landmark_name_dict, results_folder, print_mean)
Creates and saves dataframes with the provided estimates.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
estimates |
list
|
List of estimate data. |
required |
bvp_names |
list
|
List of BVP names. |
required |
bvp_methods |
list
|
List of BVP methods. |
required |
landmark_name_dict |
dict
|
Dictionary mapping landmark names. |
required |
results_folder |
str
|
Folder path to save the dataframes. |
required |
print_mean |
bool
|
Flag indicating whether to print mean values. |
required |
Returns:
| Type | Description |
|---|---|
|
None |
Source code in redesign_pipeline/utils/print_and_save_data.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
print_window_results(hr, rr, hrv, bvp_methods, landmark_name_dict, window, selected_lm)
Prints the results for a given window.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
hr |
dict
|
Dictionary containing HR values. |
required |
rr |
dict
|
Dictionary containing RR values. |
required |
hrv |
dict
|
Dictionary containing HRV values. |
required |
bvp_methods |
list
|
List of BVP methods. |
required |
landmark_name_dict |
dict
|
Dictionary mapping landmark names. |
required |
window |
int
|
Window number. |
required |
selected_lm |
str
|
Selected landmark name. |
required |
Returns:
| Type | Description |
|---|---|
|
None |
Source code in redesign_pipeline/utils/print_and_save_data.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | |
save_intermediate_data(data_folder, window_count, rgb_list, bvp_named_dict)
Saves intermediate data to files.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data_folder |
str
|
Folder path to save the data. |
required |
window_count |
int
|
Window count. |
required |
rgb_list |
list
|
RGB data. |
required |
bvp_named_dict |
dict
|
Dictionary containing BVP data. |
required |
Returns:
| Type | Description |
|---|---|
|
None |
Source code in redesign_pipeline/utils/print_and_save_data.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |