Skip to content

Inverse Solver Endpoint

Lisa Malenfant edited this page Jan 13, 2021 · 3 revisions

Inverse Solver Endpoint

/api/v1/inverse

Inverse Solver Parameters

Property Type Values Required Description
ForwardSolverType string PointSourceSDA yes Standard Diffusion Approximation (SDA) with point source forward solver
DistributedPointSourceSDA Standard Diffusion Approximation (SDA) with distributed point source forward solver
DistributedGaussianSourceSDA Standard Diffusion Approximation (SDA) with Gaussian distributed source forward solver
DeltaPOne Delta-P1 forward solver
MonteCarlo Scaled Monte Carlo forward solver
Nurbs Scaled Monte Carlo forward solver with non-uniform rational b-splines forward solver
TwoLayerSDA Two-layer forward solver based on standard diffusion
InverseSolverType string PointSourceSDA yes Standard Diffusion Approximation (SDA) with point source forward solver
DistributedPointSourceSDA Standard Diffusion Approximation (SDA) with distributed point source forward solver
DistributedGaussianSourceSDA Standard Diffusion Approximation (SDA) with Gaussian distributed source forward solver
DeltaPOne Delta-P1 forward solver
MonteCarlo Scaled Monte Carlo forward solver
Nurbs Scaled Monte Carlo forward solver with non-uniform rational b-splines forward solver
TwoLayerSDA Two-layer forward solver based on standard diffusion
SolutionDomain string ROfRho yes Reflectance as a function of source-detector separation (rho)
ROfFx Reflectance as a function of spatial-frequency (fx)
ROfRhoAndTime Reflectance as a function of source-detector separation (rho) and time (t)
ROfFxAndTime Reflectance as a function of spatial-frequency (fx) and time (t)
ROfRhoAndFt Reflectance as a function source-detector separation (rho) and temporal-frequency (ft)
ROfFxAndFt Reflectance as a function of spatial-frequency (fx) and temporal-frequency (ft)
XAxis* object Object yes
IndependentAxis* object Object yes required when 2 axes are present
OpticalProperties* object Object yes not required when using wavelength
ModelAnalysis string R yes Reflectance forward analysis type
dRdMua Derivative of reflectance (R) with respect to absorption coefficient (mua)
dRdMusp Derivative of reflectance (R) with respect to reduced scattering coefficient (musp)
dRdG Derivative of reflectance (R) with respect to anisotropy coefficient (g)
dRdN Derivative of reflectance (R) with respect to refractive index (n)
NoiseValue double Any<double> no defaults to 0

*Objects defined in detail below

X-Axis object

Property Type Values Required
Axis string Any<string> yes
AxisRange* double Object yes

Independent Axis object

Property Type Values Required Description
Axis string Any<string> yes
AxisValue double Any<double> yes only required if range is not specified
AxisRange* object Object yes only required if value is not specified

Second Independent Axis object

Property Type Values Required
Axis string Any<string> yes
AxisValue double Any<double> yes

Optical Properties object

Property Type Values Required Description
mua string Any<string> yes
musp double Any<double> yes
g double Object yes
n double Object yes

*Object defined in detail below

AxisRange object

Property Type Values Required
Start double Any<double> yes
Stop double Any<double> yes
Count double Any<double> yes
{
    "forwardSolverEngine": "PointSourceSDA",
    "optimizerType": "MPFitLevenbergMarquardt",
    "solutionDomain": "rofrho",
    "xAxis": {
    	"axis": "rho",
    	"axisRange": {
        	"start": 0.5,
        	"stop": 9.5,
        	"count": 9
    	}
    },
    "independentAxis": {
    	"axis": "time",
    	"axisValue": 0.05
    },
    "inverseSolverEngine": "PointSourceSDA",
    "opticalProperties": {
        "mua": 0.01,
        "musp": 1,
        "g": 0.8,
        "n": 1.4
    },
    "measuredData":[[0.5,0.0352304381546136],[1.0,0.014368953131916435],[1.5,0.0077256224944451043],[2.0,0.0046414734076406089],[2.5,0.0029591061550317734],[3.0,0.0019567204760751406],[3.5,0.001326067149533223],[4.0,0.00091467057173402289],[4.5,0.000639390319322507],[5.0,0.00045170719547787871],[5.5,0.00032189268619509397],[6.0,0.00023106891488301496],[6.5,0.00016692267886029029],[7.0,0.00012125558671965844],[7.5,8.8519676438976783E-05],[8.0,6.4910942032566415E-05],[8.5,4.779256318127966E-05],[9.0,3.5319800076064575E-05],[9.5,2.6191692417237693E-05]]
}