# psychopykit
PsychoPy output conversion utilities
Current version : 2022.8.5
## Installation
1. Clone the Git repo
```
git clone https://github.com/adolphslab/psychopykit.git
```
2. Install the package into your active python environment
```
cd psychopykit
pip install .
```
## Usage
```
$ et2bids -i Examples/Test.hdf5
-------------------------------------------
PsychoPy HDF5 Eyetracking to BIDS Converter
-------------------------------------------
Loading eyetracking data from /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test.hdf5
Eyetracking dataset within HDF5: /data_collection/events/eyetracker/MonocularEyeSampleEvent
Number of events : 513753
Loading monocular eyetracking dataset
Progress 0 / 513753
Progress 102751 / 513753
Progress 154126 / 513753
Progress 256877 / 513753
Progress 308252 / 513753
Progress 462378 / 513753
Complete
Converting to dataframe
Loading PsychoPy log file /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test.log
Median samp interval : 2.000 ms
Sampling frequency : 500.014 Hz
Saving BIDS eyetracking data /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test_recording-eyetracking_physio.tsv
Saving PsychoPy log /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test_recording-eyetracking_physio.log
Saving JSON sidecar /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test_recording-eyetracking_physio.json
Done
```
Raw data
{
"_id": null,
"home_page": "https://github.com/adolphslab/psychopykit",
"name": "psychopykit",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8, <4",
"maintainer_email": "",
"keywords": "neuroimaging MRI fMRI DICOM BIDS",
"author": "Mike Tyszka",
"author_email": "jmt@caltech.edu",
"download_url": "https://files.pythonhosted.org/packages/90/76/7cbe515919a11edd644a40d3beda25621bef067262b92ae05e1c58c5898f/psychopykit-2023.8.16.1.tar.gz",
"platform": null,
"description": "# psychopykit\nPsychoPy output conversion utilities \n\nCurrent version : 2022.8.5 \n\n## Installation\n\n1. Clone the Git repo \n```\ngit clone https://github.com/adolphslab/psychopykit.git\n```\n\n2. Install the package into your active python environment \n```\ncd psychopykit\npip install .\n```\n\n## Usage\n```\n$ et2bids -i Examples/Test.hdf5\n\n-------------------------------------------\nPsychoPy HDF5 Eyetracking to BIDS Converter\n-------------------------------------------\n\nLoading eyetracking data from /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test.hdf5\nEyetracking dataset within HDF5: /data_collection/events/eyetracker/MonocularEyeSampleEvent\nNumber of events : 513753\n\nLoading monocular eyetracking dataset\nProgress 0 / 513753\nProgress 102751 / 513753\nProgress 154126 / 513753\nProgress 256877 / 513753\nProgress 308252 / 513753\nProgress 462378 / 513753\nComplete\n\nConverting to dataframe\nLoading PsychoPy log file /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test.log\n\nMedian samp interval : 2.000 ms\nSampling frequency : 500.014 Hz\n\nSaving BIDS eyetracking data /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test_recording-eyetracking_physio.tsv\nSaving PsychoPy log /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test_recording-eyetracking_physio.log\nSaving JSON sidecar /Users/jmt/GitHub/psychopykit/psychopykit/Examples/Test_recording-eyetracking_physio.json\n\nDone\n```\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Psychopy output conversion utilities",
"version": "2023.8.16.1",
"project_urls": {
"Bug Reports": "https://github.com/adolphslab/psychopykit/issues",
"Funding": "http://conte.caltech.edu/",
"Homepage": "https://github.com/adolphslab/psychopykit",
"Source": "https://github.com/adolphslab/psychopykit/"
},
"split_keywords": [
"neuroimaging",
"mri",
"fmri",
"dicom",
"bids"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8f68fd12b71daf62a66764e76510c3fddff612e7d4631064cfd302e2e740bdc3",
"md5": "9f2b4c2396b41c4894ee2e1007086f07",
"sha256": "d9b73cdf80ac03193cc9749a0ae99cb29f04a364db75be91c72039e3da222083"
},
"downloads": -1,
"filename": "psychopykit-2023.8.16.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9f2b4c2396b41c4894ee2e1007086f07",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8, <4",
"size": 9487,
"upload_time": "2023-08-16T21:54:42",
"upload_time_iso_8601": "2023-08-16T21:54:42.624778Z",
"url": "https://files.pythonhosted.org/packages/8f/68/fd12b71daf62a66764e76510c3fddff612e7d4631064cfd302e2e740bdc3/psychopykit-2023.8.16.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "90767cbe515919a11edd644a40d3beda25621bef067262b92ae05e1c58c5898f",
"md5": "8eafd1ec2224b2ddf5bb172f12dcdc10",
"sha256": "c12f0f0b82bcccf9ddea6385f37dd78b23dc7592bf11511f7c8202105bebb7b1"
},
"downloads": -1,
"filename": "psychopykit-2023.8.16.1.tar.gz",
"has_sig": false,
"md5_digest": "8eafd1ec2224b2ddf5bb172f12dcdc10",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8, <4",
"size": 8933,
"upload_time": "2023-08-16T21:54:43",
"upload_time_iso_8601": "2023-08-16T21:54:43.781956Z",
"url": "https://files.pythonhosted.org/packages/90/76/7cbe515919a11edd644a40d3beda25621bef067262b92ae05e1c58c5898f/psychopykit-2023.8.16.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-16 21:54:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "adolphslab",
"github_project": "psychopykit",
"github_not_found": true,
"lcname": "psychopykit"
}