@Override
public void saveResults(HDF5Group root, String key) throws IOException {
super.saveResults(root, key);
HDF5Group group = root.requireSubgroup(key);
String transitionName;
double[][] gnf, gt, enf, et;
HDF5Group transitionGroup;
for (XRayTransition trans : radialTotal.getTransitions()) {
if (!trans.isWellKnown())
continue;
transitionName = trans.getIUPACName();
transitionGroup = group.createSubgroup(transitionName);
gnf = radialCharac.getGeneratedDistribution(trans).getArray();
gt = radialTotal.getGeneratedDistribution(trans).getArray();
enf = radialCharac.getEmittedDistribution(trans).getArray();
et = radialTotal.getEmittedDistribution(trans).getArray();
transitionGroup.createDataset("gnf", gnf);
transitionGroup.createDataset("gt", gt);
transitionGroup.createDataset("enf", enf);
transitionGroup.createDataset("et", et);
}
}