Acoular 17.11 documentation

csv_import

«  time_data_import   ::   fileimport   ::   td_import  »

csv_import

class acoular.fileimport.csv_import

Bases: acoular.fileimport.time_data_import

Class that supports the import of CSV data as saved by NI VI Logger.

from_file = File(filter = ['*.txt'], desc = "name of the comma delimited file to import")

Name of the comma delimited file to import.

header_length = Int(6, desc = "length of the header to ignore during import")

Header length, defaults to 6.

dummy_columns = Int(1, desc = "number of leading columns to ignore during import")

Number of leading columns (will be ignored during import), defaults to 1.

get_data(td)

Imports the data from CSV file into a TimeSamples object td. Also, a *.h5 file will be written, so this import need not be performed every time the data is needed

«  time_data_import   ::   fileimport   ::   td_import  »