Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
T.Tian committed Oct 13, 2020
1 parent 02ce2ac commit c45b862
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ ENV/
/requirements.txt
/examples/spectra_files/*.csv
/examples/spectra_files/*.svg
/*.csv
/*.svg
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c45b862

Please sign in to comment.