I’m accessing data from a functional_connectivity neuropixel data session. Looking at the dot_motion stimulus I can’t decipher the speed information. Looking at the white paper it reads:
Last, a dot motion stimulus consisting of approximately 200 1.5º radius white dots on a mean-luminance gray background moving at one of 7 speeds (0º/s, 16º/s, 32º/s, 64º/s, 128º/s, 256º/s, 512º/s)
however when I look at the stimulus table, the speed parameter doesn’t seem to match.
There only seems to be 4 + 1 speeds (assuming null = 0 deg/s). Moreover, it’s not clear what the units here indicate. My guess is they are normalised to screen co-ordinates?
Is this the correct stimulus info for the dot_motion stimulus?
Finally, is there any more detailed info about how the stimulus was generated? I’ve had a look around but can’t find anything more detailed than the white paper.
There are two sessions for which slightly different dot_motion stimulus parameters were used (766640955 and 767871931), one of which you’re analyzing.
If you run the same code on any of the other sessions with the “Functional Connectivity” stimulus set, you’ll find 7 values for Speed: [0, 0.0005, 0.001, 0.005, 0.01, 0.02, 0.04]
These correspond to 0º/s, 16º/s, 32º/s, 64º/s, 128º/s, 256º/s, 512º/s. So the two anomalous sessions are missing the 16º/s and 512º/s conditions. In those sessions, null is actually a blank stimulus, rather than a stationary stimulus.
It’s not quite that straightforward, because there is also the spherical warp that needs to be taken into account. The field size of (2,2) actually extends past the boundaries of the screen, in order to obtain full coverage after warping. Once that value was set, we empirically determined the parameter values for nDots (500 yields around 200 dots on the screen at any given time), as well as for Speed (based on exported images of successive frames).
Apologies for reviving an old thread. I had a further clarification that it somewhat related, regarding the direction parameter for the dot fields.
The parameter in the .session nwb files is:
-45 0 45 90
which according to the psychopy info equates to:
right/down, right, right/up, up. {where right is posterior motion relative to the mice}
since 0deg is right, and increasing angle equates to anticlockwise changes.
The whitepaper however says:
four different directions (0º, 45º, 90º, 135º, clockwise from 0º = left-to-right), which would be:
right, right/down, down, left/down
I’m trying to figure out exactly which direction each parameter [ -45 0 45 90] relates to. I guess the warping may be having an effect here, but wanted to be certain.
The whitepaper is incorrect in this case. The true directions are the ones indicated in the NWB file (-45º, 0º, 45º, and 90º), with 0º moving to the right.
I apologize for the inconsistency, we will work on getting that fixed!