tomwer.gui.edit.nxtomoeditor.NXtomoEditor#

class tomwer.gui.edit.nxtomoeditor.NXtomoEditor(parent=None, hide_lockers=True)#

class to edit parameter of a NXtomo. The preliminary goal is to let the user define pixel / voxel position and x and z positions in order to simplify stitching down the line

As energy and scan range was also often requested this part is also editable (user bonus ^^)

clear()#
getConfiguration()#

Return a dict with field full name as key and a tuple as value (field_value, is_locked)

limitation: for now sample position are not handled because this is a ‘corner case’ for now

Return type:

dict

getEditableWidgets()#
getScan()#
hasLockField()#

return True if the widget has at least one lock field

Return type:

bool

hideLockers(hide)#
overwriteNXtomo()#

overwrite data on disk

setConfiguration(config)#
setScan(scan)#
sigEditingFinished#

emit when edition is finished

update_tree()#