... | ... | @@ -141,16 +141,16 @@ fclose(pFile); // close file |
|
|
```
|
|
|
|
|
|
# W-data C library
|
|
|
Folder [lib-wdata](https://gitlab.fizyka.pw.edu.pl/gabrielw/wslda/-/tree/public/lib-wdata) contains library that provides support for w-data processing.
|
|
|
Folder [lib/wdata](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/tree/public/lib/wdata) contains library that provides support for w-data processing.
|
|
|
List of examples demonstrating how to use this library.
|
|
|
* [example-write.c](https://gitlab.fizyka.pw.edu.pl/gabrielw/wslda/-/tree/public/lib-wdata/example-write.c): code creates artificial set of variables and writes them do wdat files.
|
|
|
* [example-read.c](https://gitlab.fizyka.pw.edu.pl/gabrielw/wslda/-/tree/public/lib-wdata/example-read.c): code reads data from wdat files (created by [example-write.c](https://gitlab.fizyka.pw.edu.pl/gabrielw/wslda/-/tree/public/lib-wdata/example-write.c)).
|
|
|
* [example-addvar.c](https://gitlab.fizyka.pw.edu.pl/gabrielw/wslda/-/tree/public/lib-wdata/example-addvar.c): code adds new variable to existing data set (created by [example-write.c](https://gitlab.fizyka.pw.edu.pl/gabrielw/wslda/-/tree/public/lib-wdata/example-write.c)).
|
|
|
* [example-write.c](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/tree/public/lib/wdata/c-examples/example-write.c): code creates artificial set of variables and writes them do wdat files.
|
|
|
* [example-read.c](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/tree/public/lib/wdata/c-examples/example-read.c): code reads data from wdat files (created by [example-write.c](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/tree/public/lib/wdata/example-write.c)).
|
|
|
* [example-addvar.c](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/tree/public/lib/wdata/c-examples/example-addvar.c): code adds new variable to existing data set (created by [example-write.c](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/tree/public/lib/wdata/example-write.c)).
|
|
|
|
|
|
In order to compile examples (optionally you will need to modify Makefile):
|
|
|
```bash
|
|
|
[gabrielw@dell cold-atoms]$ cd lib-wdata/
|
|
|
[gabrielw@dell lib-wdata]$ make
|
|
|
[wtools@dell cold-atoms]$ cd lib/wdata/
|
|
|
[wtools@dell lib/wdata]$ make
|
|
|
```
|
|
|
|
|
|
# W-data python library
|
... | ... | |