CameraModel.distort_pixels

abstractmethod CameraModel.distort_pixels(pixels, temperature=0)[source]

A method that takes gnomic pixel locations in units of pixels and applies the appropriate distortion to them.

This method is used in the distortion_map() method to generate the distortion values for each pixel.

Parameters:
  • pixels (Sequence[float] | ndarray[tuple[Any, ...], dtype[_ScalarT]]) – The pinhole location pixel locations the distortion is to be applied to

  • temperature (float)

Returns:

The distorted pixel locations in units of pixels

Return type:

ndarray[tuple[Any, …], dtype[float64]]