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

2D taper

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

nt : int

Number of time samples of mask along second dimension

nmask : int

Number of space samples of mask along first dimension

ntap : int

Number of samples of tapering at edges of first dimension

tapertype : str, optional

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

taper : numpy.ndarray

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

Examples using pylops.utils.tapers.taper2d