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
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:
1 parent
b98f0decf1
commit
d7f6028f1e
1 file changed
+7
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user