class documentation
class LensShading(BaseModel): (source)
A Pydantic model holding the lens shading tables.
PiCamera needs three numpy arrays for lens shading correction. Each array is (12, 16) in size. The arrays are luminance, red-difference chroma (Cr), and blue-difference chroma (Cb).
This is a Pydantic model so that it can be saved to the disk.