nxtomo.nxobject.nxobject#

Module for handling an 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.

HDF5File

alias of File

NXobject(node_name[, parent])