Commit 672ffab8 authored by payno's avatar payno Committed by Henri Payno
Browse files

clean

parent 9d829a57
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment