jonkb / tictimer Goto Github PK
View Code? Open in Web Editor NEWTicTimer software tool
License: MIT License
TicTimer software tool
License: MIT License
PROJECT TITLE: TicTimer A program used in the KJB lab for the NewTics study. Now with COM link capabilities to send chips automatically. USING THE PROGRAM: Before it can be run, rxtx for java must be installed on the computer. Find out what version of java you're running (x64 or x86), go to the appropriate folder in jars/, and follow the instructions in Install.txt. If the proper version is not in the repository, visit http://mfizz.com/oss/rxtx-for-java and download the appropriate file. THANKS: RXTX binary builds provided by Mfizz Inc. (http://mfizz.com/). Please see http://mfizz.com/oss/rxtx-for-java for more info.
A reviewer wrote:
The package logs occurrence of a 10 s period in which no tic is reported – but this time window appears arbitrary: it would be useful ... (b) to allow the user to change it, either at run time, or in subsequent sensitivity analysis of the log files: how long a period of tic-free behaviour should count as a success event?
I'm hesitant to make it easy to change the 10s duration at run time, because it would be annoying in our studies, and provide one more chance for user error. But can we at least make it easier for that first suggestion to be a compile-time option? The relevant changes are only in line 51 of TicWatch .java and in all the places where a string like "10s tic free interval ended at 00:02:04" is generated. Recall that we decided long ago to use only integer seconds for timing.
I think the analysis of the log files is an interesting point but one that we did not try to supply with the first version, so I don't feel compelled to change it.
Please add the following features:
Change timing to by-the-millisecond. Note: even if we do that, the feedback to the user should probably still be reported in whole seconds.
Jon wrote:
By the way, looking back through the code, I see a drawback to the way it's made now.
It only subdivides times to the second. So, if you press Tic Detected at 3.9 s, it will say "Tic detected at 3 s" and, just .1s later at 4.0s, Tic Free Time will read 1s.
Does that make sense? Anyway, it's been like this since the early versions of TicTimer, and I don't know if it's worth it to change it because every session you've already done has been like this. It would also be quite a bit of work to make it deal in milliseconds.
Kevin replied:
I think we talked about it at the beginning. I suppose any time division is arbitrary, and I figured 1 second was small enough for any real-world problem. We can put in a feature request to change it to ms, but there is almost zero urgency at this time.
please change it to an MIT license
thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.