Lens class

class lensfunpy.Lens
interpolate_distortion(self, float focal)
Return type:

lensfunpy.LensCalibDistortion

interpolate_tca(self, float focal)
Return type:

lensfunpy.LensCalibTCA

interpolate_vignetting(self, float focal, float aperture, float distance)
Return type:

lensfunpy.LensCalibVignetting

calib_distortion
Return type:

list of lensfunpy.LensCalibDistortion instances

calib_tca
Return type:

list of lensfunpy.LensCalibTCA instances

calib_vignetting
Return type:

list of lensfunpy.LensCalibTCA instances

center_x
Return type:

float

center_y
Return type:

float

crop_factor
Return type:

float

maker

The lens manufacturer.

Return type:

str

max_aperture

Maximum aperture. Returns None if unknown.

Return type:

float|None

max_focal

Maximum focal length.

Return type:

float

min_aperture

Minimum aperture. Returns None if unknown.

Return type:

float|None

min_focal

Minimum focal length.

Return type:

float

model

The lens model.

Return type:

str

mounts

Compatible mounts.

Return type:

list of lensfunpy.Mount instances

score

Search score.

Return type:

int

type

The lens type.

Return type:

lensfunpy.LensType instance