docs: update documentation files and fix linting issues

This commit is contained in:
2026-07-07 13:32:48 +03:00
parent 9bf1e1333e
commit be3e288e0d
27 changed files with 423 additions and 250 deletions
-2
View File
@@ -395,8 +395,6 @@ class EnergyCalibrator:
if best_pair is not None:
ch_low, ch_high = best_pair
e_min, e_max = min(known_energies), max(known_energies)
gain = (ch_high - ch_low) / (e_max - e_min)
intercept = ch_low - gain * e_min
channel_to_energy[float(ch_low)] = e_min
channel_to_energy[float(ch_high)] = e_max