DylAFC module¶
-
class
DylAFC.
AFC
(posDir: str, negDir: str, ansDir: str, ip: str, port: str, n0: int, n1: int, logFile: str)[source]¶ Bases:
object
A Class for doing AFC studies. This one only does 2AFC. It is used for integrating with a tkinter interface as seen in DylAFC.
-
connect
()[source]¶ Connects to the comparator. Waits until connection is established, therefore this method is blocking.
-
run
()[source]¶ Finite state machine based on the mode, the connection status, and whether the reader has decided an image or not.
This will call itself on its own, so just make sure to call this method once with <root>.after()
-