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
ixstools
xrstools
Commits
bb162b0b
Commit
bb162b0b
authored
Dec 04, 2020
by
myron
Browse files
firrint the reference
parent
adc1f588
Changes
2
Hide whitespace changes
Inline
Side-by-side
XRStools/tools_sequencer_interp.py
View file @
bb162b0b
...
...
@@ -174,7 +174,7 @@ def interpolate( peaks_shifts, interp_file_str, interp_file_target_str):
# interp_file_target.flush()
fscans
=
interp_file_target
[
target
+
"/"
+
t_vn
][
"scans"
]
fscans
=
interp_file_target
[
t_vn
][
"scans"
]
keys_list
=
list
(
fscans
.
keys
()
)
print
(
" keylist "
,
keys_list
)
...
...
@@ -204,7 +204,7 @@ def interpolate( peaks_shifts, interp_file_str, interp_file_target_str):
i0
,
f0
,
i1
,
f1
=
rois_coeffs
[
k
]
matrix0
=
interp_file
[
volum_list
[
i0
]
][
"scans"
][
"Scan%03d"
%
(
scan_num_list
[
i0
]
+
sn
-
t_sn
)
][
str
(
k
)][
"matrix"
][:]
matrix1
=
interp_file
[
volum_list
[
i1
]
][
"scans"
][
"Scan%03d"
%
(
yyy
scan_num_list
[
i1
]
+
sn
-
t_sn
)
][
str
(
k
)][
"matrix"
][:]
matrix1
=
interp_file
[
volum_list
[
i1
]
][
"scans"
][
"Scan%03d"
%
(
scan_num_list
[
i1
]
+
sn
-
t_sn
)
][
str
(
k
)][
"matrix"
][:]
monitor
=
np
.
ones
(
matrix0
.
shape
[
0
],
"f"
)
newmatrix
=
f0
*
matrix0
+
f1
*
matrix1
...
...
nonregressions/volumes/esrf_scans/fourmis/interp/batch_extraction_interp.py
View file @
bb162b0b
...
...
@@ -31,7 +31,7 @@ def main():
Edim
=
62
rois_are_ready
=
True
elastic_scan_for_peaks_shifts
=
6
8
elastic_scan_for_peaks_shifts
=
3
8
datadir
=
"/data/id20/inhouse/data/run5_17/run7_ihr/"
...
...
@@ -66,11 +66,11 @@ def main():
steps_to_do
=
{
"do_step_make_roi"
:
False
,
"do_step_sample_extraction"
:
Tru
e
,
"do_step_sample_extraction"
:
Fals
e
,
"do_step_interpolation"
:
False
,
"do_step_extract_reference_scan"
:
False
,
"do_step_fit_reference_response"
:
Fals
e
,
"do_step_fit_reference_response"
:
Tru
e
,
"do_step_resynthetise_reference"
:
False
,
"do_step_scalars"
:
False
,
"do_step_volume_retrieval"
:
False
,
...
...
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