norse.torch.functional.receptive_field.spatial_receptive_field#

norse.torch.functional.receptive_field.spatial_receptive_field(angle, ratio, size: int, scale: float = 2.5, domain: float = 8)[source]#

Creates a (size x size) receptive field kernel

Arguments:

angle (float): The rotation of the kernel in radians ratio (float): The eccentricity as a ratio size (int): The size of the square kernel in pixels scale (float): The scale of the field. Defaults to 2.5 domain (float): The initial coordinates from which the field is sampled. Defaults to 8 (equal to -8 to 8).