Skip to content

Commit b8b8696

Browse files
committed
small cosmetic changes to the readme file and main_plotAge ... before the next release
1 parent 5305881 commit b8b8696

2 files changed

Lines changed: 13 additions & 38 deletions

File tree

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Description
22

3-
This is a collection of Matlab scripts that will demonstrate how to compute the location of a functional-base-of-support (FBOS) model given either plug-in-gait or an IOR marker data. In addition, there is an example that shows you how to construct your own FBOS model using example data. The FBOS is described in these papers:
3+
This is a collection of Matlab scripts that will demonstrate how to compute the location of a functional-base-of-support (fBOS) model given either plug-in-gait or an IOR marker data. In addition, there is an example that shows you how to construct your own fBOS model using example data. The fBOS is described in these papers:
44

55
- Sloot LH, Millard M, Werner C and Mombaur K (2020) Slow but Steady: Similar Sit-to-Stand Balance at Seat-Off in Older vs. Younger Adults. Front. Sports Act. Living 2:548174. doi: 10.3389/fspor.2020.548174
66

77
- Millard M, Sloot LH. A polygon model of the functional base-of-support during standing improves the accuracy of balance analysis. Journal of Biomechanics. 2025 Sep 9:112927. https://doi.org/10.1016/j.jbiomech.2025.112927
88

9-
- Sloot LH, Gerhardy T, Mombaur K, Millard M. The size of the functional base of support decreases with age. bioRxiv. 2025:2025-05. https://doi.org/10.1101/2025.05.19.654897
9+
- Sloot LH, Gerhardy T, Mombaur K, Millard M. The size of the functional base of support decreases with age. bioRxiv. 2025:2025-05. https://doi.org/10.1101/2025.05.19.654897 (accepted by Scientific Reports)
1010

1111
All of the code and files in this repository are covered by the license mentioned in the SPDX file header which makes it possible to audit the licenses in this code base using the ```reuse lint``` command from https://api.reuse.software/. A full copy of the license can be found in the LICENSES folder. To keep the reuse tool happy even this file has a license:
1212

@@ -29,9 +29,6 @@ Please note that csv files in the data folder do not have license headers though
2929
- normBosModelPigBare.csv
3030
- data/normBosModelsYoungMidageOlderAdults
3131
- normBosModel_14MidageAdults_Footwear_2Feet_Ior_Sloot2025.csv
32-
- normBosModel_22YoungAdults_Barefoot_1Foot_Ior_Sloot2025.csv
33-
- normBosModel_25YoungAdults_Footwear_2Feet_Ior_Sloot2025.csv
34-
- normBosModel_27YoungAdults_Barefoot_2Feet_Ior_Sloot2025.csv
3532
- normBosModel_34OlderAdults_Footwear_2Feet_Ior_Sloot2025.csv
3633
- normBosModel_38YoungAdults_Footwear_2Feet_Ior_Sloot2025.csv
3734

@@ -54,9 +51,9 @@ Please note that csv files in the data folder do not have license headers though
5451
- main_iorBosExample.m
5552
- main_pigBosExample.m
5653

57-
After going through the code in these two examples (the comments will direct you to the relevant sections) you will be able to calculate the location of the FBOS model in your own dat6.
54+
After going through the code in these two examples (the comments will direct you to the relevant sections) you will be able to calculate the location of the fBOS model in your own dat6.
5855

59-
6. For an example of how to **create** a FBOS model from data try running main_bosModelConstructionExample.m. If you are interested in creating your own FBOS model you will need to perform the experiments that are described in the publications mentioned in the description.
56+
6. For an example of how to **create** a fBOS model from data try running main_bosModelConstructionExample.m. If you are interested in creating your own fBOS model you will need to perform the experiments that are described in the publications mentioned in the description.
6057

6158
# Notes
6259

main_plotAgeGroupFunctionalBOSModels.m

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
% Plot the data
9999
%%
100100
idxYA = 0;
101-
xTickList = [];
102-
yTickList = [];
101+
xTickList = [0];
102+
yTickList = [0];
103103
for idx=1:1:length(fbosModels)
104104
if( contains(fbosModels(idx).footwear,'Footwear') ...
105105
&& contains(fbosModels(idx).stance,'2Feet') ...
@@ -140,24 +140,6 @@
140140
xTickList = unique(round(sort(xTickList),2));
141141
yTickList = unique(round(sort(yTickList),2));
142142

143-
% if(contains(fbosModels(idx).ageGroup,'YoungAdults'))
144-
% idxYAN = idxYA/3;
145-
% lineColor = [1,0,0].*idxYAN + [0,0,1].*(1-idxYAN);
146-
% displayName = [fbosModels(idx).footwear,' ',...
147-
% fbosModels(idx).stance,' (n=',num2str(fbosModels(idx).n),')'];
148-
% displayName = [displayName, '-',fbosModels(idx).study];
149-
%
150-
% subplot('Position',reshape(subPlotPanel(1,2,:),1,4));
151-
% plot(fbosModels(idx).data(:,1),...
152-
% fbosModels(idx).data(:,2),'-',...
153-
% 'Color',lineColor,...
154-
% 'DisplayName',displayName,...
155-
% 'LineWidth',2);
156-
% hold on;
157-
%
158-
% idxYA=idxYA+1;
159-
% end
160-
161143
end
162144

163145
subplot('Position',reshape(subPlotPanel(1,1,:),1,4));
@@ -178,6 +160,13 @@
178160
xlim(xExt);
179161
ylim(yExt);
180162

163+
plot([min(xExt),max(xExt)],[0,0],'-','Color',[1,1,1].*0.75,...
164+
'HandleVisibility','off');
165+
hold on;
166+
plot([0,0],[min(yExt),max(yExt)],'-','Color',[1,1,1].*0.75,...
167+
'HandleVisibility','off');
168+
hold on;
169+
181170
xticks(xTickList);
182171
xtickangle(90);
183172
yticks(yTickList);
@@ -187,17 +176,6 @@
187176
title({'A. Comparison of 2-foot shod fBOS profiles of',...
188177
'younger, middle-aged, and older adults'});
189178

190-
% subplot('Position',reshape(subPlotPanel(1,2,:),1,4));
191-
% box off;
192-
% legend;
193-
% legend box off;
194-
% xlim([-0.26,0.15]);
195-
% ylim([-0.55,0.25]);
196-
% xlabel('Norm. X (x/foot-width)');
197-
% ylabel('Norm. Y (y/foot-length)');
198-
% title({'B. Comparison of Young fBOS profiles when',...
199-
% 'barefoot/shod, and 1-foot/2-feet'});
200-
201179

202180
figH=plotExportConfig(figH,pageWidth,pageHeight);
203181

0 commit comments

Comments
 (0)