DCPROGS / HJCFIT

Full maximum likelihood fitting of a mechanism directly to the entire sequence of open and shut times, with exact missed events correction.
GNU General Public License v3.0
9 stars 4 forks source link

tau=0 is a valid input #56

Closed mdavezac closed 11 years ago

mdavezac commented 11 years ago

From Michael,

I notice that when you set tau = 0 in dcprogs then there is an exception "ArithmeticError: The resolution time tau cannot be zero or negative."

tau=0 is a valid parameter input corresponding to the case where there is perfect resolution in the recordings. Remis' code and my old code calculate likelihoods for this parameter input.

Is it possible to fix this? A suitable example can be generated in dc-pyps with the demo-MLL.py script in the main directory (setting tcrit=0 in the script).