Commit 7393704
committed
Filter f extremes and deduplicate generic signals
Update signal generation to ignore voxels with extreme perfusion fractions and avoid duplicate parameter combos. sim_ivim_sig.py: expand the ignore mask to include f<0.03 or f>0.97 in addition to NaNs, compute median D/f/Dp per selector and skip adding entries if the (D,f,Dp) combination was already seen. Update unit test fixtures tests/IVIMmodels/unit_tests/generic.json and generic_DL.json to reflect the removed/changed entries expected from the new filtering/deduplication behavior.1 parent b4e9fc3 commit 7393704
3 files changed
Lines changed: 268 additions & 986 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
455 | 455 | | |
| 456 | + | |
| 457 | + | |
456 | 458 | | |
457 | 459 | | |
458 | 460 | | |
459 | 461 | | |
460 | 462 | | |
461 | 463 | | |
462 | 464 | | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
463 | 477 | | |
464 | 478 | | |
465 | 479 | | |
| |||
0 commit comments