@@ -388,7 +388,7 @@ def test_kappa_elbow_kundu_smoke():
388
388
kappa_allcomps_elbow ,
389
389
kappa_nonsig_elbow ,
390
390
varex_upper_p ,
391
- ) = selection_utils .kappa_elbow_kundu (component_table , n_echos = 5 )
391
+ ) = selection_utils .kappa_elbow_kundu (component_table , echo_dof = 5 )
392
392
assert isinstance (kappa_elbow_kundu , float )
393
393
assert isinstance (kappa_allcomps_elbow , float )
394
394
assert isinstance (kappa_nonsig_elbow , float )
@@ -401,7 +401,7 @@ def test_kappa_elbow_kundu_smoke():
401
401
kappa_allcomps_elbow ,
402
402
kappa_nonsig_elbow ,
403
403
varex_upper_p ,
404
- ) = selection_utils .kappa_elbow_kundu (component_table , n_echos = 6 )
404
+ ) = selection_utils .kappa_elbow_kundu (component_table , echo_dof = 6 )
405
405
assert isinstance (kappa_elbow_kundu , float )
406
406
assert isinstance (kappa_allcomps_elbow , float )
407
407
assert isinstance (kappa_nonsig_elbow , type (None ))
@@ -415,7 +415,7 @@ def test_kappa_elbow_kundu_smoke():
415
415
varex_upper_p ,
416
416
) = selection_utils .kappa_elbow_kundu (
417
417
component_table ,
418
- n_echos = 5 ,
418
+ echo_dof = 5 ,
419
419
comps2use = [0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 13 , 14 , 15 , 17 , 18 , 20 ],
420
420
)
421
421
assert isinstance (kappa_elbow_kundu , float )
@@ -434,7 +434,7 @@ def test_rho_elbow_kundu_liberal_smoke():
434
434
rho_allcomps_elbow ,
435
435
rho_unclassified_elbow ,
436
436
elbow_f05 ,
437
- ) = selection_utils .rho_elbow_kundu_liberal (component_table , n_echos = 3 )
437
+ ) = selection_utils .rho_elbow_kundu_liberal (component_table , echo_dof = 3 )
438
438
assert isinstance (rho_elbow_kundu , float )
439
439
assert isinstance (rho_allcomps_elbow , float )
440
440
assert isinstance (rho_unclassified_elbow , float )
@@ -447,7 +447,7 @@ def test_rho_elbow_kundu_liberal_smoke():
447
447
rho_unclassified_elbow ,
448
448
elbow_f05 ,
449
449
) = selection_utils .rho_elbow_kundu_liberal (
450
- component_table , n_echos = 3 , rho_elbow_type = "liberal"
450
+ component_table , echo_dof = 3 , rho_elbow_type = "liberal"
451
451
)
452
452
assert isinstance (rho_elbow_kundu , float )
453
453
assert isinstance (rho_allcomps_elbow , float )
@@ -462,7 +462,7 @@ def test_rho_elbow_kundu_liberal_smoke():
462
462
elbow_f05 ,
463
463
) = selection_utils .rho_elbow_kundu_liberal (
464
464
component_table ,
465
- n_echos = 3 ,
465
+ echo_dof = 3 ,
466
466
rho_elbow_type = "kundu" ,
467
467
comps2use = [0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 13 , 14 , 15 , 17 , 18 , 20 ],
468
468
subset_comps2use = [0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 13 , 14 , 18 , 20 ],
@@ -479,15 +479,15 @@ def test_rho_elbow_kundu_liberal_smoke():
479
479
rho_allcomps_elbow ,
480
480
rho_unclassified_elbow ,
481
481
elbow_f05 ,
482
- ) = selection_utils .rho_elbow_kundu_liberal (component_table , n_echos = 3 )
482
+ ) = selection_utils .rho_elbow_kundu_liberal (component_table , echo_dof = 3 )
483
483
assert isinstance (rho_elbow_kundu , float )
484
484
assert isinstance (rho_allcomps_elbow , float )
485
485
assert isinstance (rho_unclassified_elbow , type (None ))
486
486
assert isinstance (elbow_f05 , float )
487
487
488
488
with pytest .raises (ValueError ):
489
489
selection_utils .rho_elbow_kundu_liberal (
490
- component_table , n_echos = 3 , rho_elbow_type = "perfect"
490
+ component_table , echo_dof = 3 , rho_elbow_type = "perfect"
491
491
)
492
492
493
493
0 commit comments