@@ -496,22 +496,22 @@ def test_WPLI_ground_truth_consistency_real_LFP_dataset(self):
496496 self .lfps1_real , self .lfps2_real , self .sf1_real )
497497 np .testing .assert_allclose (
498498 wpli , self .wpli_ground_truth_ft_connectivity_wpli_real ,
499- atol = self . tolerance , rtol = self . tolerance , equal_nan = True )
499+ equal_nan = True )
500500 # np.array-input
501501 with self .subTest (msg = "np.array input" ):
502502 freq , wpli = elephant .phase_analysis .weighted_phase_lag_index (
503503 self .lfps1_real .magnitude , self .lfps2_real .magnitude ,
504504 self .sf1_real )
505505 np .testing .assert_allclose (
506506 wpli , self .wpli_ground_truth_ft_connectivity_wpli_real ,
507- atol = self . tolerance , rtol = self . tolerance , equal_nan = True )
507+ equal_nan = True )
508508 # neo.AnalogSignal-input
509509 with self .subTest (msg = "neo.AnalogSignal input" ):
510510 freq , wpli = elephant .phase_analysis .weighted_phase_lag_index (
511511 self .lfps1_real_AnalogSignal , self .lfps2_real_AnalogSignal )
512512 np .testing .assert_allclose (
513513 wpli , self .wpli_ground_truth_ft_connectivity_wpli_real ,
514- atol = self . tolerance , rtol = self . tolerance , equal_nan = True )
514+ equal_nan = True )
515515
516516 def test_WPLI_ground_truth_consistency_artificial_LFP_dataset (self ):
517517 """
0 commit comments