diff options
| -rw-r--r-- | src/transivent/utils.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/transivent/utils.py b/src/transivent/utils.py index 96874c5..afe5a99 100644 --- a/src/transivent/utils.py +++ b/src/transivent/utils.py @@ -93,13 +93,7 @@ def validate_detection_inputs( "Validation Warning: Input arrays are empty. This may lead to unexpected behaviour." ) - # Check that time is monotonic - if len(time) > 1: - if not np.all(np.diff(time) > 0): - raise ValueError( - f"Time array is not monotonic increasing. " - f"This indicates a bug in time array generation." - ) + # Time array is generated deterministically, so no need to check monotonicity # Check parameter validity if snr_threshold <= 0: |
