parformat - tpcclib 0.8.0 © 2023 by Turku PET Centre
Convert model or function fit parameter data in filename1 into filename2
in specified file format.
Data can be written only in a few formats (listed below), but more
file formats can be read.
Usage: parformat [options] filename1 [filename2]
Options:
-f=<format-id>
Accepted format-id's:
CSV-INT - CSV format with semicolons and decimal commas.
CSV-UK - CSV format with commas and decimal points.
TSV-INT - TSV format with tabs and decimal commas.
TSV-UK - TSV format with tabs and decimal points.
RES - TPC RES format (deprecated).
FIT - TPC FIT format (deprecated).
IFT - Interfile type format.
XML - MS Excel compatible XML format.
Without this option, only the format of the given file is shown.
-hdr=<Yes|no>
Extra information is (y, default) or is not stored (n) in lines
starting with '#' character; not effective with all formats.
-units=<Yes|no>
Keep (y, default) or remove (n) parameter units.
-h, --help
Display usage information on standard output and exit.
-v, --version
Display version and compile information on standard output and exit.
-d[n], --debug[=n], --verbose[=n]
Set the level (n) of debugging messages and listings.
-q, --quiet
Suppress displaying normal results on standard output.
-s, --silent
Suppress displaying anything except errors.
Example: convert RES file into CSV format for exporting to Excel
parformat -f=CSV-UK -hdr=no iea446ki.res iea446ki.csv
See also: parsort, paradd, parget, csvtrps, reslist, parmatch, rescoll
Keywords: parameter, tool, format, CSV, RES, FIT