Commit 1c3fab6e authored by Pierre Paleo's avatar Pierre Paleo Committed by Pierre Paleo
Browse files

Update imports

parent 8c681b52
import os
import numpy as np
from silx.io.url import DataUrl
from tomoscan.io import HDF5File
from tomoscan.esrf.edfscan import EDFTomoScan
from tomoscan.esrf.hdf5scan import HDF5TomoScan, ImageKey
from ..utils import check_supported
from tomoscan.esrf.hdf5scan import HDF5TomoScan
from ..thirdparty.tomwer_load_flats_darks import get_flats_frm_process_file, get_darks_frm_process_file
from .logger import LoggerOrPrint
val_to_nxkey = {
"flats": ImageKey.FLAT_FIELD.value,
"darks": ImageKey.DARK_FIELD.value,
"projections": ImageKey.PROJECTION.value,
}
dataset_infos = {
"num_radios": None,
......
import numpy as np
from silx.io.url import DataUrl
from tomoscan.io import HDF5File
from tomoscan.esrf.hdf5scan import ImageKey
from ..utils import check_supported
from .logger import LoggerOrPrint
from ..thirdparty.tomwer_load_flats_darks import get_flats_frm_process_file, get_darks_frm_process_file
val_to_nxkey = {
"flats": ImageKey.FLAT_FIELD.value,
"darks": ImageKey.DARK_FIELD.value,
"projections": ImageKey.PROJECTION.value,
}
class NXFlatField:
"""
A helper class to load flats and darks, or to compute the final ones.
......
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