aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Scholten2025-10-27 18:25:10 +1000
committerSam Scholten2025-10-27 18:25:10 +1000
commit961c27f0d3af5cbe624bdd2b40f43e86132f05f1 (patch)
tree6439bb53adce795982e2eab97345961e6683a77d
parentbce98fc796e32f4a439307dd3b65ef28dc6a73ad (diff)
downloadscopekit-961c27f0d3af5cbe624bdd2b40f43e86132f05f1.tar.gz
scopekit-961c27f0d3af5cbe624bdd2b40f43e86132f05f1.zip
fix: Remove unused logger debug statements from decimation manager
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
-rw-r--r--src/scopekit/decimation.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/scopekit/decimation.py b/src/scopekit/decimation.py
index d60ac3b..107054d 100644
--- a/src/scopekit/decimation.py
+++ b/src/scopekit/decimation.py
@@ -312,9 +312,6 @@ class DecimationManager:
adaptive_envelope_window = max(
1, step // 2
) # Half the step size for smoother envelope
- logger.debug(
- f"Calculated adaptive envelope window: {adaptive_envelope_window} samples (step={step})"
- )
# Ensure step is not zero, and calculate number of bins
if step == 0: # Should not happen with max(1, ...) but as a safeguard
@@ -500,7 +497,6 @@ class DecimationManager:
xlim_raw, max_points, use_envelope, data_id
) # Cache key doesn't need return_envelope_min_max
if cache_key in self._cache:
- logger.debug(f"Using cached decimation for key: {cache_key}")
return self._cache[cache_key]
# --- Strategy: Use pre-decimated envelope if in envelope mode and view is wide ---