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
tomotools
nxtomomill
Commits
daaee846
Commit
daaee846
authored
May 12, 2022
by
Henri Payno
Browse files
current: only register current with start_time if find only one electric current
parent
33fa0a94
Pipeline
#74633
failed with stages
in 3 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nxtomomill/converter/hdf5/acquisition/standardacquisition.py
View file @
daaee846
...
...
@@ -537,9 +537,6 @@ class StandardAcquisition(BaseAcquisition):
new_know_electric_currents
[
str_datetime_to_numpy_datetime64
(
start_time
)
]
=
(
electric_currents
[
0
]
*
unit_factor
)
new_know_electric_currents
[
str_datetime_to_numpy_datetime64
(
end_time
)
]
=
(
electric_currents
[
0
]
*
unit_factor
)
else
:
# linspace from datetime within ms precision.
# see https://localcoder.org/creating-numpy-linspace-out-of-datetime#credit_4
...
...
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