The canonical location of this page is http://strawlab.org/schemas/flydra/1.1.
This is an HDF5 file for saving tracked 3D point data.
Two datasets are in this file:
/trajectories - estimated 3D point trajectories/trajectory_start_times - the first timestamp for each tracked objectThe 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:
obj_id (uint32) - an arbitrary identifier unique for each trajectoryframenumber (int64) - the frame for which the estimate is madex (float64) andy (float64) andz (float64) - the (Kalman smoothed) estimated 3D positions.Additionally, this dataset has the attribute "frames_per_second", which contains the framerate at which the data were acquired.
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:
obj_id (uint32) - an arbitrary identifier unique for each trajectoryfirst_timestamp_secs (uint64) andfirst_timestamp_nsecs (uint64) - the time at which the trajectory started, in seconds and nanoseconds since 1 January 1970. Stored in UTC.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"
}
}
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.