extract_mid
- ska_sdp_func_python.fourier_transforms.fft_support.extract_mid(a, npixel)[source]
Extract a section from middle of a map.
Suitable for zero frequencies at npixel/2. This is the reverse operation to pad.
Note
Only the two innermost axes are transformed.
- Parameters:
a – grid from which to extract
npixel – desired size of the section to extract
- Returns:
Section of grid