djs_maskinterp¶
-
pydl.pydlutils.image.
djs_maskinterp
(yval, mask, xval=None, axis=None, const=False)[source]¶ Interpolate over masked pixels in a vector, image or 3-D array.
Parameters: yval :
numpy.ndarray
The input values
mask :
numpy.ndarray
The mask
xval :
numpy.ndarray
, optionalIf set, use these x values, otherwise use an array
axis :
int
, optionalMust be set if yval has more than one dimension. If set to zero, interpolate along the first axis of the array, if set to one, interpolate along the second axis of the array, and so on.
const :
bool
, optionalThis value is passed to a helper function, djs_maskinterp1.
Returns: The interpolated array.