Use manual scaling factor together with autoscale
Unit Testing / test (3.11) (push) Successful in 53s
Unit Testing / test (3.8) (push) Successful in 55s
Unit Testing / test (3.10) (push) Successful in 1m3s
Unit Testing / test (3.12) (push) Successful in 1m10s
Unit Testing / test (3.9) (push) Successful in 1m6s

This commit is contained in:
glavic_a committed 2026-08-24 12:54:28 +02:00
1 parent b98f0decf1
commit d7f6028f1e
1 file changed
+7
+7
View File
@@ -238,6 +238,13 @@ class ReflectivityReduction:
logging.warning(
f'backgroung file {self.sFileName} not compatible with q_z scale ({len(self.sq_q)} vs. {len(result.Q)})')
if not self.config.reduction.is_default('scale'):
try:
scale = self.config.reduction.scale[i]
except IndexError:
scale = self.config.reduction.scale[-1]
result.scale(scale)
orso_data = fileio.OrsoDataset(headerRqz, result.data)
self.last_result = result
self.datasetsRqz.append(orso_data)