MCPcopy Create free account
hub / github.com/dask/dask / rfftfreq

Function rfftfreq

dask/array/fft.py:272–279  ·  view source on GitHub ↗
(n, d=1.0, chunks="auto")

Source from the content-addressed store, hash-verified

270
271@derived_from(np.fft)
272def rfftfreq(n, d=1.0, chunks="auto"):
273 n = int(n)
274 d = float(d)
275
276 r = _arange(n // 2 + 1, dtype=float, chunks=chunks)
277 r /= n * d
278
279 return r
280
281
282def _fftshift_helper(x, axes=None, inverse=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected