This feature is still in development, but is fully functional. Clean-up and quality of life improvements are to be expected though.
A second (or more) bin-axis can be selected following a similar run-dependent logic as for the main bin axis
Example:
def get_addBinVars(run): if isinstance(run,str): run=int(run) addBinVars = None if run==128: addBinVars = {'ipm2/sum': np.linspace(0,4e4,4)} return addBinVars
The additional axis as passed as a dictionary as {'<variable>': <bin_array>}
Cubed file content
The bin variables are handled slightly differently than in the regular cube. In the future, more uniformity can be expected.
The cubed variables now have a shape matching that of the bin-axis (i.e. (size(bin_axis1), size(bin_axis2), ...)
).
The bin-axis are being saved as 1-dimensional array named bin_<axis-name>
.
Overview
Content Tools