The canonical location of this page is http://strawlab.org/schemas/flydra/1.1.

flydra v1.1 schema

Description

This is an HDF5 file for saving tracked 3D point data.

Two datasets are in this file:

trajectories

The HDF5 description is:

  DATATYPE  H5T_COMPOUND {

     H5T_STD_U32LE "obj_id";

     H5T_STD_I64LE "framenumber";

     H5T_IEEE_F64LE "x";

     H5T_IEEE_F64LE "y";

     H5T_IEEE_F64LE "z";

  }

The columns are:

Additionally, this dataset has the attribute "frames_per_second", which contains the framerate at which the data were acquired.

trajectory_start_times

The HDF5 description is:

  DATATYPE  H5T_COMPOUND {

     H5T_STD_U32LE "obj_id";

     H5T_STD_U64LE "first_timestamp_secs";

     H5T_STD_U64LE "first_timestamp_nsecs";

  }

The columns are:

Additionally, this dataset has an attribute "timezone", which contains the timezone in which the data were acquired. Because the timestamps are saved in UTC, this allows displaying them in local time. For the Pacific timezone, this attribute looks like this with h5dump:

  ATTRIBUTE "timezone" {

     DATATYPE  H5T_STRING {

           STRSIZE 10;

           STRPAD H5T_STR_NULLPAD;

           CSET H5T_CSET_ASCII;

           CTYPE H5T_C_S1;

        }

     DATASPACE  SCALAR

     DATA {

     (0): "US/Pacific"

     }

  }

Note about user block in .h5 format

The first bytes of the file are an HDF5 user block that describe the schema of the file. (In other words, it's a descriptor that points to this page.) By putting the first bytes in this file, the freedesktop.org file identification machinery can automatically identify this file.