]> genBornData - calculate total fluence

Calculate Total Fluence

Given a previously solved forward problem (using genBornMat(), for example), genBornData() calculates the total field given a (possibly empty) set of perturbations in Medium.Object{:}.

Function Summary

Syntax: [Phi, Phi2pt] = genBornData(SD, Medium, MeasList, Method, Phi0, A, muVec, param1);
Inputs: SD SD structure
Medium Medium structure
MeasList Measurement List that corresponds to experimental data
Method Method used to calculate Phi0 and A
Phi0 Fluence from previous call to genBornMat or similar
A Forward matrix from previous call to genBornMat or similar
muVec muVec used to calculate A (see genBornMat() for a description of the muVec flags)
param1 Method-dependent parameter (only used for nth-Born and extended born methods)
Outputs: Phi The total fluence
Phi2pt Total fluence at each voxel (FullBorn methods only)

Detailed Descriptions

Given a (possibly empty) list of perturbations stored in Medium.Object, genBornData() calculates the total perturbed fluence

Φ = Φ 0 + A ΔX r

where Φ0 is the unperturbed fluence (as passed to genBornData()), A is the forward matrix (also passed to genBornData()) and ΔX is the perturbation derived from Medium.Object (either Δμa or ΔD/D).

If Method is "FullBorn", then in addition to the total fluence, genBornData() returns the fluence at every voxel throughout the volume Phi2pt. For all other methods, an empty list is returned.