create_hdf5_archive

shampoo.create_hdf5_archive(hdf5_path, hologram_paths, n_z, metadata={}, compression=u'lzf', overwrite=False)[source] [edit on github]

Create HDF5 file structure for holograms and phase/intensity reconstructions.

Parameters:

hdf5_path : string

Name of new HDF5 archive

hologram_paths : string

List of all holograms

n_z : int

Number of z-stacks to allocate space for

meta : dict

Metadata to store with in top-level of the HDF5 archive

Returns:

f : File

Opened HDF5 file