priors.Wavelet

Contents

priors.Wavelet#

class bartorch.priors.Wavelet#

Bases: Regularizer

l1 norm of the wavelet transform over axes.

Parameters:
  • axes (int or tuple of int) – Axes to transform, as indices into the image’s shape.

  • weight (float)

  • joint_axes (int or tuple of int, default=()) – Axes along which a coefficient is kept or zeroed together.

  • family ({'haar', 'dau2', 'cdf44'}, default='dau2') – Wavelet family.

  • randshift (bool, default=True) – Cycle-spin the transform by a random shift between solves.

Examples

>>> Wavelet(axes=(-1, -2), weight=0.005)

Also has the methods and properties of Regularizer.