Header-only adaptive psychophysical procedures.
Autogenerated docs: https://aforren1.github.io/psydapt/index.html
Bindings:
- Python: https://github.com/aforren1/psydapt-py
- Javascript: https://github.com/aforren1/psydapt-js
Notes to self for building:
cmake -S . -B build -DPSYDAPT_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel 4 (--config Release)
Run tests with ctest -V -C <Debug/Release>
from the build directory.
For gprof:
cmake -DCMAKE_CXX_FLAGS=-pg -DCMAKE_EXE_LINKER_FLAGS=-pg -DCMAKE_SHARED_LINKER_FLAGS=-pg -S . -B build -DPSYDAPT_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release
callgrind:
valgrind --tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes ./<exe>