Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Three aspects of these new features are subject to change. These are highlighted in warning boxes below. In brief, these are

  • hdf5 group names for ndarray types
  • How event key strings are incorporated into hdf5 paths
  • How new C++ types are registered for translation.

...

Warning

This example illustrates the way our current hdf5 schema, schema 4, forms hdf5 paths that involve key strings for event data: source__key where the string noSrc can be used for source. This is one aspect of the new features that is subject to change. 

It also demonstrates the hdf5 group names for ndarray's, such as ndarray_float32_1. This is subject to change.

Filtering from Python Modules

...

/ndarray_float32_2_vlen/noSrc__mykey
Warning

The fully qualified ndarray nameing scheme is subject to change.

 

Registering New Types

C++ modules can register new types. Note, this is an advanced feature that requires familiarity with the Hdf5 programming in C.  Presently this feature is only suitable for simple types. An example is found in the file Translator/src/TestModuleNewWriter.cpp. We go through the example here. First a module will define the data type that they want to store. This type is a simple C struct of native types in the C language:

...