Open pmaher86 opened 10 years ago
agreed! And power users will be able to inherit smscan into other classes and overload scan.run to do weird things. Do you want to try to code up a loose example (the run method will be very long)?
also, maybe just for consistency, let's call call the "plot" property "disp."
I think that smscan can also be given the OO treatment. Here's a rough idea:
Scan
properties
outerloop data consts
methods
run
Loop
properties
setchans getchans points pointrate innerloop data plots
methods
runloop (this would be recursive, running innerloop, and would return the data for that loop)
Plot
properties
plottype xchan ychan zchan
methods