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

Use an output log file instead of the std out print callback #104

Closed raquelalegre closed 8 years ago

raquelalegre commented 8 years ago

Remis says it's important to be able to see the output as the jobs run, but the printout callback takes half the time of the execution. We have disabled it for the performance tests, but we should consider using a log file and check how much that slows things down.

jenshnielsen commented 8 years ago

We figured out that the main issue is that the script calls the likelihood calculation for every iteration even when only printing the callback for every 10 iterations. Moving the calculation into the if statement fixes this