tfmri.signal.hann

hann(arg, name=None)[source]

Calculate a Hann window at the specified coordinates.

The domain of the window is [-pi, pi]. Outside this range, its value is 0. The center of the window is at 0.

Parameters
  • arg – Input tensor.

  • name – Name to use for the scope.

Returns

The value of a Hann window at the specified coordinates.