public static double Threshold(AnalysisParameters P, PatchModel M, IStimulus Is) { var solver = new ModelSolver() { Model = M, H = 2e-6, T1 = P.T1, T2 = P.T2 }; return solver.EstimateThreshold(P.y0, Is); }
public static double Threshold(AnalysisParameters P, PatchModel M, IStimulus Is) { var solver = new ModelSolver() { Model = M, H = 2e-6, T1 = P.T1, T2 = P.T2 }; return(solver.EstimateThreshold(P.y0, Is)); }