We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd3e9b4 commit ffb37fcCopy full SHA for ffb37fc
aurora/transfer_function/weights/edf_weights.py
@@ -279,6 +279,8 @@ def effective_degrees_of_freedom_weights(
279
"""
280
# Initialize the weights
281
n_observations_initial = len(X.observation)
282
+ if n_observations_initial == 0:
283
+ raise ValueError("Zero observations in the input data.")
284
weights = np.ones(n_observations_initial)
285
286
# validate num channels
0 commit comments