1
0
Fork 0
mirror of https://github.com/adswa/multimatch_gaze.git synced 2026-06-22 20:13:40 +00:00
multimatch_gaze/docs/source/reimplementation.rst
2019-08-12 08:43:09 +02:00

100 lines
2.5 KiB
ReStructuredText

***************
multimatch-gaze
***************
**multimatch-gaze** is a Python-based reimplementation of the MultiMatch algorithm
(Jarodzka, Holmqvist & Nyström, 2010).
The original Matlab toolbox was kindly provided via email by Dr. Richard Dewhurst
and the method was ported into Python with the intent of providing an open source
alternative to the Matlab toolbox.
The module provides the possibility to compute the similarity of two scan paths
with a terminal command or within a Python instance (see section API_).
.. _API: https://multimatch.readthedocs.io/en/latest/api.html
===============
Getting started
===============
Installation
************
It is recommended to use a dedicated virtualenv_.
.. _virtualenv: https://virtualenv.pypa.io
.. code::
# create and enter a new virtual environment (optional)
virtualenv --python=python3 ~/env/multimatch
. ~/env/multimatch/bin/activate
Via pip install
---------------
multimatch-gaze can be installed via pip_ (**P**\ip **I**\nstalls **P**\ython). To
automatically install multimatch-gaze with all dependencies (pandas_, numpy_, argparse_)
type:
pip install multimatch-gaze
.. _pip: https://pip.pypa.io
.. _pandas: https://pandas.pydata.org/
.. _numpy: https://www.numpy.org/
.. _argparse: https://docs.python.org/3/library/argparse.html
Via Github
----------
The source code for multimatch-gaze can be found on Github_.
.. _Github: https://github.com/adswa/multimatch_gaze
A short tutorial...
-------------------
... session to get a first hang on how to use multimatch-gaze can be
conducted by cloning the Github repository and executing the
examples provided in the API_
section. The data used in these examples corresponds to the
data found in the repository.
.. _API: https://multimatch.readthedocs.io/en/latest/api.html
=======
Support
=======
All bugs, concerns and enhancement requests for this software can be submitted
here_.
All contributions, be it in the form of an issue or a pull-request,
are always welcome.
If you wish to test the functionality of multimatch-gaze locally, for example
prior to a pull-request, install pytest_ and run the following command from the
root of the repository:
.. code::
python -m pytest
.. _here: https://github.com/adswa/multimatch_gaze/issues/new
.. _pytest: https://docs.pytest.org/en/latest/
``python -m pytest -s -v``
================
Acknowledgements
================
We thank Dr. Richard Dewhurst for kindly and swiftly providing the original
Matlab code for the MultiMatch toolbox via e-mail and being supportive of an
open source implementation.