pylops.utils.tapers.taper2d

pylops.utils.tapers.taper2d(nt, nmask, ntap, tapertype='hanning')[source]

2D taper

Create 2d mask of size \([n_\text{mask} \times n_t]\) with tapering of size ntap along the first (and possibly second) dimensions

Parameters:
ntint

Number of samples along second dimension

nmaskint

Number of samples along first dimension

ntapint or list

Number of samples of tapering at edges of first dimension (or both dimensions).

tapertypestr, optional

Type of taper (hanning, cosine, cosinesquare or None)

Returns:
tapernumpy.ndarray

2d mask with tapering along first dimension of size \([n_\text{mask} \times n_t]\)

Examples using pylops.utils.tapers.taper2d

PhaseShift operator

PhaseShift operator

Tapers

Tapers