Newer
Older
pip install [--user] git+https://gitlab.esrf.fr/tomotools/nabu.git
```
The above command should automatically install the following nabu Python dependencies:
- numpy, distributed, pytest
- For computations acceleration: pycuda, pyopencl
- silx ([http://www.silx.org/](http://www.silx.org/))
- tomoscan ([https://gitlab.esrf.fr/tomotools/tomoscan](https://gitlab.esrf.fr/tomotools/tomoscan))
Please note that Nabu supports Python >= 3.5.
## Usage
Nabu can be used in several ways:
- As a Python library, by features like `Backprojector`, `FlatField`, etc
- As a standalone application with the command line interface
- From Tomwer ([https://gitlab.esrf.fr/tomotools/tomwer/](https://gitlab.esrf.fr/tomotools/tomwer/))
```bash
nabu-config --bootstrap
```
Edit the generated configuration file (`nabu.conf`). Then:
```bash
nabu nabu.conf --slice 500-600
```
will reconstruct the slices 500 to 600, with processing steps depending on `nabu.conf` contents.
The documentation can be found on the silx.org page ([http://www.silx.org/pub/nabu/doc](http://www.silx.org/pub/nabu/doc)).
The latest documentation built by continuous integration can be found here: [https://tomotools.gitlab-pages.esrf.fr/nabu/](https://tomotools.gitlab-pages.esrf.fr/nabu/)
will execute all the tests. You can also specify specific module(s) to test, for example:
```bash
nabu-test preproc misc
```
You can also provide more `pytest` options, for example increase verbosity with `-v`, exit at the first fail with `-x`, etc. Use `nabu-test --help` for displaying the complete options list.
Nabu was the Mesopotamian god of literacy, rational arts, scribes and wisdom.