pyorc.CameraConfig.set_lens_pars#

CameraConfig.set_lens_pars(k1: Optional[float] = 0.0, c: Optional[float] = 2.0, focal_length: Optional[float] = None)[source]#

Set the lens parameters of the given CameraConfig

Parameters:
  • k1 (float, optional) – lens curvature [-], zero (default) means no curvature

  • c (float, optional) – optical centre [1/n], where n is the fraction of the lens diameter, 2.0 (default) means in the centre.

  • f (float, optional) – focal length [mm], typical values could be 2.8, or 4 (default).