Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomo
EBS-Tomo
Commits
5dcc79f8
Commit
5dcc79f8
authored
May 04, 2022
by
Valentin Valls
Browse files
Normalize params with fulltomo
parent
84597165
Pipeline
#74129
passed with stages
in 9 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tomo/tiling.py
View file @
5dcc79f8
...
...
@@ -18,8 +18,8 @@ def tiling(
detector
:
Lima
,
expo_time
:
float
,
tomoconfig
:
TomoConfig
,
n
b
_dark
_scan
:
int
=
3
,
n
b
_flat
_scan
:
int
=
3
,
n_dark
:
int
=
3
,
n_flat
:
int
=
3
,
sleep_time
:
typing
.
Optional
[
float
]
=
None
,
):
"""
...
...
@@ -90,17 +90,16 @@ def tiling(
with
sequence
.
sequence_context
()
as
scan_seq
:
dark_runner
=
tomoconfig
.
get_runner
(
"dark"
)
scan
=
dark_runner
(
expo_time
,
n
b
_dark
_scan
,
detector
,
run
=
False
)
scan
=
dark_runner
(
expo_time
,
n_dark
,
detector
,
run
=
False
)
scan_seq
.
add
(
scan
)
scan
.
run
()
flat_runner
=
tomoconfig
.
get_runner
(
"flat"
)
scan
=
flat_runner
(
expo_time
,
n
b
_flat
_scan
,
detector
,
run
=
False
)
scan
=
flat_runner
(
expo_time
,
n_flat
,
detector
,
run
=
False
)
scan_seq
.
add
(
scan
)
scan
.
run
()
tiling_runner
=
tomoconfig
.
get_runner
(
"tiling"
)
scan
=
tiling_runner
(
expo_time
=
expo_time
,
tomo_detector
=
tomo_detector
,
...
...
@@ -116,10 +115,11 @@ def tiling(
scan
.
run
()
flat_runner
=
tomoconfig
.
get_runner
(
"flat"
)
scan
=
flat_runner
(
expo_time
,
n
b
_flat
_scan
,
detector
,
run
=
False
)
scan
=
flat_runner
(
expo_time
,
n_flat
,
detector
,
run
=
False
)
scan_seq
.
add
(
scan
)
scan
.
run
()
tiling_runner
=
tomoconfig
.
get_runner
(
"tiling"
)
scan
=
tiling_runner
(
expo_time
=
expo_time
,
tomo_detector
=
tomo_detector
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment