nxtomo.nxobject.nxobject#

module for handling a nxobject

Functions

cwd_context([new_cwd])

create a context with 'new_cwd'.

dicttonx(treedict, h5file[, h5path, ...])

Write a nested dictionary to a HDF5 file, using string keys as member names.

from_data_url_to_virtual_source(url, target_path)

convert a DataUrl to a set (as tuple) of h5py.VirtualSource

to_target_rel_path(file_path, target_path)

cast file_path to a relative path according to target_path.

Classes

DataUrl([path, file_path, data_path, ...])

Non-mutable object to parse a string representing a resource data locator.

ElementWithUnit(default_unit)

HDF5File

alias of File

NXobject(node_name[, parent])

Unit(value)

Base class for all Unit.