[dataio/nix] adding comments
This commit is contained in:
		
							parent
							
								
									cce7c55fe7
								
							
						
					
					
						commit
						0113e94625
					
				| @ -68,6 +68,9 @@ class NixWriter: | |||||||
|         log.debug(f"Samples written {index}") |         log.debug(f"Samples written {index}") | ||||||
| 
 | 
 | ||||||
|     def _write_header(self): |     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.nix_file = nixio.File.open(path="data.nix", mode=nixio.FileMode.Overwrite) | ||||||
|         self.block = self.nix_file.create_block("recording", "testfile") |         self.block = self.nix_file.create_block("recording", "testfile") | ||||||
|         self.data_array = self.block.create_data_array( |         self.data_array = self.block.create_data_array( | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user