wft

wft(y)

Performs the Haar-Fisz transform.

Takes:
y The vector of Poisson counts, its length must be a power of 2.

Returns:
wfy The Haar-Fisz transform of y (vector of the same length as y).