Check boundaries for Signal transforms
(boundaries)
| 2189 | |
| 2190 | |
| 2191 | def 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 | |
| 2201 | def paste_slices(tup): |
no outgoing calls
no test coverage detected
searching dependent graphs…