tomwer.core.process.stitching.metadataholder.StitchingMetadata#

class tomwer.core.process.stitching.metadataholder.StitchingMetadata(tomo_obj)#

overload of a TomoObject to register metadata set by the user on positions

KEY_METRIC_POSITION = 'position_m'#
KEY_PIXEL_OR_VOXEL_SIZE = 'pixel_or_voxel_size'#
KEY_PIXEL_POSITION = 'position_px'#
static from_dict(ddict, tomo_obj)#
get_abs_position_px(axis, warn=True)#
Return type:

int | None

get_pixel_or_voxel_size(axis)#

return value provided by the user if any else return the value contained in metadata

Return type:

float | None

get_raw_position_m(axis)#
load_from_dict(ddict)#
Return type:

dict

reset()#
setMetricPos(value, axis)#
setPixelOrVoxelSize(value, axis)#
setPxPos(value, axis)#
to_dict()#
Return type:

dict

property tomo_obj: TomoObject#