Method
__init__
(self, roi_size: Sequence[int] | int, lazy: bool = False)
Source from the content-addressed store, hash-verified
| 507 | """ |
| 508 | |
| 509 | def __init__(self, roi_size: Sequence[int] | int, lazy: bool = False) -> None: |
| 510 | super().__init__(lazy=lazy) |
| 511 | self.roi_size = roi_size |
| 512 | |
| 513 | def compute_slices(self, spatial_size: Sequence[int]) -> tuple[slice]: # type: ignore[override] |
| 514 | roi_size = fall_back_tuple(self.roi_size, spatial_size) |
Callers
nothing calls this directly
Tested by
no test coverage detected