HDF5 support

HDF5 support#

The XML serializations of large NeuroML models can be prohibitive to store. For such cases, NeuroML also includes support for saving models in the binary HDF5 format via the NeuroMLHdf5Writer in libNeuroML. The same format can be exported also from the Java API (example).

The format of the export is documented below:

For more details, the source code of these export functions can be seen here in the libNeuroML repository and here in org.neuroml.model.

HDF5 NeuroML files can be read and processed by jnml and pynml in the same way as XML files (see here for LEMS Simulation file examples which reference HDF5 NeuroML models).