Data File Formats

Many calibration templates in Aspherix® Calibration require CSV-like data files as input. Their format needs to conform to the following specifications:

  • Columns can be separated by spaces, tabs or commas. Separators can also be mixed, but this is not recommended since it defies the purpose of CSV to be human-readable and machine-readable at the same time.

  • Multiple identical delimiters will be treated as a single delimiter.

  • Every line beginning with # or % (the most commonly encountered comment characters) will be ignored. Note that this only works if the comment character is the first character of the line.

The following files will all lead to the same data being read into Aspherix® Calibration:

# measurement on 1.2.2027, 12:34:56
# time,velocity,pressure
0.0001,1.23e-2,5.43e2
0.0002,1.34e-2,5.67e2
0.0003,1.56e-2,5.88e2
0.0001   1.23e-2    5.43e2
0.0002   1.34e-2    5.67e2
0.0003   1.56e-2    5.88e2
% data file no. 3
% author: John Doe
% location: Mars Base 1
% stardate 4023.6
0.0001   1.23e-2    5.43e2
0.0002   1.34e-2    5.67e2
0.0003   1.56e-2    5.88e2