ImagingPath.imageSize¶
-
raytracing.ImagingPath.imageSize(self)¶ The image size is the object field of view multiplied by magnification. This value is independent from the height of the object.
Returns: imageSize – the size of the image Return type: float Examples
>>> from raytracing import * >>> path = ImagingPath() # define an imaging path >>> # use append() to add elements to the imaging path >>> path.append(Space(d=10)) >>> path.append(Lens(f=10,diameter=10,label="f=10")) >>> path.append(Space(d=30)) >>> path.append(Lens(f=20,diameter=15,label="f=20")) >>> path.append(Space(d=20)) >>> print('size of the image :', path.imageSize()) size of the image : 9.999998574656525