autolens.potential_correction.PixSrcFactoryITP#
- class PixSrcFactoryITP[source]#
Bases:
SrcFactoryA source factory interpolating a pixelized source reconstruction (Delaunay linear interpolation with nearest-neighbour fallback). Gradient evaluation uses per-point cross sizes set by the Voronoi cell areas of the reconstruction’s mesh.
- Parameters:
points (
ndarray) – The [n_points, 2] source-plane positions of the reconstruction, in autolens (y, x) order.values (
ndarray) – The reconstructed source brightness at those positions.
Methods
The source brightness at the input (x, y) positions.
The (dS/dy, dS/dx) source gradients at the input (x, y) positions, by central differences over a cross of half-length
cross_size.