roll_and_extract_mid_axis
- ska_sdp_exec_swiftly.fourier_transform.fourier_algorithm.roll_and_extract_mid_axis(data, offset, true_usable_size, axis)[source]
- Calculate the slice of the roll + extract mid along
with axis method
- Parameters:
data – 2D data
offset – ith offset (subgrid or facet)
true_usable_size – xA_size for subgrid, and yB_size for facet
- Axis:
axis (0 or 1)
- Returns:
slice list