nxtomomill.app.patch_nx#
Application to patch a NXtomo entry. invalidating some frame or adding some.
usage: nxtomomill patch-nx [-h] [--darks-at-start DARKS_AT_START] [--darks-at-end DARKS_AT_END] [--flats-at-start FLATS_AT_START] [--flats-at-end FLATS_AT_END] [--invalid-frames INVALID_FRAMES]
[--update-to-projection UPDATE_TO_PROJECTION] [--update-to-dark UPDATE_TO_DARK] [--update-to-flat UPDATE_TO_FLAT] [--update-to-alignment UPDATE_TO_ALIGNMENT] [--embed-data]
file_path entry
Insert dark and / or flat frames and metadata into anexisting NXTomo file from url(s).
positional arguments:
file_path NXTomo file to patch
entry entry in the provided file
optional arguments:
-h, --help show this help message and exit
--darks-at-start DARKS_AT_START, --darks-start DARKS_AT_START
url to the dataset containing darks to be store atthe beginning. url should be providing the "default?silx way": silx:///data/image.edf?path=/scan_0/detector/data (see
www.silx.org/doc/silx/latest/modules/io/url.html?highlight=dataurl#silx.io.url.DataUrl)of just by giving dataset_path@file_path
--darks-at-end DARKS_AT_END, --darks-end DARKS_AT_END
url to the dataset containing darks to be store atthe end.url should be providing the "default?silx way": silx:///data/image.edf?path=/scan_0/detector/data (see
www.silx.org/doc/silx/latest/modules/io/url.html?highlight=dataurl#silx.io.url.DataUrl)of just by giving dataset_path@file_path
--flats-at-start FLATS_AT_START, --flats-start FLATS_AT_START
url to the dataset containing flats to be store atthe beginning of the acquisition sequence (made before projections acquisition). url should be providing the "default?silx way":
silx:///data/image.edf?path=/scan_0/detector/data (see www.silx.org/doc/silx/latest/modules/io/url.html?highlight=dataurl#silx.io.url.DataUrl)of just by giving dataset_path@file_path
--flats-at-end FLATS_AT_END, --flats-end FLATS_AT_END
url to the dataset containing flats to be store atthe beginning of end of the sequence (made before projections acquisition). url should be providing the "default?silx way":
silx:///data/image.edf?path=/scan_0/detector/data (see www.silx.org/doc/silx/latest/modules/io/url.html?highlight=dataurl#silx.io.url.DataUrl)of just by giving dataset_path@file_path
--invalid-frames INVALID_FRAMES
Define the set of frames to be marked as invalid. Frames can be provided two ways: - as a list: frame_index_1,frame_index_2 - as a python slice: from:to:step
--update-to-projection UPDATE_TO_PROJECTION, --update-to-proj UPDATE_TO_PROJECTION
Define the set of frames to be mark as projection. Frames can be provided two ways: - as a list: frame_index_1,frame_index_2 - as a python slice: from:to:step
--update-to-dark UPDATE_TO_DARK
Define the set of frames to be mark as dark. Frames can be provided two ways: - as a list: frame_index_1,frame_index_2 - as a python slice: from:to:step
--update-to-flat UPDATE_TO_FLAT
Define the set of frames to be mark as flat. Frames can be provided two ways: - as a list: frame_index_1,frame_index_2 - as a python slice: from:to:step
--update-to-alignment UPDATE_TO_ALIGNMENT
Define the set of frames to be mark as alignment. Frames can be provided two ways: - as a list: frame_index_1,frame_index_2 - as a python slice: from:to:step
--embed-data Embed data from url in the file if not already inside
Functions
|