[dataio/nix] adding comments

This commit is contained in:
wendtalexander 2024-11-04 08:04:20 +01:00
parent cce7c55fe7
commit 0113e94625

View File

@ -68,6 +68,9 @@ class NixWriter:
log.debug(f"Samples written {index}")
def _write_header(self):
"""
Writing the header of the nix file
"""
self.nix_file = nixio.File.open(path="data.nix", mode=nixio.FileMode.Overwrite)
self.block = self.nix_file.create_block("recording", "testfile")
self.data_array = self.block.create_data_array(