|
|
W-SLDA Toolkit provide various tools that may support computation and data analysis process.
|
|
|
W-SLDA Toolkit provides various tools that may support the computation and data analysis process.
|
|
|
In order to create them enter [tools](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/tree/public/tools) folder and edit (if necessary) header of [Makefile](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/blob/public/tools/Makefile). Next execute
|
|
|
```bash
|
|
|
make
|
... | ... | @@ -10,12 +10,16 @@ Executables will be written to `wslda/tools/bin` folder. |
|
|
## wdata-cut
|
|
|
*Purpose*: extracts subset from existing wdata set.
|
|
|
|
|
|
In many cases for testing purposes it is sufficient to have only sample of data (for example to download it locally and test a code). You can use `wdata-cut` tool exatract a data sample. Syntax is following:
|
|
|
In many cases, for testing purposes, it is sufficient to have only a sample of data (for example to download it locally and test a code). You can use `wdata-cut` tool to extract a data sample. The syntax is following:
|
|
|
```bash
|
|
|
WDATA SUBSET EXTRACTOR
|
|
|
Usage: ./wdata-cut file.wtxt outprefix start stop
|
|
|
or
|
|
|
Usage: ./wdata-cut file.wtxt outprefix start stop stride
|
|
|
file.wtxt - metadata file
|
|
|
outprefix - for new files, metadata file will be written to outprefix.wtxt
|
|
|
[start,stop) - range for subtructing cycles
|
|
|
stride - every `stride` frame will be taken only from given range, default stride=1
|
|
|
```
|
|
|
For example to extract the first cycle only:
|
|
|
```bash
|
... | ... | @@ -29,9 +33,9 @@ DONE. |
|
|
```
|
|
|
## wdata-sample
|
|
|
|
|
|
*Purpose*: creates new data set, where only every `stride` measurment is present.
|
|
|
*Purpose*: creates new data set, where only every `stride` measurement is present.
|
|
|
|
|
|
This tool is very similar to `wdata-cut` tool with change that it strides the data set. Syntax is following:
|
|
|
This tool is very similar to `wdata-cut` tool with change that it strides the data set. The syntax is following:
|
|
|
```bash
|
|
|
Usage: wdata-sample file.wtxt outprefix stride
|
|
|
file.wtxt - metadata file
|
... | ... | @@ -87,6 +91,13 @@ const eF 0.72 |
|
|
GENERATED `ufg1V0.6.wtxt`
|
|
|
```
|
|
|
|
|
|
## dpca2wdata-hard
|
|
|
*Purpose*: converts dpca file into wdata set.
|
|
|
```
|
|
|
DPCA -> WDATA HARD CONVERTER
|
|
|
Usage: ./dpca2wdata-hard prefix
|
|
|
prefix - prefix of dpca files
|
|
|
```
|
|
|
|
|
|
# st-wslda related tools
|
|
|
## wdata2checkpoint
|
... | ... | |