shape_from_visual_size_ppd#
- stimupy.utils.resolution.shape_from_visual_size_ppd(visual_size, ppd)#
Calculate shape (pixels) from given visual size (degrees) and pixels-per-degree
- Parameters:
- Returns:
.height: int, height in pixels .width: int, width in pixels See validate_shape
- Return type:
Shape NamedTuple, with two attributes