170 likes | 354 Views
Module 3.1: Data Fitting. Wendy Tanamai & Albert Cerussi Beckman Laser Institute University of California, Irvine. Outline. How data is fit Data file summary Using the GUI . How Data is Fit. FDPM Data Data inputs phase and amplitude vs. modulation frequency
E N D
Module 3.1:Data Fitting Wendy Tanamai & Albert Cerussi Beckman Laser Institute University of California, Irvine
Outline • How data is fit • Data file summary • Using the GUI
How Data is Fit • FDPM Data • Data inputs • phase and amplitude vs. modulation frequency • sample (tissue) and reference (phantom) • Calibration for: • FDPM amplitude (ratio) • FDPM phase (difference)
How Data is Fit • FDPM Data (continued) • Conversion to Real & Imaginary • lsqcurvefit function in MATLAB using both real and imaginary together • Some weighted fitting options • Done for each laser diode
How Data is Fit • Broadband Data • Dark count subtraction (usually done in acquisition) • Spectral calibration
How Data is Fit • Broadband Data • Power Law fit to FDPM scattering • Scattering removed from broadband reflectance • FDPM absorption used to scale broadband reflectance • Solve for absorption using MATLAB ‘fzero’
How Data is Fit • Physiological Fitting • Assume 4-chromophores • Non-zero least squares • Usually fit with baseline
Data Files (Acquired) • All files are ASCII • FDPM data has ‘dcswitch’ tag • for all modulation frequencies • one for each location • SPEC data has ‘tis’ tag • for all wavelengths • one for each location • Cal files named phantom/standard
Data Files (Processed) • _dBSUM file has all processed results for both FDPM (only) and FDPM-Broadband for all spatial locations • _MUA file has broadband absorption spectra and chromophore fits for all spatial locations • _MUS file has broadband reduced scattering spectra for all spatial locations
Data Files (Processed) • _dBMU file has all FDPM values for each wavelength and all spatial locations • _specR has the calibrated/scaled broadband reflectance spectra for all spatial locations • _gbfi (coming soon) quality of fit data for all fits and all spatial locations
Data Files (Processed) • Other processing options • Gridimager program (Visualization) • Double differential analysis (can download) • Bound Water/Temperature analysis
Using the GUI • Demo of the GUI