Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
kaciedougherty

Junior Member
Registered:
Posts: 12
Reply with quote  #1 
Hi all, 

After completing a round of experiments with a previous version of ML, we recently downloaded MonkeyLogic 2. We're excited by the new RF mapping feature.

By any chance, has anyone created a RF mapping paradigm for drifting gratings instead of a random dot motion stimulus? If you have any tips or code to share, it would be much appreciated! 

Thank you, 
Kacie
0
Jaewon

Administrator
Registered:
Posts: 953
Reply with quote  #2 
Well, there are a few different ways to draw gratings. Do you use square gratings or circular ones like the task\runtime v1\6 grating example? Or Gaussian-filtered ones like Gabor patches?

And what properties do you need to manipulate? Spatial frequency? Temporal frequency? Orientation?
0
kaciedougherty

Junior Member
Registered:
Posts: 12
Reply with quote  #3 
Hi Jaewon, 
 
We typically use circular sine wave gratings, similar to the grating example.  We would like to manipulate the diameter and orientation, spatial and temporal frequency would be bonus. 

Kacie 
0
crponce

Junior Member
Registered:
Posts: 24
Reply with quote  #4 
I second this. I think a lot of us would use this feature.
0
Jaewon

Administrator
Registered:
Posts: 953
Reply with quote  #5 
Unlike the random dots, gratings require every pixel in the stimuli to be redrawn each frame. I am not sure if it can be done that quickly. Let me see what I can do.
0
Jaewon

Administrator
Registered:
Posts: 953
Reply with quote  #6 
I added a grating example. Please try the new package (Agu 21, 2018) and let me know what you think.

http://forums.monkeylogic.org/post/nimh-monkeylogic-2-8444337?trail=250#234
0
IsabelV

Junior Member
Registered:
Posts: 21
Reply with quote  #7 
Hi Jaewon,
Is there an easy way to modify this adapter so that I can present it colored in red, or green, etc?
Thank you very much.
0
Jaewon

Administrator
Registered:
Posts: 953
Reply with quote  #8 
Hi IsabelV,

I rewrote SineGrating so that it can be used for more general purposes. See the 'task\runtime v2\19 gabor patch' example.

gabor.png    (video: gabor.mp4, 164 KB)

0
IsabelV

Junior Member
Registered:
Posts: 21
Reply with quote  #9 
Hi Jaewon. I am trying it now.
How do I set the color1 and color2 parameters when I call the Grating_RF_Mapper adapter in one of my scenes? Or is the color property only available when using the SineGrating adapter?
0
Jaewon

Administrator
Registered:
Posts: 953
Reply with quote  #10 
What do you mean how? Just assign new colors to Color1 and Color2.
0
IsabelV

Junior Member
Registered:
Posts: 21
Reply with quote  #11 
Wonderful, it worked! Thank you very much Jaewon. This will be very useful for orientation & color selectivity mapping during search.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.