|
@@ -233,7 +233,7 @@ class Application(object):
|
|
|
|
|
|
def on_flat_correct(self):
|
|
|
num = 0
|
|
|
- data = dict(p=self.config.destination, num=num, step=123))
|
|
|
+ data = dict(p=self.config.destination, num=num, step=123)
|
|
|
cmd = ('tofu flatcorrect --verbose'
|
|
|
' --reduction-mode median'
|
|
|
' --projections "{p}/foo*.edf"'
|
|
@@ -249,7 +249,9 @@ class Application(object):
|
|
|
|
|
|
def on_optimize(self):
|
|
|
self.log.info("Optimizing ...")
|
|
|
- return True
|
|
|
+ cmd = ('optimize-parameters --verbose'
|
|
|
+ ' --reco-params "--x-region=-960,960,1 --y-region=-960,960,1 --overall-angle -360')
|
|
|
+ return self.run_command(cmd)
|
|
|
|
|
|
def do_nothing(self):
|
|
|
return True
|