In this repository you will find 7 MATLAB scripts and 3 Excel datasets. The script "A_curves_Figure2.m" calls the function scripts "FvCB_model_Figure2.m", "FvCB_model_Figure2_noTPU" and "G85_model_Figure2" to create Figure 2 of the JAMES publication. The script "G85_Rd_FigureS1" calls the function script "G85_model_FigureS1" to create Figure S1 of the Supporting Information. The script "r2_RMSE_Table2" calculates statistics displayed in Table 2 of the JAMES publication. The Excel worksheet "Table2.xlsx" contains the values in Table 2 of the JAMES publication for quick data copying. The Excel worksheets "FvCBparameters_fitted_withTPU.xlsx" and "FvCBparameters_fitted_noTPU.xlsx" contains fitted FvCB model parameter values that were obtained using the "fitaci" function from the plantecophys R package (Duursma, 2015).