visual_size_from_shape_ppd#
- stimupy.utils.resolution.visual_size_from_shape_ppd(shape, ppd)#
Calculate visual size (degrees) from given shape (pixels) and pixels-per-degree
- Parameters:
- Returns:
.height: float, height in degrees visual angle .width: float, width in degrees visual angle See validate_visual_size
- Return type:
Visual_size NamedTuple, with two attributes