From c45b86240ec58b2a175bbe3d1ee201a9b0de3841 Mon Sep 17 00:00:00 2001 From: "T.Tian" Date: Tue, 13 Oct 2020 14:42:46 +0200 Subject: [PATCH] update readme --- .gitignore | 2 ++ README.md | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/.gitignore b/.gitignore index 8955fec..35dacec 100644 --- a/.gitignore +++ b/.gitignore @@ -107,3 +107,5 @@ ENV/ /requirements.txt /examples/spectra_files/*.csv /examples/spectra_files/*.svg +/*.csv +/*.svg diff --git a/README.md b/README.md index fefbd11..7fe2096 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,26 @@ git update-index --skip-worktree examples/spectra_files.wdf Check the sample codes in `examples/` folder for more details about what the package can do. +## Simple script for exporting wdf spectra (version > 0.1.11) + +The package also installs a simple wrapper script `wdf-export` for +exporting spectra in the wdf file to plain-text formats. If the +measurement contains mapping information, the optical image is also +exported (as `.svg` file) + +### Usage +Simply use the base name of input file for the exported text file: +```bash +wdf-export path/to/wdf_file +``` +or specifying the input and output files +```bash +wdf-export path/to/wdf_file -o path/to/output.csv +``` + + + + ## Get file information `renishawWiRE.WDFReader` is the main entry point to get information of a WDF file.