{ "info": { "author": "Akseli Palen", "author_email": "akseli.palen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Human Machine Interfaces", "Topic :: Scientific/Engineering :: Image Recognition", "Topic :: Scientific/Engineering :: Mathematics" ], "description": "================\nfixationmodel-py\n================\n\nA least-squares offline method to test if tracked gaze points resemble a fixation.\n\n\n1. Install\n==========\n\nWith `pip\n`_::\n\n $ pip install fixationmodel\n\n\n\n2. Usage\n========\n\nA data structure we call **pointlist** is used for point sequences. It is a list of points, where each point is a list [x, y].\n\nThe usage is simple::\n\n >>> import fixationmodel\n >>> rawdata = [\n [130.012, 404.231],\n [129.234, 403.478],\n [None, None],\n [133.983, 450.044],\n ...\n ]\n >>> results = fixationmodel.fit(rawdata)\n >>> print(results)\n {\n 'centroid': [344.682, 200.115],\n 'mean_squared_error': 0.000166802\n }\n\n\n\n3. API\n======\n\n3.1. fixationmodel.fit(gazepointlist)\n-------------------------------------\n\nParameter:\n\n- gazepointlist: a list of [x, y] points i.e. a list of lists.\n\nReturn dict with following keys:\n\n- centroid: a list [x, y], the most probable target of the fixation\n- mean_squared_error: the average squared error for a point.\n\n\n3.2. fixationmodel.version\n--------------------------\n\nGives the current version string::\n\n >>> fixationmodel.version\n '1.2.3'\n\n\n\n4. For developers\n=================\n\n4.1. Virtualenv\n---------------\n\nUse virtualenv::\n\n $ virtualenv -p python3.5 fixationmodel-py\n $ cd fixationmodel-py\n $ source bin/activate\n ...\n $ deactivate\n\n\n4.2. Testing\n------------\n\nFollow `instructions to install pyenv\n`_ and then either run quick tests::\n\n $ python3.5 setup.py test\n\nor comprehensive tests for multiple Python versions in ``tox.ini``::\n\n $ pyenv local 2.6.9 2.7.10 3.2.6 3.3.6 3.4.3 3.5.0\n $ eval \"$(pyenv init -)\"\n $ pyenv rehash\n $ tox\n\n\n\n4.3. Publishing to PyPI\n-----------------------\n\nFollow `python packaging instructions\n`_:\n\n1. Create an unpacked sdist: ``$ python setup.py sdist``\n2. Create a universal wheel: ``$ python setup.py bdist_wheel --universal``\n3. Go to `PyPI and register the project by filling the package form\n `_ by uploading\n ``fixationmodel.egg-info/PKG_INFO`` file.\n4. Upload the package with twine:\n\n 1. Sign the dist: ``$ gpg --detach-sign -a dist/fixa...0.1.2*``\n 2. Upload: ``twine upload dist/fixa...0.1.2*`` (will ask your PyPI password)\n\n5. Package published!\n\nUpdating the package takes same steps except the 3rd.\n\n\n5. Versioning\n=============\n\n`Semantic Versioning 2.0.0\n`_\n\n\n\n6. License\n==========\n\n`MIT License\n`_", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/infant-cognition-tampere/fixationmodel-py", "keywords": "fixation estimation eye-tracking", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "fixationmodel", "package_url": "https://pypi.org/project/fixationmodel/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fixationmodel/", "project_urls": { "Homepage": "https://github.com/infant-cognition-tampere/fixationmodel-py" }, "release_url": "https://pypi.org/project/fixationmodel/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "A least-squares offline method to test if tracked gaze points resemble a fixation", "version": "0.1.3" }, "last_serial": 1853759, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e328173a0206b3b6e45e1acc3613e57f", "sha256": "03bb3d7ea2d6539bf746adcb0121fa8ad8916d3a7ac735b8ebec38a637e19286" }, "downloads": -1, "filename": "fixationmodel-0.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "e328173a0206b3b6e45e1acc3613e57f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4692, "upload_time": "2015-12-09T10:24:21", "url": "https://files.pythonhosted.org/packages/1d/cb/c0319ba80588484020434651ed41179695584a5525d2c58f23f003c67960/fixationmodel-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2517b209796c8cdb2e2909e9268e71dd", "sha256": "077858d5462e0fac83514864eb0b2bbcf8e867fc2a9db9a6b2353672fe79a014" }, "downloads": -1, "filename": "fixationmodel-0.1.0.tar.gz", "has_sig": true, "md5_digest": "2517b209796c8cdb2e2909e9268e71dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3933, "upload_time": "2015-12-09T10:24:28", "url": "https://files.pythonhosted.org/packages/0c/e9/28b97fc73fa875a2a65f59c1bc181288bd592e2a73f69e95926804225422/fixationmodel-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "58e619b133fe8e43744a0e42d5327c6f", "sha256": "df7e664d8a826da95b1c7903920b2101cce69cef31eedbf4c5282599fcf1f245" }, "downloads": -1, "filename": "fixationmodel-0.1.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "58e619b133fe8e43744a0e42d5327c6f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5375, "upload_time": "2015-12-09T11:56:00", "url": "https://files.pythonhosted.org/packages/63/38/a7e67a9beda2ef959910a9a4ada0ca36d966d6d628b41ca6f1b12d7461e5/fixationmodel-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "23028391e1c86f8c8def48679a8b8e3e", "sha256": "49121b127fc0320a3c2cb6d72fcc263b4d2f1f3c8a6f630dbb1a340cf90a0f5c" }, "downloads": -1, "filename": "fixationmodel-0.1.1.tar.gz", "has_sig": true, "md5_digest": "23028391e1c86f8c8def48679a8b8e3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4272, "upload_time": "2015-12-09T11:56:07", "url": "https://files.pythonhosted.org/packages/67/d0/f4e7827e88380a362d5e351765115d3704f7d3a3af68b5fe1fe08b2a9321/fixationmodel-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "aca06f23ef8ce8a425ec9e8cf20893f5", "sha256": "00e63df0a7781468775f80b84c6e562bd739419326ed52cd824105b96653046d" }, "downloads": -1, "filename": "fixationmodel-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aca06f23ef8ce8a425ec9e8cf20893f5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5515, "upload_time": "2015-12-09T12:18:53", "url": "https://files.pythonhosted.org/packages/16/73/4ee0ed7d3ded38d9008c5b9fb9489d23973ce6487f72a6b1cea31e9a50ac/fixationmodel-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c32811559baaf2d6f9f2841ca7a429d9", "sha256": "2243201c7a2c0eba9a750052f9650cc7cd7f6964c0d16afcb0a65b170a301feb" }, "downloads": -1, "filename": "fixationmodel-0.1.2.tar.gz", "has_sig": true, "md5_digest": "c32811559baaf2d6f9f2841ca7a429d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4358, "upload_time": "2015-12-09T12:19:00", "url": "https://files.pythonhosted.org/packages/6c/35/ac3ef005b7f9d89cee137a5e22bb0ef800ea6f65453b4f9c978947429084/fixationmodel-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "e9bf566ff452a2ef3554c66e8fce1334", "sha256": "8d8b1fc86c2c14271229ef1777cd48885c03e4057326fb3ad261a62fe1902971" }, "downloads": -1, "filename": "fixationmodel-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e9bf566ff452a2ef3554c66e8fce1334", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5538, "upload_time": "2015-12-09T12:39:20", "url": "https://files.pythonhosted.org/packages/84/39/2507a65d8ed5f26d3757b73d43fd45535abec8b09ab031e78e33cf608c31/fixationmodel-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "390b6ef166fafa5e1a595898abe52a03", "sha256": "37ef50093d306a43c222d8a17d0ff04a0d0e7de2e503185de80fb57e750b4ea3" }, "downloads": -1, "filename": "fixationmodel-0.1.3.tar.gz", "has_sig": true, "md5_digest": "390b6ef166fafa5e1a595898abe52a03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4384, "upload_time": "2015-12-09T12:39:29", "url": "https://files.pythonhosted.org/packages/f4/c4/81d34e30f3a69f2612749d021590318cf3b487fc8626aa59f8ef74df3b27/fixationmodel-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e9bf566ff452a2ef3554c66e8fce1334", "sha256": "8d8b1fc86c2c14271229ef1777cd48885c03e4057326fb3ad261a62fe1902971" }, "downloads": -1, "filename": "fixationmodel-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e9bf566ff452a2ef3554c66e8fce1334", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5538, "upload_time": "2015-12-09T12:39:20", "url": "https://files.pythonhosted.org/packages/84/39/2507a65d8ed5f26d3757b73d43fd45535abec8b09ab031e78e33cf608c31/fixationmodel-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "390b6ef166fafa5e1a595898abe52a03", "sha256": "37ef50093d306a43c222d8a17d0ff04a0d0e7de2e503185de80fb57e750b4ea3" }, "downloads": -1, "filename": "fixationmodel-0.1.3.tar.gz", "has_sig": true, "md5_digest": "390b6ef166fafa5e1a595898abe52a03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4384, "upload_time": "2015-12-09T12:39:29", "url": "https://files.pythonhosted.org/packages/f4/c4/81d34e30f3a69f2612749d021590318cf3b487fc8626aa59f8ef74df3b27/fixationmodel-0.1.3.tar.gz" } ] }