Currently, the qt3utils.datagenerators.piezoscanner.CounterAndScanner object expects two objects at instantiation -- an object that returns counts and an object that controls the pizza. The expectation is that the piezo controller implements the functionality found in an external python package -- nipiezojenapy.BaseControl. It's probably better programming practice to define a generic interface within qt3utils and then implementations for specific controllers, such as for nipiezojenapy.PiezoControl. Then, if future controllers are used, we can write an implementation for that controller in qt3utils and immediately used in the CounterAndScanner object.
Currently, the
qt3utils.datagenerators.piezoscanner.CounterAndScanner
object expects two objects at instantiation -- an object that returns counts and an object that controls the pizza. The expectation is that the piezo controller implements the functionality found in an external python package -- nipiezojenapy.BaseControl. It's probably better programming practice to define a generic interface within qt3utils and then implementations for specific controllers, such as for nipiezojenapy.PiezoControl. Then, if future controllers are used, we can write an implementation for that controller in qt3utils and immediately used in the CounterAndScanner object.