1D Smoothing

This example shows how to use the pylops_distributed.Smoothing1D operator to smooth an input signal along a given axis.

A smoothing operator is a simple compact filter on lenght \(n_{smooth}\) and each elements is equal to \(1/n_{smooth}\).

import numpy as np
import dask.array as da
import matplotlib.pyplot as plt

import pylops_distributed

plt.close('all')

Define the input parameters: number of samples of input signal (N) and lenght of the smoothing filter regression coefficients (\(n_{smooth}\)). In this first case the input signal is one at the center and zero elsewhere.

N = 31
nchunks = 3
nsmooth = 7
x = np.zeros(N)
x[int(N/2)] = 1
x = da.from_array(x, chunks=N // nchunks + 1)
print('x:', x)

Sop = pylops_distributed.Smoothing1D(nsmooth=nsmooth, dims=[N],
                                     dtype='float32')

y = Sop * x
xadj = Sop.H * y

fig, ax = plt.subplots(1, 1, figsize=(10, 3))
ax.plot(x, 'k', lw=2, label=r'$x$')
ax.plot(y, 'r', lw=2, label=r'$y=Ax$')
ax.set_title('Smoothing in 1st direction', fontsize=14, fontweight='bold')
ax.legend()
Smoothing in 1st direction

Out:

x: dask.array<array, shape=(31,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,

<matplotlib.legend.Legend object at 0x7f2bdee79978>

Let’s repeat the same exercise with a random signal as input. After applying smoothing, we will also try to invert it.

N = 120
nchunks = 3
nsmooth = 13
x = np.random.normal(0, 1, N)
x = da.from_array(x, chunks=N // nchunks + 1)
print('x:', x)
Sop = pylops_distributed.Smoothing1D(nsmooth=13, dims=(N), dtype='float32')

y = Sop * x
xest = Sop / y

fig, ax = plt.subplots(1, 1, figsize=(10, 3))
ax.plot(x, 'k', lw=2, label=r'$x$')
ax.plot(y, 'r', lw=2, label=r'$y=Ax$')
ax.plot(xest, '--g', lw=2, label=r'$x_{ext}$')
ax.set_title('Smoothing in 1st direction',
             fontsize=14, fontweight='bold')
ax.legend()
Smoothing in 1st direction

Out:

x: dask.array<array, shape=(120,), dtype=float64, chunksize=(41,), chunktype=numpy.ndarray>
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,

<matplotlib.legend.Legend object at 0x7f2bdcada550>

Finally we show that the same operator can be applied to multi-dimensional data along a chosen axis.

nx, ny = 21, 31
nchunks = 2, 3
A = np.zeros((nx, ny))
A[5, 10] = 1
A = da.from_array(A, chunks= (nx // nchunks[0] + 1, ny // nchunks[1] + 1))
print('A:', A)

Sop = pylops_distributed.Smoothing1D(nsmooth=5, dims=(nx, ny),
                                     dir=0, dtype='float64')
B = da.reshape(Sop * A.ravel(), (nx, ny))

fig, axs = plt.subplots(1, 2, figsize=(10, 3))
fig.suptitle('Smoothing in 1st direction for 2d data', fontsize=14,
             fontweight='bold', y=0.95)
im = axs[0].imshow(A, interpolation='nearest', vmin=0, vmax=1)
axs[0].axis('tight')
axs[0].set_title('Model')
plt.colorbar(im, ax=axs[0])
im = axs[1].imshow(B, interpolation='nearest', vmin=0, vmax=1)
axs[1].axis('tight')
axs[1].set_title('Data')
plt.colorbar(im, ax=axs[1])
plt.tight_layout()
plt.subplots_adjust(top=0.8)
Smoothing in 1st direction for 2d data, Model, Data

Out:

A: dask.array<array, shape=(21, 31), dtype=float64, chunksize=(11, 11), chunktype=numpy.ndarray>
/home/docs/checkouts/readthedocs.org/user_builds/pylops-distributed/envs/latest/lib/python3.6/site-packages/dask/array/overlap.py:664: FutureWarning: The use of map_overlap(array, func, **kwargs) is deprecated since dask 2.17.0 and will be an error in a future release. To silence this warning, use the syntax map_overlap(func, array0,[ array1, ...,] **kwargs) instead.
  FutureWarning,

Total running time of the script: ( 0 minutes 6.689 seconds)

Gallery generated by Sphinx-Gallery