iRoCS Toolbox
1.1.0
|
Functions | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | readDataset (blitz::Array< DataT, Dim > &data, blitz::TinyVector< ElSizeT, Dim > &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, iRoCS::ProgressReporter *pr=NULL) |
Read a scalar n-dimensional dataset with element size. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | readDataset (blitz::Array< DataT, Dim > &data, blitz::TinyVector< ElSizeT, Dim > &elSize, BlitzH5File const &inFile, std::string const &dsName, iRoCS::ProgressReporter *pr=NULL) |
Read a scalar n-dimensional dataset with element size. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | readDataset (blitz::Array< DataT, Dim > &data, blitz::TinyVector< ElSizeT, Dim-1 > &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, iRoCS::ProgressReporter *pr=NULL) |
Read a scalar n-dimensional timelapse dataset with element size. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | readDataset (blitz::Array< DataT, Dim > &data, blitz::TinyVector< ElSizeT, Dim-1 > &elSize, BlitzH5File const &inFile, std::string const &dsName, iRoCS::ProgressReporter *pr=NULL) |
Read a scalar n-dimensional timelapse dataset with element size. More... | |
template<typename DataT , typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim > const &elSize, std::string const &fileName, std::string const &dsName, DataT displayMin, DataT displayMax, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim > const &elSize, BlitzH5File &outFile, std::string const &dsName, DataT displayMin, DataT displayMax, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< unsigned char, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim >const &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< unsigned char, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim >const &elSize, BlitzH5File &outFile, std::string const &dsName, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim > const &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim > const &elSize, BlitzH5File &outFile, std::string const &dsName, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim-1 > const &elSize, std::string const &fileName, std::string const &dsName, DataT displayMin, DataT displayMax, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim-1 > const &elSize, BlitzH5File &outFile, std::string const &dsName, DataT displayMin, DataT displayMax, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< unsigned char, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim-1 > const &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional timelapse 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< unsigned char, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim-1 > const &elSize, BlitzH5File &outFile, std::string const &dsName, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional timelapse 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim-1 > const &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int InnerDim, int OuterDim> | |
void | writeDataset (blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const &data, blitz::TinyVector< ElSizeT, OuterDim-1 > const &elSize, BlitzH5File &outFile, std::string const &dsName, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a vectorial n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< DataT, Dim > const &data, blitz::TinyVector< ElSizeT, Dim > const &elSize, std::string const &fileName, std::string const &dsName, DataT displayMin, DataT displayMax, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< DataT, Dim > const &data, blitz::TinyVector< ElSizeT, Dim > const &elSize, BlitzH5File &outFile, std::string const &dsName, DataT displayMin, DataT displayMax, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< unsigned char, Dim > const &data, blitz::TinyVector< ElSizeT, Dim > const &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< unsigned char, Dim > const &data, blitz::TinyVector< ElSizeT, Dim > const &elSize, BlitzH5File &outFile, std::string const &dsName, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< DataT, Dim > const &data, blitz::TinyVector< ElSizeT, Dim > const &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< DataT, Dim > const &data, blitz::TinyVector< ElSizeT, Dim > const &elSize, BlitzH5File &outFile, std::string const &dsName, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< std::complex< DataT >, Dim > const &data, blitz::TinyVector< ElSizeT, Dim > const &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a complex n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< std::complex< DataT >, Dim > const &data, blitz::TinyVector< ElSizeT, Dim > const &elSize, BlitzH5File &outFile, std::string const &dsName, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a complex n-dimensional dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< DataT, Dim > const &data, blitz::TinyVector< ElSizeT, Dim-1 > const &elSize, std::string const &fileName, std::string const &dsName, DataT displayMin, DataT displayMax, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< DataT, Dim > const &data, blitz::TinyVector< ElSizeT, Dim-1 > const &elSize, BlitzH5File &outFile, std::string const &dsName, DataT displayMin, DataT displayMax, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< unsigned char, Dim > const &data, blitz::TinyVector< ElSizeT, Dim-1 > const &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional timelapse 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< unsigned char, Dim > const &data, blitz::TinyVector< ElSizeT, Dim-1 > const &elSize, BlitzH5File &outFile, std::string const &dsName, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a scalar n-dimensional timelapse 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< std::complex< DataT >, Dim > const &data, blitz::TinyVector< ElSizeT, Dim-1 > const &elSize, std::string const &fileName, std::string const &dsName, bool throwErrors=false, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a complex n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation. More... | |
template<typename DataT , typename ElSizeT , int Dim> | |
void | writeDataset (blitz::Array< std::complex< DataT >, Dim > const &data, blitz::TinyVector< ElSizeT, Dim-1 > const &elSize, BlitzH5File &outFile, std::string const &dsName, int compression=0, iRoCS::ProgressReporter *pr=NULL, std::string const &dim_interpretation="") |
Write a complex n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation. More... | |
void HDF5IOWrapper::readDataset | ( | blitz::Array< DataT, Dim > & | data, |
blitz::TinyVector< ElSizeT, Dim > & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
iRoCS::ProgressReporter * | pr = NULL |
||
) |
Read a scalar n-dimensional dataset with element size.
data | The blitz::Array to read the dataset to |
elSize | The blitz::TinyVector to read the element size to |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
BlitzH5Error | If throwErrors is true |
Referenced by BlitzH5File::name().
void HDF5IOWrapper::readDataset | ( | blitz::Array< DataT, Dim > & | data, |
blitz::TinyVector< ElSizeT, Dim > & | elSize, | ||
BlitzH5File const & | inFile, | ||
std::string const & | dsName, | ||
iRoCS::ProgressReporter * | pr = NULL |
||
) |
Read a scalar n-dimensional dataset with element size.
data | The blitz::Array to read the dataset to |
elSize | The blitz::TinyVector to read the element size to |
inFile | The BlitzH5File containing the dataset to read |
dsName | The full path of the hdf5 dataset |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
BlitzH5Error | If the dataset cannot be read for any reason |
void HDF5IOWrapper::readDataset | ( | blitz::Array< DataT, Dim > & | data, |
blitz::TinyVector< ElSizeT, Dim-1 > & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
iRoCS::ProgressReporter * | pr = NULL |
||
) |
Read a scalar n-dimensional timelapse dataset with element size.
data | The blitz::Array to read the dataset to |
elSize | The blitz::TinyVector to read the element size to |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::readDataset | ( | blitz::Array< DataT, Dim > & | data, |
blitz::TinyVector< ElSizeT, Dim-1 > & | elSize, | ||
BlitzH5File const & | inFile, | ||
std::string const & | dsName, | ||
iRoCS::ProgressReporter * | pr = NULL |
||
) |
Read a scalar n-dimensional timelapse dataset with element size.
data | The blitz::Array to read the dataset to |
elSize | The blitz::TinyVector to read the element size to |
inFile | The BlitzH5File containing the dataset to read |
dsName | The full path of the hdf5 dataset |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
BlitzH5Error | If the dataset cannot be read for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
DataT | displayMin, | ||
DataT | displayMax, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector"
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
displayMin | The value to use as minimum value in visualizations |
displayMax | The value to use as maximum value in visualizations |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]xc" will be generated. |
BlitzH5Error | If throwErrors is true |
Referenced by BlitzH5File::name().
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
DataT | displayMin, | ||
DataT | displayMax, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector"
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
displayMin | The value to use as minimum value in visualizations |
displayMax | The value to use as maximum value in visualizations |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]xc" will be generated. |
BlitzH5Error | If the dataset cannot be writen for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< unsigned char, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim >const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := 0, display_max := 255
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]xc" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< unsigned char, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim >const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := 0, display_max := 255
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]xc" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := min(0, min(data)), display_max := max(data)
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]xc" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := min(0, min(data)), display_max := max(data)
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]xc" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim-1 > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
DataT | displayMin, | ||
DataT | displayMax, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector"
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
displayMin | The value to use as minimum value in visualizations |
displayMax | The value to use as maximum value in visualizations |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]xc" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim-1 > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
DataT | displayMin, | ||
DataT | displayMax, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector"
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
displayMin | The value to use as minimum value in visualizations |
displayMax | The value to use as maximum value in visualizations |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]xc" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< unsigned char, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim-1 > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional timelapse 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := 0, display_max := 255
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]xc" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< unsigned char, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim-1 > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional timelapse 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := 0, display_max := 255
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]xc" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim-1 > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := min(0, min(data)), display_max := max(data)
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]xc" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< blitz::TinyVector< DataT, InnerDim >, OuterDim > const & | data, |
blitz::TinyVector< ElSizeT, OuterDim-1 > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a vectorial n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := min(0, min(data)), display_max := max(data)
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]xc" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< DataT, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
DataT | displayMin, | ||
DataT | displayMax, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "intensity"
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
displayMin | The value to use as minimum value in visualizations |
displayMax | The value to use as maximum value in visualizations |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]x" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< DataT, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
DataT | displayMin, | ||
DataT | displayMax, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "intensity"
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
displayMin | The value to use as minimum value in visualizations |
displayMax | The value to use as maximum value in visualizations |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]x" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< unsigned char, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "intensity", display_min := 0, display_max := 255
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]x" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< unsigned char, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "intensity", display_min := 0, display_max := 255
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]x" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< DataT, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := min(0, min(data)), display_max := max(data)
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]x" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< DataT, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := min(0, min(data)), display_max := max(data)
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]x" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< std::complex< DataT >, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a complex n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := max(0, min(Re(data))) + i * max(0, min(Im(data))), display_max := max(Re(data)) + i * max(Im(data))
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]x" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< std::complex< DataT >, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a complex n-dimensional dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := max(0, min(Re(data))) + i * max(0, min(Im(data))), display_max := max(Re(data)) + i * max(Im(data))
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "[z][y]x" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< DataT, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim-1 > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
DataT | displayMin, | ||
DataT | displayMax, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "intensity"
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
displayMin | The value to use as minimum value in visualizations |
displayMax | The value to use as maximum value in visualizations |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]x" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< DataT, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim-1 > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
DataT | displayMin, | ||
DataT | displayMax, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "intensity"
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
displayMin | The value to use as minimum value in visualizations |
displayMax | The value to use as maximum value in visualizations |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]x" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< unsigned char, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim-1 > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional timelapse 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "intensity", displayMin = 0, displayMax = 255
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]x" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< unsigned char, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim-1 > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a scalar n-dimensional timelapse 8Bit unsigned integer dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "intensity", displayMin = 0, displayMax = 255
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]x" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< std::complex< DataT >, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim-1 > const & | elSize, | ||
std::string const & | fileName, | ||
std::string const & | dsName, | ||
bool | throwErrors = false , |
||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a complex n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := max(0, min(Re(data))) + i * max(0, min(Im(data))), display_max := max(Re(data)) + i * max(Im(data))
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
fileName | The name of the hdf5 file |
dsName | The full path of the hdf5 dataset |
throwErrors | If given, BlitzH5Error will be thrown on failure otherwise an error message is written to std::cout and the program terminated. |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]x" will be generated. |
BlitzH5Error | If throwErrors is true |
void HDF5IOWrapper::writeDataset | ( | blitz::Array< std::complex< DataT >, Dim > const & | data, |
blitz::TinyVector< ElSizeT, Dim-1 > const & | elSize, | ||
BlitzH5File & | outFile, | ||
std::string const & | dsName, | ||
int | compression = 0 , |
||
iRoCS::ProgressReporter * | pr = NULL , |
||
std::string const & | dim_interpretation = "" |
||
) |
Write a complex n-dimensional timelapse dataset with element size and additional meta-information for dataset interpretation.
Meta-Information which are stored as local attributes are:
Written fixed metadata using this function: value_interpretation := "vector", display_min := max(0, min(Re(data))) + i * max(0, min(Im(data))), display_max := max(Re(data)) + i * max(Im(data))
data | The blitz::Array to write |
elSize | The blitz::TinyVector containing the element size in micrometers to write |
outFile | The hdf5 file to write the dataset to |
dsName | The full path of the hdf5 dataset |
compression | The compression level to use (0-9). 0 means no compression |
pr | If given, progress will be reported via the given iRoCS::ProgressReporter |
dim_interpretation | A hint of how to interpret the dimensions of the dataset. E.g. "zyxc" means that the first three dimensions are ordinary coordinates and the last is a channel index. If not provided by the user a default of "t[z][y]x" will be generated. |
BlitzH5Error | If the dataset cannot be written for any reason |