]>
If not known from some other experimental
measurement, background optical properties can be obtained by fitting
to the experimental data. While generalized
routines for fitting the background optical properties are
available, if only one set of optical properties
(
or
)
are needed, it is much faster to used the specialized
fitting routines
These routines use the Matlab Optimization Toolbox, which is not part of the core Matlab package. If the Optimization Toolbox is not available at your local site, try the general fitting routines, which do not require additional toolboxes be installed.
| Syntax: | mua = fitMua(SD, Medium, MeasList, data); | |
|---|---|---|
| Inputs: | SD | |
| Medium | ||
| MeasList | ||
| data | Experimental data to be fit against | |
| Outputs: | mua | Best-fit optical absorption at each wavelength |
| Syntax: | musp = fitMusp(SD, Medium, MeasList, data); | |
|---|---|---|
| Inputs: | SD | |
| Medium | ||
| MeasList | ||
| data | Experimental data to be fit against | |
| Outputs: | musp | Best-fit optical scattering at each wavelength |
The fit proceeds by minimizing the cost function
where the
are the individual experimental measurements and and
are the theoretical predictions, given optical properties
.
The norm of the log of the ratio was chosen over the more common
cost functions so as to give
equal weighting to points with large and small amplitudes, which seems
to yield a better fit to the data.
Given the the optical properties and the theoretical curve, the cost
function also tries to determine the source and detector coupling
coefficients (see