API Reference#
Resamplers#
|
Nearest-neighbour HEALPix resampler — no sparse matrices. |
|
|
|
|
|
Resample input lat-lon points as HEALPix "cell-points". |
|
Base class#
KNeighborsResampler is the base class inherited by all resamplers above.
Use it directly only if you need to implement a custom weighting scheme via comp_matrix().
GPU-friendly sparse HEALPix regridding via local Gaussian weights + CG deconvolution. |
Output#
All resamplers return a ResampleResults dataclass.
|
Proxy to resampling results. |
Internals#
These functions are not part of the public API but are documented here for contributors.
healpix_weighted_nearest() is called internally by all resamplers to build the sparse operators.
conjugate_gradient() and least_squares_cg() are used internally by PSFResampler.
Retourne: |
|
Solve A x = b with Conjugate Gradient where A is SPD, using only matvec A_mv(v). |
|
|
Solve for delta in a damped least-squares problem without forming dense matrices. |