Open nicain opened 5 years ago
Need MPE to run an experiment to figure out why this delay is different on 2p5.
@dougollerenshaw
This looks relevant to the monitor_delay stuff we just discussed
Here's the result of a display lag test on 2P6. if I use the falling edges of the vsyncs (which I believe to be the correct thing to do), I get a mean display lag of 23.7 ms.
If I use the rising edges of the vsyncs (which I believe to be incorrect), I get 35.1 ms:
cc'ing @nickponvert.
Doug has provided this notebook that includes a simple method for computing monitor delay per session.
https://nbviewer.jupyter.org/gist/dougollerenshaw/5f1ca1b60242cac7efb33bf9c4fa84a2
He will also provide a set of validation criteria that can be used to check that a per-session computed delay value is sensible.
Validation criteria:
Also, note that the test in the gist above was on 2P6, not 2P5
The current code is computing monitor_delay as approx 0.02204. Note that this is after fixing an apparent bug that set the delay to the default by erronously comparing delay instead of delay_std against DELAY_THRESHOLD (as was correctly implemented in stash.corp.alleninstitute.org/projects/ENG/repos/aibstim/browse/Analysis/OPTools_Nikon.py)
The delay value can also be computed as 0.01954 by using:
Getting a consistent and trusted value for monitor delay is critical and difficult