moses

Functions

Ltenth(G)

Return the L_0.1 norm of G.

antialias(D)

Anti-alias a 1D MOSES data array.

contrast_smooth(G)

Modify the guess G by increasing its contrast and smoothing.

contrasty(G)

Modify the guess G by increasing its contrast.

entropy(signal)

function returns entropy of a signal signal must be a 1-D numpy array

fomod(guess, m, j0)

MOSES forward model projection, similar to Hans Courrier’s fomod.pro.

mart(DataArr, mArr, Nlambda, j0[, maxiter, …])

MART: NEW VERSION WITH OPTIONAL LOCALIZED GOF (LGOF)

multinv(D1, D2, m1, m2, Nlambda, j0[, compact])

MOSES multiplicative inverse, using any two projections.

negentropy(G)

Return the negative entropy of sqrt(G)

window(shape)

Create a rectangular array of specified shape, with maximum value unity and parabolic (Welch-like) windowing along the rows.

zpad(I, Npad)

Zero pad an x,lambda array