WDF-EXPORT(1)
π WDF-EXPORT(1) π
okay bestie, welcome to the User Commands section of the manual β this one's all about wdf-export, and I'm gonna walk you through it like we're texting at 2am π¦
πΈ NAME πΈ
wdf-export β literally just wdf-export, that's the whole name, slay π
β¨ DESCRIPTION β¨
so here's the vibe:
usage: wdf-export [-h] [-o OUTPUT] [-f FORMAT] [-p PRECISION] wdf_file
it's a simple script that converts Renishaw wdf spectroscopy files into plain text files. no cap, that's it, that's the whole job π
the first 3 lines in the header are, in order:
- brief information of measurement π
- positions of spectra points, if exist π
- wavenumber and indices of points π
π«Ά positional arguments π«Ά
wdf_fileβ the Renishaw wdf you're feeding in as input. give her the file, bestie π
π options π
-h,--helpβ shows this help message and exits. the classic "wait what do I do" button, we've all been there π-o,--output OUTPUTβ the name of the exported plain text file. if you don't specify one, it just uses the base name of the.wdffile. lazy girl coding, honestly iconic β-f,--format FORMATβ the format of the exported file. the valid values are:.csvβ comma-separated π.txtβ space-separated β¨
if you don't specify it, it guesses from the output file name.
β οΈ Note: the -f option is ignored when the output file name already has an extension. so don't come crying to me when your format flag does nothing, she said what she said π
-p,--precision PRECISIONβ the precision of the exported data. use a printf-compatible format such as%2.4f. numbers girlies, this one's for you π₯
that's the whole page, bestie!! go forth and convert your spectra π
π¦ sign-off time: this was wdf-export 0.1.16, from March 2025. mwah, take care of her ππ
π¦ where this page comes from
- debian trixie: python3-renishawwire 0.1.16-4
- ubuntu resolute: python3-renishawwire 0.1.16-4
- ubuntu stonking: python3-renishawwire 0.1.16-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms