def METHOD_NAME(self, subject: Subject):
    sizes = subject.spatial_shape, self.patch_size, self.patch_overlap
    self._parse_sizes(*sizes)  # type: ignore[arg-type]
    return self._get_patches_locations(*sizes)  # type: ignore[arg-type]