coordinates

ska_sdp_exec_swiftly.fourier_transform.fourier_algorithm.coordinates(n)[source]

Generate a 1D array with length n, which spans [-0.5,0.5] with 0 at position n/2. See also docs for numpy.mgrid.

Parameters:

n – length of array to be generated

Returns:

1D numpy array