- Initialize an instance of dm_ainfo_struct by calling dm_init_ainfo_struct.
- Associate the arrays with their respective values, either manually or use dm_read_ainfo_from_csv to read-in the whole thing at once.
- Determine and define dm_ainfo_struct.n_frames. Like for the C implementation, this is a crucial parameter since it is being used to determine if the arrays have the correct length or if they need to be filled up. You don't need to define a dm_ainfo_struct.string_length since this is determined automatically when calling dm_h5_write_ainfo.
- Call dm_h5_write_ainfo to write the existing dm_ainfo_struct to an "/ainfo" group whithin an open HDF5 file.
- At the very end, call dm_ptr_free_ainfo to free the pointers whithin dm_ainfo_struct
Microscope User
2008-11-25