roll_and_extract_mid

ska_sdp_exec_swiftly.fourier_transform.fourier_algorithm.roll_and_extract_mid(shape, offset, true_usable_size)[source]

Calculate the slice of the roll + extract mid method

Parameters:
  • shape – shape full size data G/FG

  • offset – ith offset (subgrid or facet)

  • true_usable_size – xA_size for subgrid, and yB_size for facet

Returns:

slice list