Hi Jaewon, I'm working with the 'joystick_position' function. I can calibrate my joystick in the pause menu, but the function return (xy_deg) is always [0 0] in the running task, do you know why? Many thanks~by Michelle - Questions and Answers
Hi Jaewon, I am using 'randomDotMotion' to generate random dots stimulus now. I wanted to analysis the motion energy of these stimuli, in this case, I will need the dots position in each frame. Do you know how to output the dots position in each frame and save them? Thanks a lot. Best, Michelleby Michelle - Questions and Answers
Hi there, Maybe it would be better for me to show you the code directly. = ShadlenDotsMovieMatrix(coherence/100,radius,dot_size,speed,dir,num_dot,ppd,rdm_holdtime,0.0157); rdm2 = MovieGraphic(crc2); rdm2.List = {'SDMM_port(sdmMatrix)', rdm_location }; 'ShadlenDotsMovieMatrix' is a self-defined function, the output 'sdmMatrix' is the 4-D matrixby Michelle - Questions and Answers
Hi Jaewon, I tried this: 'rdm = MovieGraphic(crc2); rdm.List = {'SDMM_port', rdm_location}', in which 'SDMM_port' is a self-defined function, used to export the 4-D matrix. However, the function 'SDMM_port' need some inputs, so 'rdm = MovieGraphic(crc2); rdm.List = {'SDMM_port(***)', rdm_location}'. In this case, the monkeylogiby Michelle - Questions and Answers
Great! I'll try it. Thanks a lot~~by Michelle - Questions and Answers
That would be very nice, thanks a lot.by Michelle - Questions and Answers
Right, I got 7 dots per frame, and the stimulus was displayed for 1200ms, as the refresh rate is 60Hz, so I would have 72 frames here. The length of the random dots aperture was around 200 pixels (square). The matrix I put in the 'MovieGraphic' was a 4-D matrix with the size of 200-by-200-by-3-by-72, 200-by-200 was the pixels involved in the random dots area, 3 was the RGB, and 72 waby Michelle - Questions and Answers
Hi Jaewon, The thing is I tried to used the 'MovieGraphic' to run a random dots stimulus, in order to save the dot position in each frame. However, the saved bhv2 file I got was over 90G for around 1300 trials. PS: I unchecked the 'save stimuli' function, and the dots position I saved was a N*3 matrix per trial (N was around 500), so it should not take too much space.by Michelle - Questions and Answers