id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5,600 | __init__.py | psychopy_psychopy/psychopy/experiment/components/parallelOut/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment.components import BaseComponent, Param, ... | 7,841 | Python | .py | 150 | 39.293333 | 108 | 0.566227 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,601 | __init__.py | psychopy_psychopy/psychopy/experiment/components/joyButtons/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment.components import BaseComponent, Param,... | 20,163 | Python | .py | 386 | 39.209845 | 103 | 0.568189 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,602 | virtualJoyButtons.py | psychopy_psychopy/psychopy/experiment/components/joyButtons/virtualJoyButtons.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
# Support for fake joystick/gamepad during development
# if no 'real' joystick/gamepad is ... | 1,288 | Python | .py | 27 | 41.851852 | 109 | 0.680223 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,603 | __init__.py | psychopy_psychopy/psychopy/experiment/components/brush/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment.components import BaseVisualComponent, P... | 6,848 | Python | .py | 144 | 36.006944 | 102 | 0.554841 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,604 | __init__.py | psychopy_psychopy/psychopy/experiment/components/slider/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2015 Jonathan Peirce
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment.components import BaseVisualComponent, Param, \
getInitVals, _translate
from ps... | 18,514 | Python | .py | 368 | 37.108696 | 134 | 0.54905 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,605 | __init__.py | psychopy_psychopy/psychopy/experiment/components/serialOut/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from copy import copy
from pathlib import Path
from psychopy.tools import stringtools as st... | 8,236 | Python | .py | 187 | 32.470588 | 118 | 0.55622 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,606 | __init__.py | psychopy_psychopy/psychopy/experiment/components/image/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment.components import BaseVisualComponent, P... | 8,395 | Python | .py | 173 | 35.630058 | 111 | 0.541707 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,607 | __init__.py | psychopy_psychopy/psychopy/experiment/components/settings/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from copy import deepcopy
from pathlib import Path
from xml.etree.ElementTree import Element
import re
from psychopy import logging, plugins
from psychopy.experiment.components import Param, _translate
from psychopy.experiment.components.settings.eyetracking impo... | 96,405 | Python | .py | 2,079 | 33.082251 | 155 | 0.535076 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,608 | eyetracking.py | psychopy_psychopy/psychopy/experiment/components/settings/eyetracking.py | from psychopy.localization import _translate
from psychopy.experiment import Param
knownEyetrackerBackends = {}
class EyetrackerBackend:
# label to display in Builder
label = None
# key to index this backend by
key = None
# information about this backend's needs (for raising alerts and etc.)
... | 3,325 | Python | .py | 91 | 27.252747 | 100 | 0.585862 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,609 | __init__.py | psychopy_psychopy/psychopy/experiment/components/code/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy import prefs
from psychopy.experiment.components im... | 15,441 | Python | .py | 262 | 46.874046 | 102 | 0.617356 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,610 | __init__.py | psychopy_psychopy/psychopy/experiment/components/form/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment.components import Param, getInitVals, _t... | 9,443 | Python | .py | 194 | 36.360825 | 123 | 0.564236 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,611 | __init__.py | psychopy_psychopy/psychopy/experiment/components/joystick/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment.components import BaseComponent, Param, ... | 26,414 | Python | .py | 486 | 40.5 | 127 | 0.562611 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,612 | virtualJoystick.py | psychopy_psychopy/psychopy/experiment/components/joystick/virtualJoystick.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
# Support for fake joystick/gamepad during development
# if no 'real' joystick/gamepad is ... | 1,359 | Python | .py | 31 | 37.774194 | 109 | 0.659591 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,613 | __init__.py | psychopy_psychopy/psychopy/experiment/components/panorama/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from pathlib import Path
from psychopy.experiment.components import Param, _translate, getInitVals, BaseVisualComponent
class PanoramaComponent(BaseVisualComponent):
"""This is used by Builder to represent a component that was not known
by the current installed v... | 20,347 | Python | .py | 427 | 33.470726 | 135 | 0.501938 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,614 | __init__.py | psychopy_psychopy/psychopy/experiment/components/keyboard/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment.components import BaseDeviceComponent, ... | 26,961 | Python | .py | 531 | 36.951036 | 121 | 0.532974 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,615 | __init__.py | psychopy_psychopy/psychopy/experiment/components/camera/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import copy
import functools
from pathlib import Path
from psychopy.alerts import alert
from psychopy import logging
from psychopy.experiment.components import (
BaseComponent, BaseDeviceComponent, Param, _translate, getInitVals
)
from psychopy.sound.audiodevice import ... | 23,557 | Python | .py | 550 | 30.901818 | 393 | 0.556597 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,616 | __init__.py | psychopy_psychopy/psychopy/experiment/components/polygon/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment.components import BaseVisualComponent, ... | 15,649 | Python | .py | 296 | 37.655405 | 126 | 0.4919 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,617 | __init__.py | psychopy_psychopy/psychopy/experiment/components/microphone/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
# Author: Jeremy R. Gray, 2012
from pathlib import Path
from psychopy import logging
from... | 28,597 | Python | .py | 649 | 32.812018 | 149 | 0.574677 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,618 | __init__.py | psychopy_psychopy/psychopy/experiment/components/resourceManager/__init__.py | from pathlib import Path
from psychopy.alerts import alert
from .._base import BaseComponent
from psychopy.localization import _translate
from ... import getInitVals
from ...params import Param
class ResourceManagerComponent(BaseComponent):
categories = ['Custom']
targets = ['PsychoJS']
iconFile = Path(_... | 7,621 | Python | .py | 161 | 34.391304 | 135 | 0.562794 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,619 | __init__.py | psychopy_psychopy/psychopy/experiment/components/text/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.alerts import alerttools
from psychopy.experiment.c... | 8,750 | Python | .py | 175 | 36.268571 | 114 | 0.537634 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,620 | __init__.py | psychopy_psychopy/psychopy/experiment/components/aperture/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
from psychopy.experiment import Param
from psychopy.experiment.c... | 6,214 | Python | .py | 130 | 37.061538 | 101 | 0.600726 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,621 | __init__.py | psychopy_psychopy/psychopy/experiment/components/eyetracker_record/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from __future__ import absolute_import, print_function
from builtins import super # provi... | 8,278 | Python | .py | 170 | 37.011765 | 103 | 0.580861 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,622 | __init__.py | psychopy_psychopy/psychopy/experiment/components/variable/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Part of the PsychoPy library
Copyright (C) 2015 Jonathan Peirce
Distributed under the terms of the GNU General Public License (GPL).
"""
from pathlib import Path
from psychopy.experiment.components import BaseComponent, Param, _translate
import numpy as np
class Var... | 9,829 | Python | .py | 169 | 45.798817 | 123 | 0.576257 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,623 | __init__.py | psychopy_psychopy/psychopy/experiment/components/static/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Part of the PsychoPy library
Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
Distributed under the terms of the GNU General Public License (GPL).
"""
from pathlib import Path
from psychopy.experiment.components import BaseComponent, Param... | 13,263 | Python | .py | 277 | 33.938628 | 145 | 0.548136 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,624 | __init__.py | psychopy_psychopy/psychopy/experiment/components/button/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from os import path
from pathlib import Path
from psychopy.alerts import alerttools
from ... | 21,714 | Python | .py | 469 | 32.829424 | 124 | 0.536997 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,625 | __init__.py | psychopy_psychopy/psychopy/experiment/components/sound/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Part of the PsychoPy library
Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
Distributed under the terms of the GNU General Public License (GPL).
"""
from pathlib import Path
from psychopy.experiment.components import BaseDeviceComponent,... | 15,307 | Python | .py | 344 | 32.241279 | 109 | 0.552334 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,626 | __init__.py | psychopy_psychopy/psychopy/experiment/components/movie/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from pathlib import Path
import copy
from psychopy.experiment.components import BaseVisua... | 15,891 | Python | .py | 325 | 35.756923 | 101 | 0.54259 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,627 | __init__.py | psychopy_psychopy/psychopy/experiment/components/buttonBox/__init__.py | from pathlib import Path
from psychopy.experiment.components import BaseComponent, BaseDeviceComponent, Param, getInitVals
from psychopy.experiment.plugins import PluginDevicesMixin, DeviceBackend
from psychopy.localization import _translate
class ButtonBoxComponent(BaseDeviceComponent, PluginDevicesMixin):
"""
... | 12,382 | Python | .py | 301 | 28.903654 | 106 | 0.531956 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,628 | __init__.py | psychopy_psychopy/psychopy/experiment/components/unknownPlugin/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from pathlib import Path
from psychopy.experiment.components import BaseComponent, Param, _translate
class UnknownPluginComponent(BaseComponent):
"""This is used by Builder to represent a component that was not known
by the current installed version of PsychoPy (... | 2,522 | Python | .py | 65 | 31.215385 | 119 | 0.651354 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,629 | __init__.py | psychopy_psychopy/psychopy/experiment/components/unknown/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from pathlib import Path
from psychopy.experiment.components import BaseComponent, Param, _translate
class UnknownComponent(BaseComponent):
"""This is used by Builder to represent a component that was not known
by the current installed version of PsychoPy (most l... | 2,526 | Python | .py | 66 | 30.151515 | 81 | 0.634986 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,630 | _inpout.py | psychopy_psychopy/psychopy/parallel/_inpout.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# We deliberately delay importing the inpout32 or inpoutx64 module until we try
# to use it - this allows us to import the class on machines
# which don't have it and then worry about dealing with
# using the right one later
class PParallelInpOut:
"""This class provi... | 4,120 | Python | .py | 97 | 32.536082 | 79 | 0.56525 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,631 | _linux.py | psychopy_psychopy/psychopy/parallel/_linux.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# We deliberately delay importing the pyparallel module until we try
# to use it - this allows us to import the class on machines
# which don't have it and then worry about dealing with
# using the right one later
# This is necessary to stop the local parallel.py masking ... | 3,517 | Python | .py | 82 | 33.902439 | 79 | 0.608441 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,632 | _dlportio.py | psychopy_psychopy/psychopy/parallel/_dlportio.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This code is heavily based upon winioport.py
# Provides hardware port access for Python under Windows 95/98/NT/2000
#
# Original Author: Dincer Aydin dinceraydin@gmx.net www.dinceraydin.com
# Merged directly into psychopy by: Mark Hymers <mark.hymers@ynic.york.ac.uk>
# A... | 5,783 | Python | .py | 126 | 38.357143 | 78 | 0.649743 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,633 | __init__.py | psychopy_psychopy/psychopy/parallel/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This module provides read / write access to the parallel port for
Linux or Windows.
The :class:`~psychopy.parallel.Parallel` class described below will
attempt to load whichever parallel port driver is first found on your
system and should suffice in most instances. I... | 7,239 | Python | .py | 161 | 36.73913 | 78 | 0.652638 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,634 | lazy_import.py | psychopy_psychopy/psychopy/contrib/lazy_import.py | # Copyright (C) 2006-2010 Canonical Ltd
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distribute... | 16,238 | Python | .py | 335 | 37.814925 | 84 | 0.5977 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,635 | quest.py | psychopy_psychopy/psychopy/contrib/quest.py | #!/usr/bin/env python
# Copyright (c) 1996-2002 Denis G. Pelli
# Copyright (c) 1996-9 David Brainard
# Copyright (c) 2004-7 Andrew D. Straw
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# ... | 19,360 | Python | .py | 402 | 39.731343 | 141 | 0.646747 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,636 | psi.py | psychopy_psychopy/psychopy/contrib/psi.py | # Copyright 2015 Joseph J Glavan
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distr... | 4,993 | Python | .py | 81 | 51.91358 | 187 | 0.643051 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,637 | tesselate.py | psychopy_psychopy/psychopy/contrib/tesselate.py | # JRG: add contrib/tesselate.py, copied from svgbatch / svgload project
# bug ??FIXED: `pointer` not defined in `combineCallback()`, removed
# changed: explicitly use the default winding rule GLU_TESS_WINDING_ODD
# downloaded Nov 2015 https://github.com/tartley/svgload/blob/master
# svgload LICENSE.txt contains:
'''
T... | 6,670 | Python | .py | 154 | 35.948052 | 86 | 0.675255 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,638 | mseqSearch.py | psychopy_psychopy/psychopy/contrib/mseqSearch.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
% Maximum length sequence assuming distinct values = baseVal
%
% original matlab code (C) Written by Giedrius T. Buracas, SNL-B, Salk Institute
% and Center for Functional MRI, UCSD
----------------------------------------------... | 7,016 | Python | .py | 162 | 36.654321 | 103 | 0.614668 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,639 | mseq.py | psychopy_psychopy/psychopy/contrib/mseq.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
% Maximum length sequence assuming 2,3,5 distinct values
%
% original matlab code (C) Written by Giedrius T. Buracas, SNL-B, Salk Institute
% and Center for Functional MRI, UCSD
% http://www.mathworks.com/matlabcentral/fileexchan... | 13,213 | Python | .py | 248 | 42.282258 | 123 | 0.456373 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,640 | __init__.py | psychopy_psychopy/psychopy/contrib/configobj/__init__.py | # configobj.py
# -*- coding: utf-8 -*-
# pylint: disable=bad-continuation
"""A config file reader/writer that supports nested sections in config files."""
# Copyright (C) 2005-2014:
# (name) : (email)
# Michael Foord: fuzzyman AT voidspace DOT org DOT uk
# Nicola Larosa: nico AT tekNico DOT net
# Rob Dennis: rdennis ... | 88,180 | Python | .py | 2,068 | 30.661025 | 114 | 0.546842 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,641 | validate.py | psychopy_psychopy/psychopy/contrib/configobj/validate.py | # validate.py
# -*- coding: utf-8 -*-
# pylint: disable=
#
# A Validator object.
#
# Copyright (C) 2005-2014:
# (name) : (email)
# Michael Foord: fuzzyman AT voidspace DOT org DOT uk
# Mark Andrews: mark AT la-la DOT com
# Nicola Larosa: nico AT tekNico DOT net
# Rob Dennis: rdennis AT gmail DOT com
# Eli Courtwright: ... | 46,077 | Python | .py | 1,223 | 30.410466 | 119 | 0.572357 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,642 | __init__.py | psychopy_psychopy/psychopy/devices/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from psychopy.hardware.keyboard import Keyboard
| 278 | Python | .py | 6 | 45 | 79 | 0.762963 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,643 | sshkeys.py | psychopy_psychopy/psychopy/projects/sshkeys.py | from psychopy import prefs
import os
import sys
import subprocess
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives.asymmetric import rsa
from cryptography.hazmat.backends import default_backend
# https://stackoverflow.com/questions/28291909/gitpython-and-ssh-keys:
# i... | 3,890 | Python | .py | 89 | 35.224719 | 84 | 0.631774 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,644 | pavlovia.py | psychopy_psychopy/psychopy/projects/pavlovia.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
"""Helper functions in PsychoPy for interacting with Pavlovia.org
"""
import glob
import j... | 60,859 | Python | .py | 1,423 | 31.512298 | 125 | 0.585998 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,645 | __init__.py | psychopy_psychopy/psychopy/projects/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
"""Helper functions in PsychoPy for interacting with projects (e.g. from pavlovia)
"""
fr... | 341 | Python | .py | 8 | 41.25 | 82 | 0.748485 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,646 | gitignore.py | psychopy_psychopy/psychopy/projects/gitignore.py | gitIgnoreText = """
# Byte-compiled / optimized / DLL files
__pycache__/
*.pyc
*.pyo
*.pyd
*.so
# Backup files
*.bak
~$*.xls*
~$*.doc*
~$*.ppt*
# Jupyter Notebook
.ipynb_checkpoints
# Virtual Environment files
.env
.venv
env/
venv/
ENV/
# Spyder project settings
.spyderproject
.spyproject
# OS generated files
.DS_... | 474 | Python | .py | 38 | 11.289474 | 39 | 0.764569 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,647 | start_iohub_process.py | psychopy_psychopy/psychopy/iohub/start_iohub_process.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import json
import os
import sys
import tempfile
import gevent
try:
if os.name == 'nt':
# Try to... | 3,735 | Python | .py | 101 | 29.881188 | 85 | 0.65855 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,648 | lazy_import.py | psychopy_psychopy/psychopy/iohub/lazy_import.py | # Copyright (C) 2006-2010 Canonical Ltd
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distribute... | 21,623 | Python | .py | 467 | 35.910064 | 79 | 0.594981 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,649 | net.py | psychopy_psychopy/psychopy/iohub/net.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import struct
from weakref import proxy
from gevent import sleep, Greenlet
import msgpack
try:
import m... | 12,510 | Python | .py | 289 | 32.266436 | 85 | 0.600937 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,650 | errors.py | psychopy_psychopy/psychopy/iohub/errors.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import sys
import traceback
def print2err(*args):
"""
Note: As of at least Jan-2020, this function... | 2,035 | Python | .py | 53 | 31.924528 | 85 | 0.653551 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,651 | constants.py | psychopy_psychopy/psychopy/iohub/constants.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import sys
from .errors import print2err
# pylint: disable=too-many-lines
class Con... | 30,618 | Python | .py | 1,007 | 22.722939 | 89 | 0.593744 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,652 | __init__.py | psychopy_psychopy/psychopy/iohub/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import sys
import platform
from .errors import print2err, printExceptionDetailsToStdE... | 1,467 | Python | .py | 39 | 34.487179 | 86 | 0.781228 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,653 | server.py | psychopy_psychopy/psychopy/iohub/server.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import importlib
import os
import sys
import inspect
from operator import itemgetter
from collections import... | 43,732 | Python | .py | 957 | 31.264368 | 117 | 0.548115 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,654 | keyboard.py | psychopy_psychopy/psychopy/iohub/client/keyboard.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from collections import deque
import time
from ..client import ioHubDeviceView, ioEvent, DeviceRPC
from ..d... | 18,266 | Python | .py | 402 | 34.634328 | 93 | 0.609641 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,655 | connect.py | psychopy_psychopy/psychopy/iohub/client/connect.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import os
from .. import _DATA_STORE_AVAILABLE, IOHUB_DIRECTORY
from . import ioHubConnection
from ..util i... | 10,784 | Python | .py | 220 | 40.009091 | 119 | 0.652265 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,656 | __init__.py | psychopy_psychopy/psychopy/iohub/client/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import os
import sys
import time
import subprocess
import json
import signal
from wea... | 56,879 | Python | .py | 1,209 | 35.159636 | 104 | 0.601438 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,657 | wintab.py | psychopy_psychopy/psychopy/iohub/client/wintab.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from collections import deque
import math
import numpy as np
from . import ioHubDeviceView, ioEvent, Device... | 13,202 | Python | .py | 309 | 32.601942 | 89 | 0.584841 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,658 | __init__.py | psychopy_psychopy/psychopy/iohub/client/eyetracker/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL). | 211 | Python | .py | 4 | 52 | 85 | 0.745192 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,659 | procedure.py | psychopy_psychopy/psychopy/iohub/client/eyetracker/validation/procedure.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
"""
Eye Tracker Validation procedure using the ioHub common eye tracker interface.
To use the validation pr... | 60,791 | Python | .py | 1,117 | 38.961504 | 136 | 0.564161 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,660 | trigger.py | psychopy_psychopy/psychopy/iohub/client/eyetracker/validation/trigger.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from psychopy import core
from psychopy.iohub.constants import EventConstants
from psychopy.iohub.client im... | 8,491 | Python | .py | 199 | 32.090452 | 113 | 0.61738 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,661 | __init__.py | psychopy_psychopy/psychopy/iohub/client/eyetracker/validation/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from .posgrid import PositionGrid
from .trigger import Trigger, KeyboardTrigger, DeviceEventTrigger, TimeTr... | 380 | Python | .py | 7 | 53.285714 | 85 | 0.80429 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,662 | posgrid.py | psychopy_psychopy/psychopy/iohub/client/eyetracker/validation/posgrid.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import numpy as np
from psychopy.iohub.client import ioHubConnection
class PositionGrid:
def __init__... | 11,618 | Python | .py | 238 | 34.941176 | 110 | 0.564439 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,663 | util.py | psychopy_psychopy/psychopy/iohub/datastore/util.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import numbers # numbers.Integral is like (int, long) but supports Py3
import os
fro... | 37,743 | Python | .py | 717 | 38.34728 | 296 | 0.587119 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,664 | __init__.py | psychopy_psychopy/psychopy/iohub/datastore/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import os
import atexit
import numpy as np
from packaging.version import Version
from... | 18,898 | Python | .py | 371 | 38.250674 | 120 | 0.595699 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,665 | computer.py | psychopy_psychopy/psychopy/iohub/devices/computer.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import gc
import sys
import psutil
from ..errors import print2err
from psychopy import clock
REALTIME_PRI... | 21,326 | Python | .py | 479 | 34.807933 | 86 | 0.637917 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,666 | pyXHook.py | psychopy_psychopy/psychopy/iohub/devices/pyXHook.py | # pyxhook -- an extension to emulate some of the PyHook library on linux.
#
# Copyright (C) 2008 Tim Alexander <dragonfyre13@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation;... | 24,090 | Python | .py | 542 | 33.280443 | 172 | 0.578525 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,667 | deviceConfigValidation.py | psychopy_psychopy/psychopy/iohub/devices/deviceConfigValidation.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import importlib
import socket
import os
import numbers # numbers.Integral is like (int, long) but supports... | 20,488 | Python | .py | 412 | 40.873786 | 136 | 0.661993 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,668 | xlib.py | psychopy_psychopy/psychopy/iohub/devices/xlib.py | '''
Copied from pyglet 1.2 lib/x11
Wrapper for X11
Generated with:
tools/genwrappers.py xlib
Do not modify this file.
'''
__docformat__ = 'restructuredtext'
__version__ = '$Id$'
import ctypes
from ctypes import *
import pyglet.lib
_lib = pyglet.lib.load_library('X11')
_int_types = (c_int16, c_int32)
if hasattr(... | 190,917 | Python | .py | 5,936 | 28.121631 | 89 | 0.687832 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,669 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import collections
import copy
import os
import importlib
from collections import deque
from operator impor... | 43,547 | Python | .py | 837 | 41.640382 | 117 | 0.646494 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,670 | eventfilters.py | psychopy_psychopy/psychopy/iohub/devices/eventfilters.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import numpy as np
from collections import deque
from ..util import NumPyRingBuffer
from . import Device, ... | 100,440 | Python | .py | 3,490 | 16.629226 | 142 | 0.471363 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,671 | eye_events.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/eye_events.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from .. import DeviceEvent
from ...constants import EventConstants
from . import EyeTrackerDevice
import num... | 71,885 | Python | .py | 1,427 | 41.607568 | 106 | 0.64942 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,672 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from .. import Device, ioDeviceError
from ...constants import DeviceConstants, EyeTrackerConstants
from . im... | 21,307 | Python | .py | 373 | 47.048257 | 186 | 0.686518 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,673 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL). | 211 | Python | .py | 4 | 52 | 85 | 0.745192 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,674 | eyetracker.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/tobii/eyetracker.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_tobii.tobii.eyetracker import EyeTrac... | 621 | Python | .py | 14 | 40.571429 | 85 | 0.736755 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,675 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/tobii/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
yamlFile = None
try:
from psychopy_eyetracker_tobii.tobii import (
... | 884 | Python | .py | 26 | 28.115385 | 85 | 0.691228 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,676 | tobiiwrapper.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiwrapper.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_tobii.tobii.tobiiwrapper import (
... | 645 | Python | .py | 15 | 38.866667 | 85 | 0.727273 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,677 | calibration.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/tobii/calibration.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_tobii.tobii.calibration import (
... | 649 | Python | .py | 15 | 39.066667 | 85 | 0.731746 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,678 | eyetracker.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/mouse/eyetracker.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from psychopy.iohub.errors import print2err, printExceptionDetailsToStdErr
from psychopy.iohub.constants imp... | 19,467 | Python | .py | 383 | 36.177546 | 110 | 0.574722 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,679 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/mouse/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from .eyetracker import EyeTracker
from psychopy.iohub.devices.eyetracker import (MonocularEyeSampleEvent, F... | 473 | Python | .py | 7 | 59.714286 | 114 | 0.735484 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,680 | calibration.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/mouse/calibration.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from psychopy.iohub.devices.eyetracker.calibration import BaseCalibrationProcedure
class MouseGazeCalibrat... | 541 | Python | .py | 8 | 64.875 | 117 | 0.798493 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,681 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/pupil_labs/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL). | 211 | Python | .py | 4 | 52 | 85 | 0.745192 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,682 | bisector.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/bisector.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_pupil_labs.pupil_labs.pupil_core.bise... | 730 | Python | .py | 17 | 38.176471 | 85 | 0.725352 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,683 | eyetracker.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/eyetracker.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_pupil_labs.pupil_labs.pupil_core.eyet... | 671 | Python | .py | 15 | 40.6 | 85 | 0.730475 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,684 | constants.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/constants.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_pupil_labs.pupil_labs.pupil_core.cons... | 694 | Python | .py | 16 | 38.875 | 85 | 0.718519 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,685 | pupil_remote.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/pupil_remote.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_pupil_labs.pupil_labs.pupil_core.pupi... | 674 | Python | .py | 15 | 40.8 | 85 | 0.730183 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,686 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions... | 1,042 | Python | .py | 24 | 39 | 85 | 0.721619 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,687 | data_parse.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/data_parse.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_pupil_labs.pupil_labs.pupil_core.data... | 846 | Python | .py | 19 | 39.315789 | 85 | 0.711165 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,688 | eyetracker.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/pupil_labs/neon/eyetracker.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_pupil_labs.pupil_labs.neon.eyetracker... | 665 | Python | .py | 15 | 40.2 | 85 | 0.729521 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,689 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/pupil_labs/neon/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions... | 996 | Python | .py | 22 | 41.181818 | 85 | 0.724742 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,690 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/sr_research/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL). | 211 | Python | .py | 4 | 52 | 85 | 0.745192 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,691 | eyetracker.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/sr_research/eyelink/eyetracker.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_sr_research.sr_research.eyelink.eyetr... | 1,217 | Python | .py | 35 | 27.742857 | 85 | 0.684746 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,692 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/sr_research/eyelink/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_sr_research.sr_research.eyelink impor... | 908 | Python | .py | 25 | 30.24 | 85 | 0.696591 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,693 | calibration.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/sr_research/eyelink/calibration.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_sr_research.sr_research.eyelink impor... | 763 | Python | .py | 19 | 34.947368 | 85 | 0.71525 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,694 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/gazepoint/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_gazepoint.gazepoint.gp3 import (
... | 918 | Python | .py | 26 | 29.115385 | 85 | 0.694382 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,695 | eyetracker.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/gazepoint/gp3/eyetracker.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_gazepoint.gazepoint.gp3.eyetracker im... | 713 | Python | .py | 18 | 34.555556 | 85 | 0.709538 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,696 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/gazepoint/gp3/__init__.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_gazepoint.gazepoint.gp3 import (
... | 889 | Python | .py | 25 | 29.44 | 85 | 0.694541 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,697 | calibration.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/hw/gazepoint/gp3/calibration.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
import psychopy.logging as logging
try:
from psychopy_eyetracker_gazepoint.gazepoint.gp3.calibration i... | 673 | Python | .py | 15 | 40.666667 | 85 | 0.738931 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,698 | procedure.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/calibration/procedure.py | # -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2012-2020 iSolver Software Solutions (C) 2021 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
from psychopy import visual, layout
import gevent
from psychopy.iohub.util import convertCamelToSnake, upd... | 16,871 | Python | .py | 339 | 36.637168 | 126 | 0.585834 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,699 | __init__.py | psychopy_psychopy/psychopy/iohub/devices/eyetracker/filters/__init__.py | """ioHub Common Eye Tracker Interface"""
# Part of the psychopy.iohub library.
# Copyright (C) 2012-2016 iSolver Software Solutions
# Distributed under the terms of the GNU General Public License (GPL).
| 206 | Python | .py | 4 | 49.75 | 71 | 0.772277 | psychopy/psychopy | 1,662 | 900 | 218 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |