hft

hft(y)

Performs the Haar-Fisz transform.

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

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