stytra
stytra copied to clipboard
A modular package to control stimulation and track behaviour
Hi, I'm currently testing out Stytra with zebrafish larvae. I'm using an IR light as well - with that, I was wondering what the parameter bounds are to track the...
In the first line, you import Stimulus Combiner from stytra.stimulation.stimuli.visual that is not there. I solved the problem importing CombinerStimulus from stytra.stimulation.stimuli
Has to be verified, but in my investigations a 3rd degree polynomial captures everything interesting and is robust to missing segments. np.polynomial.polyfit is also very fast.
Config file should probably be moved to .toml format. Json structures could probably be handled better with tools like https://jmespath.org
I am working on calibration as discussed here: http://www.portugueslab.com/stytra/userguide/4_calibration.html#calibration The red dots in the calibration window show up rotated 180 degrees from the dots in the camera window. Is this...
AVT cameras can be controlled with old pymba compilations and Vimba 2.x drivers. New Vimba 3.x version requires using the updated pymba library (https://github.com/morefigs/pymba). This is incompatible with current handling...
It would be nice to have a GUI for camera settings that cannot be changed online (ROI selectable visually, rotation). Actually rotation should be moved to online settings, I don't...
By using `time_ns()` or `perf_counter_ns()` (the second option requires extra interprocess synchronisations, but it would be worth it for extra precision) https://www.python.org/dev/peps/pep-0564/#windows
For microscope rooms where light of certain wavelengths is to be avoided, it would be good to have a monochromatic theme that can be switched.
X and Y coordinates are switched in the PositionEstimator compared to the behavior output