Skip to content

neuromorphic-paris/cpphots

Repository files navigation

cpphots

Build Status Documentation Status

An implementation of HOTS.

Install

The library depends on Eigen and Sepia (which is included automatically). cpphots can be built with cmake using the normal pipeline of commands:

cmake -S . -B build
cmake --build build
cmake --build build --target install

Main configuration options:

Option default description dependencies
DOUBLE_PRECISION OFF use double precision for time surfaces
WITH_PEREGRINE OFF include GMM clustering from Peregrine blaze, TBB
BUILD_PLOTS ON build plotting utilities Python 3 (requirements.txt)
BUILD_EXAMPLES OFF build examples executables
BUILD_TEST OFF build test suite
BUILD_DOCS ON configure for building documentation doxygen
WITH_SPHINX OFF build documentation with sphynx Python 3 (docs/requirements.txt)

Usage

After installation, cpphots can be included in a cmake-based project as follows:

find_package(cpphots REQUIRED)

target_include_directories(<target> PRIVATE ${CPPHOTS_INCLUDE_DIRS})

target_link_libraries(<target> ${CPPHOTS_LIBRARIES})

Documentation

An online version of the documentation can be found here. Offline documentation con be built with doxygen (and optionally with sphinx) as follows: after configuring with cmake, run cmake --build build --target docs.