{ "info": { "author": "Tomas Knapen", "author_email": "tknapen@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved", "Operating System :: MacOS", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Topic :: Scientific/Engineering", "Topic :: Software Development" ], "description": "# hedfpy\nhedfpy is a tool to convert SR Research eyelink eye position and pupil size data to hdf5 format. hedfpy can also preprocess the data to the starting point of most standard pupil size analyses, for example those performed using [FIRDeconvolution](https://github.com/tknapen/FIRDeconvolution \"FIRDeconvolution\"). \nThese are:\n- Blink detection (over and above the eyelink's own blink detection mechanisms)\n- Blink interpolation (linear/spline)\n- (Micro)Saccade detection (possibly over and above the eyelink's own blink detection mechanisms, using Engbert and Mergenthaler, PNAS 2006 algorithm)\n- Band-pass filtering of pupil size signals using Butterworth filters. \n- Cleaning up the pupil size signal based on a nuisance GLM which estimates the effects of blinks, (micro)saccades, and gaze position (foreshortening of the pupil). \n\n## MSG format\nfor full parsing of the edf file data, hedfpy assumes a specific trial-based experimental format that is communicated to the eye tracker. Specifically, it looks for explicitly formatted messages by means of regular expressions. These messages detail the start and end of trial phases, trials, button press events, sound events and the stimulus parameters for a given trial which are all stored in tabular format in the HDF5 file. The parsing of these messages can be turned off for basic functionality.\n\n## Dependencies\nnumpy, scipy, matplotlib, statsmodels, sklearn, tables, lmfit\n\nFurther install requirements: hdf5 libraries, edf2asc command-line utility from [SR Research](http://www.sr-research.com \"SR Research\")\n\nTODO\n1. For now, the `edf_message_data_to_hdf` method of `HDFEyeOperator` and `EDFOperator` searches for both eyelink-generated and experiment-generated `MSG` strings in the edf file's output. The eyelink generated messages are standard, but the experiment-generated ones are not. At the moment, the methods that tease these messages apart dissect the EDF's output into trial timings, trial phase timings, trial parameters, button press and sound occurrences based on regular expressions that are hard-coded in the `EDFOperator`. This needs to be parceled out of the code so that this becomes more generally user-friendly. \n2. hedfpy now processes an edf file according to a fixed set of preprocessing steps (see the code in `HDFEyeOperator`'s `edf_gaze_data_to_hdf`). These need to be made elective at some point. \n\n\n\n\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/tknapen/hedfpy", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://tknapen.github.io/hedfpy", "keywords": "", "license": "The MIT License (MIT)", "maintainer": "", "maintainer_email": "", "name": "hedfpy", "package_url": "https://pypi.org/project/hedfpy/", "platform": "any", "project_url": "https://pypi.org/project/hedfpy/", "project_urls": { "Download": "https://github.com/tknapen/hedfpy", "Homepage": "http://tknapen.github.io/hedfpy" }, "release_url": "https://pypi.org/project/hedfpy/0.0.dev3/", "requires_dist": null, "requires_python": "", "summary": "convert SR Research eyelink edf output to tabular hdf5 format.", "version": "0.0.dev3" }, "last_serial": 3257701, "releases": { "0.0.dev1": [ { "comment_text": "", "digests": { "md5": "027cfc22c57c72ff9c66964fdba48062", "sha256": "05d6d9acbad6fba20d38436fa30880ae3b704ce5d68bd9b5b7ad1931e1816646" }, "downloads": -1, "filename": "hedfpy-0.0.dev1.tar.gz", "has_sig": false, "md5_digest": "027cfc22c57c72ff9c66964fdba48062", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5973165, "upload_time": "2016-06-15T07:53:09", "url": "https://files.pythonhosted.org/packages/b6/91/4e89dad945d258bceeaa6768be2e35dc212ad0af3f2bbbb6bd3902e5606c/hedfpy-0.0.dev1.tar.gz" }, { "comment_text": "", "digests": { "md5": "f32b698ea6d93fd73de0fc99c133d8b9", "sha256": "2eb7af7de7837c1c7c996a5be28bce08e1cd127e577f78a550174c0ed80b1257" }, "downloads": -1, "filename": "hedfpy-0.0.dev1.zip", "has_sig": false, "md5_digest": "f32b698ea6d93fd73de0fc99c133d8b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6068314, "upload_time": "2016-06-15T07:53:51", "url": "https://files.pythonhosted.org/packages/e4/35/bfb145152d5338fb572b5ee04ee6da4992ba13cba56fffc12362564842ac/hedfpy-0.0.dev1.zip" } ], "0.0.dev2": [ { "comment_text": "", "digests": { "md5": "b79a2a0b2fddcb1c3cf4dbb6bdb1a0c8", "sha256": "a4d6936dc9cde363ca301c98e4fae77603408bc90e17165ab9cceffc62bb8e77" }, "downloads": -1, "filename": "hedfpy-0.0.dev2.tar.gz", "has_sig": false, "md5_digest": "b79a2a0b2fddcb1c3cf4dbb6bdb1a0c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5973184, "upload_time": "2016-06-16T11:32:52", "url": "https://files.pythonhosted.org/packages/60/ae/21bd5b716352953d13f8439ff881bed33353f2e84ada947b8ac8e80b3835/hedfpy-0.0.dev2.tar.gz" }, { "comment_text": "", "digests": { "md5": "dbe069f9b499841c96c303e35cc4c2ad", "sha256": "b68cd7be298012d3588960f3c0100a79cb59a0d75601db4060ea067d4168b2bb" }, "downloads": -1, "filename": "hedfpy-0.0.dev2.zip", "has_sig": false, "md5_digest": "dbe069f9b499841c96c303e35cc4c2ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6068327, "upload_time": "2016-06-16T11:32:58", "url": "https://files.pythonhosted.org/packages/d1/89/d08adad9e6c2eee73e11b1be69bade7ae3140032b30d483d56866124469d/hedfpy-0.0.dev2.zip" } ], "0.0.dev3": [ { "comment_text": "", "digests": { "md5": "cf46867fd3d48ca052fab392e71c1c9c", "sha256": "ee3b0c18319b36c6a1e2bb2882293cd8cca8d73fd626d22aa465fe89dd4b8e19" }, "downloads": -1, "filename": "hedfpy-0.0.dev3.tar.gz", "has_sig": false, "md5_digest": "cf46867fd3d48ca052fab392e71c1c9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3841060, "upload_time": "2017-10-17T19:13:26", "url": "https://files.pythonhosted.org/packages/11/03/238b663a167c75221335b0036ac38fc0a812adcda4b36eae91475cce076e/hedfpy-0.0.dev3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cf46867fd3d48ca052fab392e71c1c9c", "sha256": "ee3b0c18319b36c6a1e2bb2882293cd8cca8d73fd626d22aa465fe89dd4b8e19" }, "downloads": -1, "filename": "hedfpy-0.0.dev3.tar.gz", "has_sig": false, "md5_digest": "cf46867fd3d48ca052fab392e71c1c9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3841060, "upload_time": "2017-10-17T19:13:26", "url": "https://files.pythonhosted.org/packages/11/03/238b663a167c75221335b0036ac38fc0a812adcda4b36eae91475cce076e/hedfpy-0.0.dev3.tar.gz" } ] }