{ "Functions": { "1Dto1D examples": { "f1": { "PiecewiseLinear": { "xValues": [ 0, 1.43, 3, 8, 13, 14.57, 16 ], "yValues": [ 5E-4, 0.002, 0.02, 1, 0.02, 0.002, 5E-4 ], "prefactor": 1 } }, "f2": { "Constant": { "constant": 1 } }, "f3": { "Product": [ { "Constant": { "constant": 2 } }, { "Constant": { "constant": 3 } } ] }, "f4": { "PiecewiseLinearFromFile": { "PathToH5": { "Type": "RelativeToHomebase", "RelativePath": "data/velocityDistributions/T2_vz/KuckertPaper", "Filename": "T2_vz_vs_z_kuckert_approximated.h5" }, "xValuesKey": "/z_position(m)", "yValuesKey": "/vz(ms)", "prefactor": 1 } }, "f5": { "Exponential": { "scale": -1, "prefactor": 1, "comment": "f5 = prefactor*exp(scale*x)" } } }, "3dto1D examples": { "f1": { "Constant3D": { "constant": 2 } }, "f2": { "Product": { "fi": { "Constant": { "constant": 2 } }, "fj": { "Constant": { "constant": 2 } }, "fk": { "PiecewiseLinear": { "xValues": [ 0, 1.43, 3, 8, 13, 14.57, 16 ], "yValues": [ 5E-4, 0.002, 0.02, 1, 0.02, 0.002, 5E-4 ], "prefactor": 1 } } } } } } }