MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / check_boundaries

Function check_boundaries

monai/transforms/utils.py:2191–2198  ·  view source on GitHub ↗

Check boundaries for Signal transforms

(boundaries)

Source from the content-addressed store, hash-verified

2189
2190
2191def check_boundaries(boundaries) -> None:
2192 """
2193 Check boundaries for Signal transforms
2194 """
2195 if not (
2196 isinstance(boundaries, Sequence) and len(boundaries) == 2 and all(isinstance(i, float) for i in boundaries)
2197 ):
2198 raise ValueError("Incompatible values: boundaries needs to be a list of float.")
2199
2200
2201def paste_slices(tup):

Callers 8

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…