Modifier and Type | Method and Description |
---|---|
static Mapping.Spreader |
gauss(int npix,
double fwhm)
Returns a resampling spreader which uses a
exp(-k*x*x) 1-dimensional kernel. |
static Mapping.Spreader |
linear()
Returns a resampling spreader which samples using
linear interpolation.
|
static Mapping.Spreader |
nearest()
Returns a resampling spreader which samples from the
nearest neighbour.
|
static Mapping.Spreader |
sinc(int npix)
Returns a resampling spreader which uses a
sinc(pi*x) 1-dimensional kernel. |
static Mapping.Spreader |
sincCos(int npix,
double width)
Returns a resampling spreader which uses a
sinc(pi*x).cos(k*pi*x) 1-dimensional kernel. |
static Mapping.Spreader |
sincGauss(int npix,
double fwhm)
Returns a resampling spreader which uses a
sinc(pi*x).exp(-k*x*x) 1-dimensional kernel. |
static Mapping.Spreader |
sincSinc(int npix,
double width)
Returns a resampling spreader which uses a
sinc(pi*x).sinc(k*pi*x) 1-dimensional kernel. |
public static Mapping.Spreader nearest()
public static Mapping.Spreader linear()
public static Mapping.Spreader sinc(int npix)
sinc(pi*x)
1-dimensional kernel.npix
- the number of pixels to contribute to the
interpolated result on either side of the
interpolation point in each dimension.
Execution time increases rapidly with this number.
Typically, a value of 2 is appropriate and the
minimum value used will be 1. A value of zero
or less may be given to indicate that a suitable
number of pixels should be calculated automatically.public static Mapping.Spreader sincSinc(int npix, double width)
sinc(pi*x).sinc(k*pi*x)
1-dimensional kernel.npix
- the number of pixels to contribute to the
interpolated result on either side of the
interpolation point in each dimension.
Execution time increases rapidly with this number.
Typically, a value of 2 is appropriate and the
minimum value used will be 1. A value of zero
or less may be given to indicate that a suitable
number of pixels should be calculated automatically.width
- the number of pixels at which the envelope goes
to zero. Should be at least 1.0.public static Mapping.Spreader sincCos(int npix, double width)
sinc(pi*x).cos(k*pi*x)
1-dimensional kernel.npix
- the number of pixels to contribute to the
interpolated result on either side of the
interpolation point in each dimension.
Execution time increases rapidly with this number.
Typically, a value of 2 is appropriate and the
minimum value used will be 1. A value of zero
or less may be given to indicate that a suitable
number of pixels should be calculated automatically.width
- the number of pixels at which the envelope goes
to zero. Should be at least 1.0.public static Mapping.Spreader sincGauss(int npix, double fwhm)
sinc(pi*x).exp(-k*x*x)
1-dimensional kernel.npix
- the number of pixels to contribute to the
interpolated result on either side of the
interpolation point in each dimension.
Execution time increases rapidly with this number.
Typically, a value of 2 is appropriate and the
minimum value used will be 1. A value of zero
or less may be given to indicate that a suitable
number of pixels should be calculated automatically.fwhm
- the full width at half maximum of the Gaussian
envelope. Should be at least 0.1.public static Mapping.Spreader gauss(int npix, double fwhm)
exp(-k*x*x)
1-dimensional kernel.npix
- the number of pixels to contribute to the
interpolated result on either side of the
interpolation point in each dimension.fwhm
- the full width at half maximum of the Gaussian
envelope. Should be at least 0.1.Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.