You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We are currently trying to analyze some TIR-FCS data, and tried to use ChiSurf for that. The problem: For that (and other non-Gaussian MDFs, like Lorentzian) we need the error function erf(x), which is not supported right now.
We already received a partial solution with a new parse.py for the 2017 release which supports the "classical" error function erf(x), which kind of worked. Two problems remain (see attachments), which I assume are connected:
The fit does not converge (when I press "Fit", I get NaN in all free parameters).
Towards long lag times, the model returns nonsense. I am not 100 % sure why, but my experience using erf(x) and modifications thereof (erfc(x), erfcx(x)) in Origin suggests that it's due to the extreme values returned by the error function, causing overflow/underflow. That's why I would also like a dedicated solver for the scaled complementary error function erfcx(x)=exp(x^2)*(1-erf(x)), which will circumvent the problem if I'm right about my assumption. At least when testing in Origin, it did.
Describe the solution you'd like
Introduction of error function erf(x), complementary error function erfc(x), and scaled complementary error function erfcx(x) into ChiSurf models, and perhaps addition of simple TIR-FCS models (see Hassler et al. BiophysJ 2005 and Hassler et al. Opt Expr 2005) as default models in future release. I can also contribute the latter, once the former is taken care of.
Describe alternatives you've considered
Additional context
Screenshot of model in ChiSurf (parameters manually set, not fitted):
JSON file with model as used in screenshot (sorry in advance if there is a comma error again): 3D_TIR-Gauss_Model_json.txt
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We are currently trying to analyze some TIR-FCS data, and tried to use ChiSurf for that. The problem: For that (and other non-Gaussian MDFs, like Lorentzian) we need the error function erf(x), which is not supported right now.
We already received a partial solution with a new parse.py for the 2017 release which supports the "classical" error function erf(x), which kind of worked. Two problems remain (see attachments), which I assume are connected:
Describe the solution you'd like
Introduction of error function erf(x), complementary error function erfc(x), and scaled complementary error function erfcx(x) into ChiSurf models, and perhaps addition of simple TIR-FCS models (see Hassler et al. BiophysJ 2005 and Hassler et al. Opt Expr 2005) as default models in future release. I can also contribute the latter, once the former is taken care of.
Describe alternatives you've considered
Additional context
Screenshot of model in ChiSurf (parameters manually set, not fitted):
JSON file with model as used in screenshot (sorry in advance if there is a comma error again):
3D_TIR-Gauss_Model_json.txt
The text was updated successfully, but these errors were encountered: