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
tomwer
Commits
672ffab8
Commit
672ffab8
authored
Apr 04, 2022
by
payno
Committed by
Henri Payno
May 03, 2022
Browse files
clean
parent
9d829a57
Changes
1
Hide whitespace changes
Inline
Side-by-side
tomwer/core/process/reconstruction/normalization/normalization.py
View file @
672ffab8
...
...
@@ -438,37 +438,3 @@ class IntensityNormalizationTask(
def
definition
():
"""definition of the process"""
return
"Normalize intensity."
# def results_to_tomoscan_norm(
# scan,
# method: Method,
# results: typing.Union[numpy.ndarray, float, None],
# extra_infos: dict,
# ):
# """
# Util function to copy results from tomwer normalization to tomoscan
# normalization parameters
# :param TomwerScanBase scan:
# :param Method method:
# :param dict results:
# :param dict extra_infos:
# :return:
# """
# print("results to tomo scan norm will be")
# print(scan)
# print("method is", method)
# print("results is", results)
# print("extra_infos is", extra_infos)
# scan.intensity_normalization = method
# extra_infos["value"] = results
# scan.intensity_normalization.set_extra_infos(extra_infos)
# # if method in TomoScanMethod.values():
# # scan.intensity_normalization = method
# # scan.intensity_normalization.set_extra_infos(extra_infos)
# # else:
# # scan.intensity_normalization = TomoScanMethod.SCALAR
# # if results is not None:
# # extra_infos["value"] = results
# # scan.intensity_normalization.set_extra_infos(extra_infos)
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