CBACABLab 0.0.1__tar.gz → 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {cbacablab-0.0.1 → cbacablab-0.0.3}/Analysis.ipynb +89 -89
  2. {cbacablab-0.0.1 → cbacablab-0.0.3}/AnalysisTesting.ipynb +17 -8
  3. {cbacablab-0.0.1 → cbacablab-0.0.3}/PKG-INFO +9 -3
  4. {cbacablab-0.0.1 → cbacablab-0.0.3}/README.md +6 -2
  5. {cbacablab-0.0.1 → cbacablab-0.0.3}/Survey.csv +12 -12
  6. {cbacablab-0.0.1 → cbacablab-0.0.3}/pyproject.toml +3 -1
  7. {cbacablab-0.0.1 → cbacablab-0.0.3}/src/CBACABLab/LoadRawData.py +2 -1
  8. {cbacablab-0.0.1 → cbacablab-0.0.3}/src/CBACABLab/__init__.py +3 -1
  9. {cbacablab-0.0.1 → cbacablab-0.0.3}/.gitattributes +0 -0
  10. {cbacablab-0.0.1 → cbacablab-0.0.3}/.github/workflows/tests.yml +0 -0
  11. {cbacablab-0.0.1 → cbacablab-0.0.3}/.gitignore +0 -0
  12. {cbacablab-0.0.1 → cbacablab-0.0.3}/.pylintrc +0 -0
  13. {cbacablab-0.0.1 → cbacablab-0.0.3}/LICENSE +0 -0
  14. {cbacablab-0.0.1 → cbacablab-0.0.3}/SECURITY.md +0 -0
  15. {cbacablab-0.0.1 → cbacablab-0.0.3}/Survey.xlsx +0 -0
  16. {cbacablab-0.0.1 → cbacablab-0.0.3}/qualtrics_script/standard_question.js +0 -0
  17. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/001_00010.csv +0 -0
  18. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/002_00009.csv +0 -0
  19. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/003_00008.csv +0 -0
  20. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/004_00007.csv +0 -0
  21. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/005_00006.csv +0 -0
  22. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/006_00005.csv +0 -0
  23. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/007_00004.csv +0 -0
  24. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/008_00003.csv +0 -0
  25. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/009_00002.csv +0 -0
  26. {cbacablab-0.0.1 → cbacablab-0.0.3}/sensorData/010_00001.csv +0 -0
  27. {cbacablab-0.0.1 → cbacablab-0.0.3}/src/CBACABLab/LikertPrep.py +0 -0
  28. {cbacablab-0.0.1 → cbacablab-0.0.3}/src/CBACABLab/LoadSQLData.py +0 -0
  29. {cbacablab-0.0.1 → cbacablab-0.0.3}/src/CBACABLab/Plots.py +0 -0
  30. {cbacablab-0.0.1 → cbacablab-0.0.3}/src/CBACABLab/Util.py +0 -0
  31. {cbacablab-0.0.1 → cbacablab-0.0.3}/src/CBACABLab/settings.json +0 -0
  32. {cbacablab-0.0.1 → cbacablab-0.0.3}/tests/dummy-data +0 -0
  33. {cbacablab-0.0.1 → cbacablab-0.0.3}/tests/scripts +0 -0
  34. {cbacablab-0.0.1 → cbacablab-0.0.3}/tests/test_public_api.py +0 -0
@@ -22,7 +22,7 @@
22
22
  },
23
23
  {
24
24
  "cell_type": "code",
25
- "execution_count": 120,
25
+ "execution_count": 1,
26
26
  "id": "cc9ee7ee",
27
27
  "metadata": {},
28
28
  "outputs": [],
@@ -33,7 +33,7 @@
33
33
  },
34
34
  {
35
35
  "cell_type": "code",
36
- "execution_count": null,
36
+ "execution_count": 2,
37
37
  "id": "2a4d7871",
38
38
  "metadata": {},
39
39
  "outputs": [],
@@ -54,7 +54,7 @@
54
54
  },
55
55
  {
56
56
  "cell_type": "code",
57
- "execution_count": 122,
57
+ "execution_count": 3,
58
58
  "id": "95f44874",
59
59
  "metadata": {},
60
60
  "outputs": [],
@@ -117,7 +117,7 @@
117
117
  },
118
118
  {
119
119
  "cell_type": "code",
120
- "execution_count": 123,
120
+ "execution_count": 4,
121
121
  "id": "4fb866d6",
122
122
  "metadata": {},
123
123
  "outputs": [
@@ -136,7 +136,7 @@
136
136
  " 'iMotionsStudy']"
137
137
  ]
138
138
  },
139
- "execution_count": 123,
139
+ "execution_count": 4,
140
140
  "metadata": {},
141
141
  "output_type": "execute_result"
142
142
  }
@@ -184,7 +184,7 @@
184
184
  },
185
185
  {
186
186
  "cell_type": "code",
187
- "execution_count": 124,
187
+ "execution_count": 5,
188
188
  "id": "e474ba37",
189
189
  "metadata": {},
190
190
  "outputs": [
@@ -461,7 +461,7 @@
461
461
  "9 Master's Degree "
462
462
  ]
463
463
  },
464
- "execution_count": 124,
464
+ "execution_count": 5,
465
465
  "metadata": {},
466
466
  "output_type": "execute_result"
467
467
  }
@@ -487,7 +487,7 @@
487
487
  },
488
488
  {
489
489
  "cell_type": "code",
490
- "execution_count": 125,
490
+ "execution_count": 6,
491
491
  "id": "a0ef6d84",
492
492
  "metadata": {},
493
493
  "outputs": [
@@ -511,7 +511,7 @@
511
511
  " 'Q7']"
512
512
  ]
513
513
  },
514
- "execution_count": 125,
514
+ "execution_count": 6,
515
515
  "metadata": {},
516
516
  "output_type": "execute_result"
517
517
  }
@@ -532,7 +532,7 @@
532
532
  },
533
533
  {
534
534
  "cell_type": "code",
535
- "execution_count": 126,
535
+ "execution_count": 7,
536
536
  "id": "97206ab8",
537
537
  "metadata": {},
538
538
  "outputs": [
@@ -578,7 +578,7 @@
578
578
  },
579
579
  {
580
580
  "cell_type": "code",
581
- "execution_count": 127,
581
+ "execution_count": 8,
582
582
  "id": "d8323fd9",
583
583
  "metadata": {},
584
584
  "outputs": [
@@ -591,8 +591,8 @@
591
591
  "Dep. Variable: pupil_left R-squared: 0.113\n",
592
592
  "Model: OLS Adj. R-squared: 0.047\n",
593
593
  "Method: Least Squares F-statistic: 1.619\n",
594
- "Date: Thu, 05 Nov 2026 Prob (F-statistic): 0.251\n",
595
- "Time: 05:59:46 Log-Likelihood: 38.452\n",
594
+ "Date: Fri, 06 Nov 2026 Prob (F-statistic): 0.251\n",
595
+ "Time: 05:27:20 Log-Likelihood: 38.452\n",
596
596
  "No. Observations: 30 AIC: -70.90\n",
597
597
  "Df Residuals: 27 BIC: -66.70\n",
598
598
  "Df Model: 2 \n",
@@ -632,12 +632,12 @@
632
632
  "source": [
633
633
  "## 5. SurvivalScale for Likert responses\n",
634
634
  "\n",
635
- "Likert answers are ordered categories, so OLS isn't ideal for them. [SurvivalScale](https://github.com/tazzben/Likert-estimation) estimates how the variables in `FEATURES` affect the Likert response, using the `k` and `bound` columns prepared below. The bootstrap repeats the estimate many times to calculate confidence intervals; increase `bootstrap_iterations` (for example to 1000) for final results, at the cost of a longer run. Sona Klucarova and Ben Smith (and Jadrian Wooten -- but he is at Virginia Tech) developed this method of analysis, so if you have questions about it, please reach out to them."
635
+ "Likert answers are ordered, not cardinal, categories, so OLS should not be used if this is your dependent variable. [SurvivalScale](https://github.com/tazzben/Likert-estimation) estimates how the variables in `FEATURES` affect the Likert response, using the `k` and `bound` columns prepared below. The bootstrap repeats the estimate many times to calculate confidence intervals; increase `bootstrap_iterations` (for example to 1000) for final results, at the cost of a longer run. Sona Klucarova and Ben Smith (and Jadrian Wooten -- but he is at Virginia Tech) developed this method of analysis, so if you have questions about it, please reach out to them."
636
636
  ]
637
637
  },
638
638
  {
639
639
  "cell_type": "code",
640
- "execution_count": 128,
640
+ "execution_count": 9,
641
641
  "id": "9bcb65ec",
642
642
  "metadata": {},
643
643
  "outputs": [
@@ -779,7 +779,7 @@
779
779
  "9 4 4 Q1 2.624093 3 4"
780
780
  ]
781
781
  },
782
- "execution_count": 128,
782
+ "execution_count": 9,
783
783
  "metadata": {},
784
784
  "output_type": "execute_result"
785
785
  }
@@ -804,7 +804,7 @@
804
804
  },
805
805
  {
806
806
  "cell_type": "code",
807
- "execution_count": 129,
807
+ "execution_count": 10,
808
808
  "id": "6a98c339",
809
809
  "metadata": {},
810
810
  "outputs": [
@@ -819,7 +819,7 @@
819
819
  "name": "stderr",
820
820
  "output_type": "stream",
821
821
  "text": [
822
- "100%|██████████| 100/100 [00:04<00:00, 20.51it/s]\n"
822
+ "100%|██████████| 100/100 [00:04<00:00, 24.66it/s]\n"
823
823
  ]
824
824
  },
825
825
  {
@@ -857,8 +857,8 @@
857
857
  " <td>-0.392776</td>\n",
858
858
  " <td>-0.075341</td>\n",
859
859
  " <td>-0.096951</td>\n",
860
- " <td>-0.559121</td>\n",
861
- " <td>-0.189032</td>\n",
860
+ " <td>-0.578606</td>\n",
861
+ " <td>-0.173703</td>\n",
862
862
  " <td>0.0</td>\n",
863
863
  " </tr>\n",
864
864
  " </tbody>\n",
@@ -867,7 +867,7 @@
867
867
  ],
868
868
  "text/plain": [
869
869
  " beta marginal marginal_discrete lower_bound upper_bound \\\n",
870
- "pupil_left -0.392776 -0.075341 -0.096951 -0.559121 -0.189032 \n",
870
+ "pupil_left -0.392776 -0.075341 -0.096951 -0.578606 -0.173703 \n",
871
871
  "\n",
872
872
  " p_value \n",
873
873
  "pupil_left 0.0 "
@@ -989,7 +989,7 @@
989
989
  },
990
990
  {
991
991
  "cell_type": "code",
992
- "execution_count": 130,
992
+ "execution_count": 11,
993
993
  "id": "51c02ebc",
994
994
  "metadata": {},
995
995
  "outputs": [
@@ -998,13 +998,13 @@
998
998
  "text/html": [
999
999
  "<style type=\"text/css\">\n",
1000
1000
  "</style>\n",
1001
- "<table id=\"T_7fcc9\">\n",
1001
+ "<table id=\"T_d64c6\">\n",
1002
1002
  " <caption>Response distribution</caption>\n",
1003
1003
  " <thead>\n",
1004
1004
  " <tr>\n",
1005
1005
  " <th class=\"blank level0\" >&nbsp;</th>\n",
1006
- " <th id=\"T_7fcc9_level0_col0\" class=\"col_heading level0 col0\" >Count</th>\n",
1007
- " <th id=\"T_7fcc9_level0_col1\" class=\"col_heading level0 col1\" >Percent</th>\n",
1006
+ " <th id=\"T_d64c6_level0_col0\" class=\"col_heading level0 col0\" >Count</th>\n",
1007
+ " <th id=\"T_d64c6_level0_col1\" class=\"col_heading level0 col1\" >Percent</th>\n",
1008
1008
  " </tr>\n",
1009
1009
  " <tr>\n",
1010
1010
  " <th class=\"index_name level0\" >Category</th>\n",
@@ -1014,35 +1014,35 @@
1014
1014
  " </thead>\n",
1015
1015
  " <tbody>\n",
1016
1016
  " <tr>\n",
1017
- " <th id=\"T_7fcc9_level0_row0\" class=\"row_heading level0 row0\" >Strongly agree</th>\n",
1018
- " <td id=\"T_7fcc9_row0_col0\" class=\"data row0 col0\" >10</td>\n",
1019
- " <td id=\"T_7fcc9_row0_col1\" class=\"data row0 col1\" >33.3%</td>\n",
1017
+ " <th id=\"T_d64c6_level0_row0\" class=\"row_heading level0 row0\" >Strongly agree</th>\n",
1018
+ " <td id=\"T_d64c6_row0_col0\" class=\"data row0 col0\" >10</td>\n",
1019
+ " <td id=\"T_d64c6_row0_col1\" class=\"data row0 col1\" >33.3%</td>\n",
1020
1020
  " </tr>\n",
1021
1021
  " <tr>\n",
1022
- " <th id=\"T_7fcc9_level0_row1\" class=\"row_heading level0 row1\" >Neither agree nor disagree</th>\n",
1023
- " <td id=\"T_7fcc9_row1_col0\" class=\"data row1 col0\" >7</td>\n",
1024
- " <td id=\"T_7fcc9_row1_col1\" class=\"data row1 col1\" >23.3%</td>\n",
1022
+ " <th id=\"T_d64c6_level0_row1\" class=\"row_heading level0 row1\" >Neither agree nor disagree</th>\n",
1023
+ " <td id=\"T_d64c6_row1_col0\" class=\"data row1 col0\" >7</td>\n",
1024
+ " <td id=\"T_d64c6_row1_col1\" class=\"data row1 col1\" >23.3%</td>\n",
1025
1025
  " </tr>\n",
1026
1026
  " <tr>\n",
1027
- " <th id=\"T_7fcc9_level0_row2\" class=\"row_heading level0 row2\" >Strongly disagree</th>\n",
1028
- " <td id=\"T_7fcc9_row2_col0\" class=\"data row2 col0\" >5</td>\n",
1029
- " <td id=\"T_7fcc9_row2_col1\" class=\"data row2 col1\" >16.7%</td>\n",
1027
+ " <th id=\"T_d64c6_level0_row2\" class=\"row_heading level0 row2\" >Strongly disagree</th>\n",
1028
+ " <td id=\"T_d64c6_row2_col0\" class=\"data row2 col0\" >5</td>\n",
1029
+ " <td id=\"T_d64c6_row2_col1\" class=\"data row2 col1\" >16.7%</td>\n",
1030
1030
  " </tr>\n",
1031
1031
  " <tr>\n",
1032
- " <th id=\"T_7fcc9_level0_row3\" class=\"row_heading level0 row3\" >Somewhat disagree</th>\n",
1033
- " <td id=\"T_7fcc9_row3_col0\" class=\"data row3 col0\" >5</td>\n",
1034
- " <td id=\"T_7fcc9_row3_col1\" class=\"data row3 col1\" >16.7%</td>\n",
1032
+ " <th id=\"T_d64c6_level0_row3\" class=\"row_heading level0 row3\" >Somewhat disagree</th>\n",
1033
+ " <td id=\"T_d64c6_row3_col0\" class=\"data row3 col0\" >5</td>\n",
1034
+ " <td id=\"T_d64c6_row3_col1\" class=\"data row3 col1\" >16.7%</td>\n",
1035
1035
  " </tr>\n",
1036
1036
  " <tr>\n",
1037
- " <th id=\"T_7fcc9_level0_row4\" class=\"row_heading level0 row4\" >Somewhat agree</th>\n",
1038
- " <td id=\"T_7fcc9_row4_col0\" class=\"data row4 col0\" >3</td>\n",
1039
- " <td id=\"T_7fcc9_row4_col1\" class=\"data row4 col1\" >10.0%</td>\n",
1037
+ " <th id=\"T_d64c6_level0_row4\" class=\"row_heading level0 row4\" >Somewhat agree</th>\n",
1038
+ " <td id=\"T_d64c6_row4_col0\" class=\"data row4 col0\" >3</td>\n",
1039
+ " <td id=\"T_d64c6_row4_col1\" class=\"data row4 col1\" >10.0%</td>\n",
1040
1040
  " </tr>\n",
1041
1041
  " </tbody>\n",
1042
1042
  "</table>\n"
1043
1043
  ],
1044
1044
  "text/plain": [
1045
- "<pandas.io.formats.style.Styler at 0x708c40ae90>"
1045
+ "<pandas.io.formats.style.Styler at 0x1774c6120>"
1046
1046
  ]
1047
1047
  },
1048
1048
  "metadata": {},
@@ -1053,52 +1053,52 @@
1053
1053
  "text/html": [
1054
1054
  "<style type=\"text/css\">\n",
1055
1055
  "</style>\n",
1056
- "<table id=\"T_758c4\">\n",
1056
+ "<table id=\"T_eea0c\">\n",
1057
1057
  " <caption>Pupil_Left distribution</caption>\n",
1058
1058
  " <thead>\n",
1059
1059
  " <tr>\n",
1060
1060
  " <th class=\"blank level0\" >&nbsp;</th>\n",
1061
- " <th id=\"T_758c4_level0_col0\" class=\"col_heading level0 col0\" >pupil_left</th>\n",
1061
+ " <th id=\"T_eea0c_level0_col0\" class=\"col_heading level0 col0\" >pupil_left</th>\n",
1062
1062
  " </tr>\n",
1063
1063
  " </thead>\n",
1064
1064
  " <tbody>\n",
1065
1065
  " <tr>\n",
1066
- " <th id=\"T_758c4_level0_row0\" class=\"row_heading level0 row0\" >count</th>\n",
1067
- " <td id=\"T_758c4_row0_col0\" class=\"data row0 col0\" >30.00</td>\n",
1066
+ " <th id=\"T_eea0c_level0_row0\" class=\"row_heading level0 row0\" >count</th>\n",
1067
+ " <td id=\"T_eea0c_row0_col0\" class=\"data row0 col0\" >30.00</td>\n",
1068
1068
  " </tr>\n",
1069
1069
  " <tr>\n",
1070
- " <th id=\"T_758c4_level0_row1\" class=\"row_heading level0 row1\" >mean</th>\n",
1071
- " <td id=\"T_758c4_row1_col0\" class=\"data row1 col0\" >2.68</td>\n",
1070
+ " <th id=\"T_eea0c_level0_row1\" class=\"row_heading level0 row1\" >mean</th>\n",
1071
+ " <td id=\"T_eea0c_row1_col0\" class=\"data row1 col0\" >2.68</td>\n",
1072
1072
  " </tr>\n",
1073
1073
  " <tr>\n",
1074
- " <th id=\"T_758c4_level0_row2\" class=\"row_heading level0 row2\" >std</th>\n",
1075
- " <td id=\"T_758c4_row2_col0\" class=\"data row2 col0\" >0.07</td>\n",
1074
+ " <th id=\"T_eea0c_level0_row2\" class=\"row_heading level0 row2\" >std</th>\n",
1075
+ " <td id=\"T_eea0c_row2_col0\" class=\"data row2 col0\" >0.07</td>\n",
1076
1076
  " </tr>\n",
1077
1077
  " <tr>\n",
1078
- " <th id=\"T_758c4_level0_row3\" class=\"row_heading level0 row3\" >min</th>\n",
1079
- " <td id=\"T_758c4_row3_col0\" class=\"data row3 col0\" >2.53</td>\n",
1078
+ " <th id=\"T_eea0c_level0_row3\" class=\"row_heading level0 row3\" >min</th>\n",
1079
+ " <td id=\"T_eea0c_row3_col0\" class=\"data row3 col0\" >2.53</td>\n",
1080
1080
  " </tr>\n",
1081
1081
  " <tr>\n",
1082
- " <th id=\"T_758c4_level0_row4\" class=\"row_heading level0 row4\" >25%</th>\n",
1083
- " <td id=\"T_758c4_row4_col0\" class=\"data row4 col0\" >2.62</td>\n",
1082
+ " <th id=\"T_eea0c_level0_row4\" class=\"row_heading level0 row4\" >25%</th>\n",
1083
+ " <td id=\"T_eea0c_row4_col0\" class=\"data row4 col0\" >2.62</td>\n",
1084
1084
  " </tr>\n",
1085
1085
  " <tr>\n",
1086
- " <th id=\"T_758c4_level0_row5\" class=\"row_heading level0 row5\" >50%</th>\n",
1087
- " <td id=\"T_758c4_row5_col0\" class=\"data row5 col0\" >2.68</td>\n",
1086
+ " <th id=\"T_eea0c_level0_row5\" class=\"row_heading level0 row5\" >50%</th>\n",
1087
+ " <td id=\"T_eea0c_row5_col0\" class=\"data row5 col0\" >2.68</td>\n",
1088
1088
  " </tr>\n",
1089
1089
  " <tr>\n",
1090
- " <th id=\"T_758c4_level0_row6\" class=\"row_heading level0 row6\" >75%</th>\n",
1091
- " <td id=\"T_758c4_row6_col0\" class=\"data row6 col0\" >2.74</td>\n",
1090
+ " <th id=\"T_eea0c_level0_row6\" class=\"row_heading level0 row6\" >75%</th>\n",
1091
+ " <td id=\"T_eea0c_row6_col0\" class=\"data row6 col0\" >2.74</td>\n",
1092
1092
  " </tr>\n",
1093
1093
  " <tr>\n",
1094
- " <th id=\"T_758c4_level0_row7\" class=\"row_heading level0 row7\" >max</th>\n",
1095
- " <td id=\"T_758c4_row7_col0\" class=\"data row7 col0\" >2.82</td>\n",
1094
+ " <th id=\"T_eea0c_level0_row7\" class=\"row_heading level0 row7\" >max</th>\n",
1095
+ " <td id=\"T_eea0c_row7_col0\" class=\"data row7 col0\" >2.82</td>\n",
1096
1096
  " </tr>\n",
1097
1097
  " </tbody>\n",
1098
1098
  "</table>\n"
1099
1099
  ],
1100
1100
  "text/plain": [
1101
- "<pandas.io.formats.style.Styler at 0x708c40ae90>"
1101
+ "<pandas.io.formats.style.Styler at 0x7076d57750>"
1102
1102
  ]
1103
1103
  },
1104
1104
  "metadata": {},
@@ -1109,52 +1109,52 @@
1109
1109
  "text/html": [
1110
1110
  "<style type=\"text/css\">\n",
1111
1111
  "</style>\n",
1112
- "<table id=\"T_6cf18\">\n",
1112
+ "<table id=\"T_07baf\">\n",
1113
1113
  " <caption>Pupil_Right distribution</caption>\n",
1114
1114
  " <thead>\n",
1115
1115
  " <tr>\n",
1116
1116
  " <th class=\"blank level0\" >&nbsp;</th>\n",
1117
- " <th id=\"T_6cf18_level0_col0\" class=\"col_heading level0 col0\" >pupil_right</th>\n",
1117
+ " <th id=\"T_07baf_level0_col0\" class=\"col_heading level0 col0\" >pupil_right</th>\n",
1118
1118
  " </tr>\n",
1119
1119
  " </thead>\n",
1120
1120
  " <tbody>\n",
1121
1121
  " <tr>\n",
1122
- " <th id=\"T_6cf18_level0_row0\" class=\"row_heading level0 row0\" >count</th>\n",
1123
- " <td id=\"T_6cf18_row0_col0\" class=\"data row0 col0\" >29.00</td>\n",
1122
+ " <th id=\"T_07baf_level0_row0\" class=\"row_heading level0 row0\" >count</th>\n",
1123
+ " <td id=\"T_07baf_row0_col0\" class=\"data row0 col0\" >29.00</td>\n",
1124
1124
  " </tr>\n",
1125
1125
  " <tr>\n",
1126
- " <th id=\"T_6cf18_level0_row1\" class=\"row_heading level0 row1\" >mean</th>\n",
1127
- " <td id=\"T_6cf18_row1_col0\" class=\"data row1 col0\" >2.70</td>\n",
1126
+ " <th id=\"T_07baf_level0_row1\" class=\"row_heading level0 row1\" >mean</th>\n",
1127
+ " <td id=\"T_07baf_row1_col0\" class=\"data row1 col0\" >2.70</td>\n",
1128
1128
  " </tr>\n",
1129
1129
  " <tr>\n",
1130
- " <th id=\"T_6cf18_level0_row2\" class=\"row_heading level0 row2\" >std</th>\n",
1131
- " <td id=\"T_6cf18_row2_col0\" class=\"data row2 col0\" >0.10</td>\n",
1130
+ " <th id=\"T_07baf_level0_row2\" class=\"row_heading level0 row2\" >std</th>\n",
1131
+ " <td id=\"T_07baf_row2_col0\" class=\"data row2 col0\" >0.10</td>\n",
1132
1132
  " </tr>\n",
1133
1133
  " <tr>\n",
1134
- " <th id=\"T_6cf18_level0_row3\" class=\"row_heading level0 row3\" >min</th>\n",
1135
- " <td id=\"T_6cf18_row3_col0\" class=\"data row3 col0\" >2.52</td>\n",
1134
+ " <th id=\"T_07baf_level0_row3\" class=\"row_heading level0 row3\" >min</th>\n",
1135
+ " <td id=\"T_07baf_row3_col0\" class=\"data row3 col0\" >2.52</td>\n",
1136
1136
  " </tr>\n",
1137
1137
  " <tr>\n",
1138
- " <th id=\"T_6cf18_level0_row4\" class=\"row_heading level0 row4\" >25%</th>\n",
1139
- " <td id=\"T_6cf18_row4_col0\" class=\"data row4 col0\" >2.61</td>\n",
1138
+ " <th id=\"T_07baf_level0_row4\" class=\"row_heading level0 row4\" >25%</th>\n",
1139
+ " <td id=\"T_07baf_row4_col0\" class=\"data row4 col0\" >2.61</td>\n",
1140
1140
  " </tr>\n",
1141
1141
  " <tr>\n",
1142
- " <th id=\"T_6cf18_level0_row5\" class=\"row_heading level0 row5\" >50%</th>\n",
1143
- " <td id=\"T_6cf18_row5_col0\" class=\"data row5 col0\" >2.71</td>\n",
1142
+ " <th id=\"T_07baf_level0_row5\" class=\"row_heading level0 row5\" >50%</th>\n",
1143
+ " <td id=\"T_07baf_row5_col0\" class=\"data row5 col0\" >2.71</td>\n",
1144
1144
  " </tr>\n",
1145
1145
  " <tr>\n",
1146
- " <th id=\"T_6cf18_level0_row6\" class=\"row_heading level0 row6\" >75%</th>\n",
1147
- " <td id=\"T_6cf18_row6_col0\" class=\"data row6 col0\" >2.79</td>\n",
1146
+ " <th id=\"T_07baf_level0_row6\" class=\"row_heading level0 row6\" >75%</th>\n",
1147
+ " <td id=\"T_07baf_row6_col0\" class=\"data row6 col0\" >2.79</td>\n",
1148
1148
  " </tr>\n",
1149
1149
  " <tr>\n",
1150
- " <th id=\"T_6cf18_level0_row7\" class=\"row_heading level0 row7\" >max</th>\n",
1151
- " <td id=\"T_6cf18_row7_col0\" class=\"data row7 col0\" >2.85</td>\n",
1150
+ " <th id=\"T_07baf_level0_row7\" class=\"row_heading level0 row7\" >max</th>\n",
1151
+ " <td id=\"T_07baf_row7_col0\" class=\"data row7 col0\" >2.85</td>\n",
1152
1152
  " </tr>\n",
1153
1153
  " </tbody>\n",
1154
1154
  "</table>\n"
1155
1155
  ],
1156
1156
  "text/plain": [
1157
- "<pandas.io.formats.style.Styler at 0x708c40ae90>"
1157
+ "<pandas.io.formats.style.Styler at 0x7076d57750>"
1158
1158
  ]
1159
1159
  },
1160
1160
  "metadata": {},
@@ -1178,7 +1178,7 @@
1178
1178
  },
1179
1179
  {
1180
1180
  "cell_type": "code",
1181
- "execution_count": 131,
1181
+ "execution_count": 12,
1182
1182
  "id": "3d9923db",
1183
1183
  "metadata": {},
1184
1184
  "outputs": [
@@ -1271,7 +1271,7 @@
1271
1271
  "4 Master's Degree "
1272
1272
  ]
1273
1273
  },
1274
- "execution_count": 131,
1274
+ "execution_count": 12,
1275
1275
  "metadata": {},
1276
1276
  "output_type": "execute_result"
1277
1277
  }
@@ -1296,7 +1296,7 @@
1296
1296
  },
1297
1297
  {
1298
1298
  "cell_type": "code",
1299
- "execution_count": 132,
1299
+ "execution_count": 13,
1300
1300
  "id": "b14230cf",
1301
1301
  "metadata": {},
1302
1302
  "outputs": [
@@ -1432,7 +1432,7 @@
1432
1432
  "4 0.025275 0.024139 "
1433
1433
  ]
1434
1434
  },
1435
- "execution_count": 132,
1435
+ "execution_count": 13,
1436
1436
  "metadata": {},
1437
1437
  "output_type": "execute_result"
1438
1438
  }
@@ -1449,7 +1449,7 @@
1449
1449
  },
1450
1450
  {
1451
1451
  "cell_type": "code",
1452
- "execution_count": 133,
1452
+ "execution_count": 14,
1453
1453
  "id": "c40f5402",
1454
1454
  "metadata": {},
1455
1455
  "outputs": [
@@ -1560,7 +1560,7 @@
1560
1560
  "4 358.868249 Joy 0.120167 "
1561
1561
  ]
1562
1562
  },
1563
- "execution_count": 133,
1563
+ "execution_count": 14,
1564
1564
  "metadata": {},
1565
1565
  "output_type": "execute_result"
1566
1566
  }
@@ -1587,7 +1587,7 @@
1587
1587
  },
1588
1588
  {
1589
1589
  "cell_type": "code",
1590
- "execution_count": 134,
1590
+ "execution_count": 15,
1591
1591
  "id": "8b1f24f1",
1592
1592
  "metadata": {},
1593
1593
  "outputs": [
@@ -1661,7 +1661,7 @@
1661
1661
  },
1662
1662
  {
1663
1663
  "cell_type": "code",
1664
- "execution_count": 135,
1664
+ "execution_count": 16,
1665
1665
  "id": "f2a2ca1c",
1666
1666
  "metadata": {},
1667
1667
  "outputs": [
@@ -1825,7 +1825,7 @@
1825
1825
  },
1826
1826
  {
1827
1827
  "cell_type": "code",
1828
- "execution_count": 136,
1828
+ "execution_count": 17,
1829
1829
  "id": "9bb85722",
1830
1830
  "metadata": {},
1831
1831
  "outputs": [
@@ -1857,7 +1857,7 @@
1857
1857
  },
1858
1858
  {
1859
1859
  "cell_type": "code",
1860
- "execution_count": 137,
1860
+ "execution_count": 18,
1861
1861
  "id": "ed731078",
1862
1862
  "metadata": {},
1863
1863
  "outputs": [
@@ -19,7 +19,7 @@
19
19
  },
20
20
  {
21
21
  "cell_type": "code",
22
- "execution_count": null,
22
+ "execution_count": 1,
23
23
  "id": "169c21fc",
24
24
  "metadata": {},
25
25
  "outputs": [],
@@ -87,7 +87,16 @@
87
87
  "execution_count": 3,
88
88
  "id": "a2eebb49",
89
89
  "metadata": {},
90
- "outputs": [],
90
+ "outputs": [
91
+ {
92
+ "name": "stderr",
93
+ "output_type": "stream",
94
+ "text": [
95
+ "Processing sensor files: 100%|██████████| 10/10 [00:02<00:00, 4.02it/s]\n",
96
+ "Processing sensor files: 100%|██████████| 10/10 [00:02<00:00, 4.23it/s]\n"
97
+ ]
98
+ }
99
+ ],
91
100
  "source": [
92
101
  "if REBUILD:\n",
93
102
  " CBACABLab.LoadSurveyData(databaseName=DATABASE, surveyName=SURVEY_FILE)\n",
@@ -1010,7 +1019,7 @@
1010
1019
  "name": "stderr",
1011
1020
  "output_type": "stream",
1012
1021
  "text": [
1013
- "100%|██████████| 100/100 [00:04<00:00, 23.57it/s]\n"
1022
+ "100%|██████████| 100/100 [00:04<00:00, 24.22it/s]\n"
1014
1023
  ]
1015
1024
  },
1016
1025
  {
@@ -1048,8 +1057,8 @@
1048
1057
  " <td>-0.392776</td>\n",
1049
1058
  " <td>-0.075341</td>\n",
1050
1059
  " <td>-0.096951</td>\n",
1051
- " <td>-0.54352</td>\n",
1052
- " <td>-0.237571</td>\n",
1060
+ " <td>-0.58307</td>\n",
1061
+ " <td>-0.20598</td>\n",
1053
1062
  " <td>0.0</td>\n",
1054
1063
  " </tr>\n",
1055
1064
  " </tbody>\n",
@@ -1058,7 +1067,7 @@
1058
1067
  ],
1059
1068
  "text/plain": [
1060
1069
  " beta marginal marginal_discrete lower_bound upper_bound \\\n",
1061
- "pupil_left -0.392776 -0.075341 -0.096951 -0.54352 -0.237571 \n",
1070
+ "pupil_left -0.392776 -0.075341 -0.096951 -0.58307 -0.20598 \n",
1062
1071
  "\n",
1063
1072
  " p_value \n",
1064
1073
  "pupil_left 0.0 "
@@ -1113,8 +1122,8 @@
1113
1122
  "Dep. Variable: pupil_left R-squared: 0.113\n",
1114
1123
  "Model: OLS Adj. R-squared: 0.047\n",
1115
1124
  "Method: Least Squares F-statistic: 1.619\n",
1116
- "Date: Thu, 05 Nov 2026 Prob (F-statistic): 0.251\n",
1117
- "Time: 06:18:49 Log-Likelihood: 38.452\n",
1125
+ "Date: Sun, 15 Nov 2026 Prob (F-statistic): 0.251\n",
1126
+ "Time: 06:27:08 Log-Likelihood: 38.452\n",
1118
1127
  "No. Observations: 30 AIC: -70.90\n",
1119
1128
  "Df Residuals: 27 BIC: -66.70\n",
1120
1129
  "Df Model: 2 \n",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: CBACABLab
3
- Version: 0.0.1
3
+ Version: 0.0.3
4
4
  Summary: Tools for loading, joining, and plotting survey and iMotions sensor data.
5
5
  Project-URL: Homepage, https://github.com/UNO-CAB-Lab/python-parsing
6
6
  Project-URL: Bug Tracker, https://github.com/UNO-CAB-Lab/python-parsing/issues
@@ -18,12 +18,14 @@ Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Programming Language :: Python :: 3.13
19
19
  Classifier: Programming Language :: Python :: 3.14
20
20
  Requires-Python: >=3.9
21
+ Requires-Dist: ipython>=7.0.0
21
22
  Requires-Dist: matplotlib>=3.4.0
22
23
  Requires-Dist: numpy>=1.21.0
23
24
  Requires-Dist: openpyxl>=3.0.0
24
25
  Requires-Dist: pandas>=1.3.0
25
26
  Requires-Dist: seaborn>=0.11.0
26
27
  Requires-Dist: statsmodels>=0.13.0
28
+ Requires-Dist: tqdm>=4.0.0
27
29
  Description-Content-Type: text/markdown
28
30
 
29
31
  # CBA CAB Lab
@@ -40,7 +42,11 @@ pip install CBACABLab
40
42
  To install this module with conda, you can use the following command:
41
43
 
42
44
  ```
43
- conda install -c tazzben cbacablab
45
+ conda install -c tazzben CBACABLab
44
46
  ```
45
47
 
46
- If you don't yet have Python installed, we recommend installing Anaconda, which is a open-source distribution of Python that includes useful packages for data analysis. You can download Anaconda from [here](https://www.anaconda.com/products/distribution). We also recommend you install Microsoft [Visual Studio Code](https://code.visualstudio.com/) to work with notebook files.
48
+ If you don't yet have Python installed, we recommend installing Anaconda, which is a open-source distribution of Python that includes useful packages for data analysis. You can download Anaconda from [here](https://www.anaconda.com/products/distribution). We also recommend you install Microsoft [Visual Studio Code](https://code.visualstudio.com/) to work with notebook files.
49
+
50
+ ## Thanks to GitBook
51
+
52
+ As an open source project, GitBook has provided our documentation site for free. We appreciate their support.
@@ -12,7 +12,11 @@ pip install CBACABLab
12
12
  To install this module with conda, you can use the following command:
13
13
 
14
14
  ```
15
- conda install -c tazzben cbacablab
15
+ conda install -c tazzben CBACABLab
16
16
  ```
17
17
 
18
- If you don't yet have Python installed, we recommend installing Anaconda, which is a open-source distribution of Python that includes useful packages for data analysis. You can download Anaconda from [here](https://www.anaconda.com/products/distribution). We also recommend you install Microsoft [Visual Studio Code](https://code.visualstudio.com/) to work with notebook files.
18
+ If you don't yet have Python installed, we recommend installing Anaconda, which is a open-source distribution of Python that includes useful packages for data analysis. You can download Anaconda from [here](https://www.anaconda.com/products/distribution). We also recommend you install Microsoft [Visual Studio Code](https://code.visualstudio.com/) to work with notebook files.
19
+
20
+ ## Thanks to GitBook
21
+
22
+ As an open source project, GitBook has provided our documentation site for free. We appreciate their support.
@@ -1,12 +1,12 @@
1
- startDate,endDate,status,ipAddress,progress,duration,finished,recordedDate,_recordId,recipientLastName,recipientFirstName,recipientEmail,externalDataReference,locationLatitude,locationLongitude,distributionChannel,userLanguage,LastSeenFlowID,LastSeenQuestions,QID1,QID2,QID3,QID4_4,QID7_4,QID5,QID6,iMotionsStudy,iMotionsRespondent
2
- Start Date,End Date,Response Type,IP Address,Progress,Duration (in seconds),Finished,Recorded Date,Response ID,Recipient Last Name,Recipient First Name,Recipient Email,External Data Reference,LocationLatitude - Location Latitude,LocationLongitude - Location Longitude,DistributionChannel - Distribution Channel,UserLanguage - User Language,Last Seen Flow Element ID,Last Seen Question IDs,Q1 - Hot dogs are sandwiches.,Q2 - Pineapple belongs on pizza.,Q3 - Cats are better than dogs.,Q4_4 - Slide to any positive number. - Wee!,Q5_4 - Slide to any positive number. - So fun!,Q6 - Select a demographic choice.,Q7 - Select a demographic choice.,iMotionsStudy,iMotionsRespondent
3
- 2026-11-04 09:40:37,2026-11-04 09:41:08,IP Address,137.48.255.245,100,30,True,2026-11-04 09:41:08,R_3CBo2m39yvEOQ0u,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly disagree,Neither agree nor disagree,Strongly agree,65.198,22.066,Other,Bachelor's Degree,CAB Lab Module Test,00001
4
- 2026-11-04 09:42:36,2026-11-04 09:43:05,IP Address,137.48.255.245,100,29,True,2026-11-04 09:43:05,R_5OTJ3i4LirCU4lZ,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly agree,Neither agree nor disagree,Somewhat disagree,89.207,94.341,White/ Caucasian,Prefer not to say,CAB Lab Module Test,00002
5
- 2026-11-04 09:44:47,2026-11-04 09:45:21,IP Address,137.48.255.245,100,33,True,2026-11-04 09:45:21,R_637SUmFYOtvsdoz,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Neither agree nor disagree,Strongly disagree,Somewhat disagree,100,2.458,White/ Caucasian,High school diploma / GED,CAB Lab Module Test,00003
6
- 2026-11-04 09:46:42,2026-11-04 09:47:30,IP Address,137.48.255.245,100,48,True,2026-11-04 09:47:31,R_3BR5JMStwpV0wI7,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Somewhat agree,Strongly agree,Neither agree nor disagree,51.432,7.629,Asian/ Asian American,Master's Degree,CAB Lab Module Test,00004
7
- 2026-11-04 09:56:56,2026-11-04 09:57:39,IP Address,137.48.255.245,100,43,True,2026-11-04 09:57:40,R_5thZAS17BEWdKsF,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Somewhat agree,Strongly agree,Somewhat disagree,18.943,80.931,White/ Caucasian,Master's Degree,CAB Lab Module Test,00005
8
- 2026-11-04 09:59:05,2026-11-04 09:59:46,IP Address,137.48.255.245,100,40,True,2026-11-04 09:59:46,R_35SmgnVsnrmJPcj,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Somewhat disagree,Strongly agree,Strongly agree,24.009,23.409,Black/ African/ African American,High school diploma / GED,CAB Lab Module Test,00006
9
- 2026-11-04 10:01:14,2026-11-04 10:01:51,IP Address,137.48.255.245,100,37,True,2026-11-04 10:01:51,R_1LJS6yQ6S6wkzRv,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly agree,Somewhat agree,Neither agree nor disagree,54.405,2.465,Prefer not to say,PhD or higher,CAB Lab Module Test,00007
10
- 2026-11-04 10:36:08,2026-11-04 10:36:56,IP Address,137.48.255.245,100,47,True,2026-11-04 10:36:56,R_3yjzx8w49H6sWhJ,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Somewhat disagree,Strongly disagree,Neither agree nor disagree,26.762,78.343,White/ Caucasian,Master's Degree,CAB Lab Module Test,00008
11
- 2026-11-04 10:38:18,2026-11-04 10:39:06,IP Address,137.48.255.245,100,47,True,2026-11-04 10:39:06,R_7CdKICWrMJJCe4B,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly agree,Strongly disagree,Strongly agree,100,77.755,Hispanic/ Latinx,Prefer not to say,CAB Lab Module Test,00009
12
- 2026-11-04 10:40:43,2026-11-04 10:41:39,IP Address,137.48.255.245,100,56,True,2026-11-04 10:41:39,R_3MEh2VCyfoUDdO1,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly agree,Neither agree nor disagree,Strongly disagree,0.661,99.765,Asian/ Asian American,Trade/ Vocational school,CAB Lab Module Test,00010
1
+ startDate,endDate,status,ipAddress,progress,duration,finished,recordedDate,_recordId,recipientLastName,recipientFirstName,recipientEmail,externalDataReference,locationLatitude,locationLongitude,distributionChannel,userLanguage,LastSeenFlowID,LastSeenQuestions,QID1,QID2,QID3,QID4_4,QID7_4,QID5,QID6,iMotionsStudy,iMotionsRespondent
2
+ Start Date,End Date,Response Type,IP Address,Progress,Duration (in seconds),Finished,Recorded Date,Response ID,Recipient Last Name,Recipient First Name,Recipient Email,External Data Reference,LocationLatitude - Location Latitude,LocationLongitude - Location Longitude,DistributionChannel - Distribution Channel,UserLanguage - User Language,Last Seen Flow Element ID,Last Seen Question IDs,Q1 - Hot dogs are sandwiches.,Q2 - Pineapple belongs on pizza.,Q3 - Cats are better than dogs.,Q4_4 - Slide to any positive number. - Wee!,Q5_4 - Slide to any positive number. - So fun!,Q6 - Select a demographic choice.,Q7 - Select a demographic choice.,iMotionsStudy,iMotionsRespondent
3
+ 2026-11-04 09:40:37,2026-11-04 09:41:08,IP Address,137.48.255.245,100,30,True,2026-11-04 09:41:08,R_3CBo2m39yvEOQ0u,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly disagree,Neither agree nor disagree,Strongly agree,65.198,22.066,Other,Bachelor's Degree,CAB Lab Module Test,00001
4
+ 2026-11-04 09:42:36,2026-11-04 09:43:05,IP Address,137.48.255.245,100,29,True,2026-11-04 09:43:05,R_5OTJ3i4LirCU4lZ,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly agree,Neither agree nor disagree,Somewhat disagree,89.207,94.341,White/ Caucasian,Prefer not to say,CAB Lab Module Test,00002
5
+ 2026-11-04 09:44:47,2026-11-04 09:45:21,IP Address,137.48.255.245,100,33,True,2026-11-04 09:45:21,R_637SUmFYOtvsdoz,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Neither agree nor disagree,Strongly disagree,Somewhat disagree,100,2.458,White/ Caucasian,High school diploma / GED,CAB Lab Module Test,00003
6
+ 2026-11-04 09:46:42,2026-11-04 09:47:30,IP Address,137.48.255.245,100,48,True,2026-11-04 09:47:31,R_3BR5JMStwpV0wI7,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Somewhat agree,Strongly agree,Neither agree nor disagree,51.432,7.629,Asian/ Asian American,Master's Degree,CAB Lab Module Test,00004
7
+ 2026-11-04 09:56:56,2026-11-04 09:57:39,IP Address,137.48.255.245,100,43,True,2026-11-04 09:57:40,R_5thZAS17BEWdKsF,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Somewhat agree,Strongly agree,Somewhat disagree,18.943,80.931,White/ Caucasian,Master's Degree,CAB Lab Module Test,00005
8
+ 2026-11-04 09:59:05,2026-11-04 09:59:46,IP Address,137.48.255.245,100,40,True,2026-11-04 09:59:46,R_35SmgnVsnrmJPcj,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Somewhat disagree,Strongly agree,Strongly agree,24.009,23.409,Black/ African/ African American,High school diploma / GED,CAB Lab Module Test,00006
9
+ 2026-11-04 10:01:14,2026-11-04 10:01:51,IP Address,137.48.255.245,100,37,True,2026-11-04 10:01:51,R_1LJS6yQ6S6wkzRv,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly agree,Somewhat agree,Neither agree nor disagree,54.405,2.465,Prefer not to say,PhD or higher,CAB Lab Module Test,00007
10
+ 2026-11-04 10:36:08,2026-11-04 10:36:56,IP Address,137.48.255.245,100,47,True,2026-11-04 10:36:56,R_3yjzx8w49H6sWhJ,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Somewhat disagree,Strongly disagree,Neither agree nor disagree,26.762,78.343,White/ Caucasian,Master's Degree,CAB Lab Module Test,00008
11
+ 2026-11-04 10:38:18,2026-11-04 10:39:06,IP Address,137.48.255.245,100,47,True,2026-11-04 10:39:06,R_7CdKICWrMJJCe4B,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly agree,Strongly disagree,Strongly agree,100,77.755,Hispanic/ Latinx,Prefer not to say,CAB Lab Module Test,00009
12
+ 2026-11-04 10:40:43,2026-11-04 10:41:39,IP Address,137.48.255.245,100,56,True,2026-11-04 10:41:39,R_3MEh2VCyfoUDdO1,,,,,41.2612,-95.9354,anonymous,EN,FL_EOS_ID,,Strongly agree,Neither agree nor disagree,Strongly disagree,0.661,99.765,Asian/ Asian American,Trade/ Vocational school,CAB Lab Module Test,00010
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "CBACABLab"
7
- version = "0.0.1"
7
+ version = "0.0.3"
8
8
  description = "Tools for loading, joining, and plotting survey and iMotions sensor data."
9
9
  license = "MIT"
10
10
  authors = [
@@ -33,6 +33,8 @@ dependencies = [
33
33
  "matplotlib>=3.4.0",
34
34
  "seaborn>=0.11.0",
35
35
  "statsmodels>=0.13.0",
36
+ "ipython>=7.0.0",
37
+ "tqdm>=4.0.0",
36
38
  ]
37
39
 
38
40
  [project.urls]
@@ -4,6 +4,7 @@ warnings.filterwarnings("ignore", category=UserWarning, module="openpyxl")
4
4
  import sqlite3
5
5
  import os
6
6
  import json
7
+ from tqdm import tqdm
7
8
 
8
9
  def LoadSettings(path=None):
9
10
  """Load module settings from settings.json (or the given JSON file)."""
@@ -243,7 +244,7 @@ def LoadSensorData(databaseName = "data.db", sensorFolder = "./sensorData/", bou
243
244
  raise FileNotFoundError(f"Sensor folder does not exist: {folder}")
244
245
 
245
246
  f = os.listdir(folder)
246
- for file in f:
247
+ for file in tqdm(f, desc="Processing sensor files"):
247
248
  filename, file_extension = os.path.splitext(file)
248
249
  if file_extension == '.csv':
249
250
  _, respondentid = filename.split('_')
@@ -2,4 +2,6 @@ from .Plots import ProjectKDEPlot, CreateLOESSPlots, CreateMultipleLinePlots, Cr
2
2
  from .Util import SummaryStatisticsOfCounts, SummaryStatisticsOfContinuous
3
3
  from .LoadRawData import LoadSurveyData, LoadSensorData, AutoDetermineQuestionIdtoQuestionNameMapping
4
4
  from .LoadSQLData import ListQuestions, LoadQuestionsWide, LoadSurveyWithSensorDataLong, LoadSurveyWithSensorDataWide, ListInstrumentColumns, ListLikertScales
5
- from .LikertPrep import LikertToK, AddLikertColumns, CreatePanelData
5
+ from .LikertPrep import LikertToK, AddLikertColumns, CreatePanelData
6
+
7
+ __version__ = '0.0.3'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes