ess.reduce.nexus.types.ProductionInfo#
- class ess.reduce.nexus.types.ProductionInfo(attrs, children)[source]#
A specialized NXsource for neutron production information (accelerator).
This differs from the regular NXsource in that it encodes information about the accelerator, not the target. So its position is not relevant for data reduction. But it encodes, among others, the proton charge.
- __init__(attrs, children)#
Subclasses should call this in their __init__ method, or ensure that they initialize the fields in children with the correct sizes and dtypes.
Methods
__init__(attrs, children)Subclasses should call this in their __init__ method, or ensure that they initialize the fields in children with the correct sizes and dtypes.
assemble(dg)When a Group is indexed, this method is called to assemble the read children into the result object.
convert_label_index_to_positional(sel)index_child(child, sel)When a Group is indexed, this method is called to index each child.
read_children(sel)When a Group is indexed, this method is called to read all children.
Attributes
sizesunit