- C++ 97.2%
- CMake 2.8%
| doc | ||
| eisdrt | ||
| LBFG | ||
| pkgconfig | ||
| cli.cpp | ||
| CMakeLists.txt | ||
| drt.cpp | ||
| eigentorchconversions.h | ||
| eistoeigen.h | ||
| eistotorch.cpp | ||
| eistotorch.h | ||
| lgpl-3.0.txt | ||
| main.cpp | ||
| README.md | ||
| tensoroptions.h | ||
| testtorchdrt.cpp | ||
| torchdrt.cpp | ||
libeisdrt
libeisdrt is a c++ shared library to compute Distribution of Relaxation Times using Tikhonov regularization. libeisdrt is well integrated to eisgenerator, Eigen and PyTorch.
Full documentaton can be found here or by building the doc target
Building
the main devolpment platform of libeisdrt is linux, and libeisdrt works best on UNIX-like systems, however libeisdrt is fully portable and should compile on any platform that supports the requriements below
Requirments
- git is requried to get the source
- a C++20 compliant compiler like gcc
- cmake version 3.19 or later
- libtorch is optional, but is required for libtorch Tensor support
- eisgenerator is optional, but is required for eisgenerator DataPoint support
- PkgConfig is optional, but is required for eisgenerator support
- eigen version 4.0 or later
Procedure
$ git clone https://git-ce.rwth-aachen.de/carl_philipp.klemm/libdrt
$ mkdir libdrt/build
$ cd libdrt/build
$ cmake ..
$ make
$ make install
$ make doc
Linking
it is best to link to this library with the help of pkg-config as this provides platform a agnostic to query for paths and flags. Almost certenly, pkg-config is already integrated into your buildsystem.
Licence
libeisdrt is licenced to you under the LGPL version 3 , or (at your option) any later version. see lgpl-3.0.txt or LGPL for details