WE_dual#

WE_dual stimulus example
stimupy.papers.RHS2007.WE_dual(ppd=PPD, pad=True)#

Dual White stimulus as shown in Robinson, Hammon, & de Sa (2007) Fig 1c. Grating sizes: 6x8 deg Grating frequency: 0.5 cpd Target size: 2x1 deg

Parameters:
  • ppd (int) – Resolution of stimulus in pixels per degree. (default: 32)

  • pad (bool) – If True, include padding to 32x32 deg (default: True)

Returns:

dict with the stimulus (key: “img”) and target mask (key: “target_mask”) and additional keys containing stimulus parameters

Return type:

dict of str