base_start(:,:,t,zz) = circshift(base_xy(:,:,t),[-cliques(t,1),-cliques(t,2)]).*base_xy(:,:,t);
base_end(:,:,t,zz) = circshift(base_xy(:,:,t),[cliques(t,1),cliques(t,2)]).*base_xy(:,:,t);
The latter case appears to be a mistake, as only the first two slices in "base_xy" would ever be used, regardless of how large the original dataset is. Am I understanding this correctly? I would greatly appreciate any insight provided.
Thanks,
Jacob