log¶
-
class
neuxus.nodes.log.
Hdf5
(input_port, file, key)[source]¶ Log input signal in a HDF5 file. If the specified file already exists, Hdf5 will override it If to Hdf5 Nodes point to the same file (with different keys), the two streams will be cleanly stored in this file, to read an hdf5 file in Python, use pd.read_hdf()
- Args:
file (str): name of the file to write
key (str): key to access this particular table
- example:
Hdf5(port4, ‘../my_file’, ‘marker’)
-
class
neuxus.nodes.log.
Mat
(input_port, file)[source]¶ Log input signal in a mat file, easy to read with Matlab If the specified file already exists, Mat will override it 2 Mat Nodes cannot point to the same mat file !
- Args:
file (str): name of the file to write
matlab_format (str): key to access this particular table
- Example:
Mat(port4, ‘../my_file’)