Commit 65fb42726937e60435210e14c4b701df372d19de

Authored by okahilak
Committed by GitHub
1 parent 64aba28d
Exists in master

MOD: Increase SLEEP_NAVIGATION parameter to decrease CPU load during navigation (#292)

Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
invesalius/constants.py
@@ -788,7 +788,10 @@ PEEL_DEPTH = 5 @@ -788,7 +788,10 @@ PEEL_DEPTH = 5
788 MAX_PEEL_DEPTH = 30 788 MAX_PEEL_DEPTH = 30
789 SEED_OFFSET = 15 789 SEED_OFFSET = 15
790 SEED_RADIUS = 1.5 790 SEED_RADIUS = 1.5
791 -SLEEP_NAVIGATION = 0.1 791 +
  792 +# Increased the default sleep parameter from 0.1 to 0.15 to decrease CPU load during navigation.
  793 +SLEEP_NAVIGATION = 0.15
  794 +
792 BRAIN_OPACITY = 0.5 795 BRAIN_OPACITY = 0.5
793 N_CPU = psutil.cpu_count() 796 N_CPU = psutil.cpu_count()
794 TREKKER_CONFIG = {'seed_max': 1, 'step_size': 0.1, 'min_fod': 0.1, 'probe_quality': 3, 797 TREKKER_CONFIG = {'seed_max': 1, 'step_size': 0.1, 'min_fod': 0.1, 'probe_quality': 3,