autolens.potential_correction.PairRegularDpsiMesh#
- class PairRegularDpsiMesh[source]#
Bases:
objectPairs the dpsi mesh to the data grid: cleans the data mask, bins it onto the coarser dpsi mesh (cleaning again), builds the bilinear dpsi-to-data interpolation matrix and the sparse first/second derivative operators of both grids.
- Parameters:
Methods
The sparse matrix of shape [n_unmasked_data_pixels, n_unmasked_dpsi_pixels] mapping a vector on the coarser dpsi mesh to the finer data grid by bilinear interpolation.