First install PATKIT to run from the commandline.
patkit.patkit --help for instructions.patkit
recorded_data/minimalapt-get update
apt-get upgrade
sudo apt-get install -y libxcb-cursor-dev
Try this in case trying to run patkit complains about a missing xcb plugin.
TODO 0.28: update this
Get the test data.
There are three small datasets included in the distribution until they move to an external repository. After that there will be functionality in PATKIT to download the datasets on request.
You can run tests on them with the test script pd_test.py. Currently, the
following work and produce a new spaghetti_plot.pdf and a transcript in
[method_name].log.
patkit recorded_data/tongue_data_1_1
The first example directory contains recordings with all files present while the second is intentionally missing some files. The latter case should therefore produce warnings in the resulting log. Running without the exclusion list specified should produce a plot with a couple more curves in it.
The routines to deal with a directory structure like that of test2
are yet to be implemented.
Proper testing is yet to be implemented.