pylops_distributed.Smoothing1D¶
-
pylops_distributed.
Smoothing1D
(nsmooth, dims, dir=0, compute=(False, False), chunks=(None, None), todask=(False, False), dtype='float64')[source]¶ 1D Smoothing.
Apply smoothing to model (and data) along a specific direction of a multi-dimensional array depending on the choice of
dir
.Parameters: - nsmooth :
int
Lenght of smoothing operator (must be odd)
- dims :
tuple
orint
Number of samples for each dimension
- dir :
int
, optional Direction along which smoothing is applied
- compute :
tuple
, optional Compute the outcome of forward and adjoint or simply define the graph and return a
dask.array.array
- chunks :
tuple
, optional Chunk size for model and data. If provided it will rechunk the model before applying the forward pass and the data before applying the adjoint pass
- todask :
tuple
, optional Apply
dask.array.from_array
to model and data before applying forward and adjoint respectively- dtype :
str
, optional Type of elements in input array.
Notes
Refer to
pylops.basicoperators.Smoothing1D
for implementation details.Attributes: - nsmooth :