]>
Read the *.2pt file generated by either
tMCimg or tFDimg. The two-point file
records the photon density throughout the medium (possibly including
its phase or time course, depending on the details of the simulation).
| Syntax: | [data,seg] = loadMC2pt(filename); | |
|---|---|---|
| Inputs: | filename | Filename to read (without the .2pt extension) |
| Outputs: | data | Photon density data |
| seg | Contents of the segmentation file | |
To generate a forward forward matrix from Monte Carlo two-point files, multiply the source photon density (or their gradients) by the detector sensitivity for each measurement. Since the reciprocity theorem allows us to treat detectors as time-reversed sources, the "detector" sensitivities are equivalent to source photon densities for a source located at the same position.
where the Green's function
and the
photon density returned by