File: monitors.rst

package info (click to toggle)
psychopy 2020.2.10%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 44,056 kB
  • sloc: python: 119,649; javascript: 3,022; makefile: 148; sh: 125; xml: 9
file content (61 lines) | stat: -rw-r--r-- 1,940 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
:mod:`psychopy.monitors` - for those that don't like Monitor Center
======================================================================

Most users won't need to use the code here. In general the Monitor Centre interface is sufficient
and monitors setup that way can be passed as strings to :class:`~psychopy.visual.Window` s. If there
is some aspect of the normal calibration that you wish to override. eg::

   from psychopy import visual, monitors
   mon = monitors.Monitor('SonyG55')#fetch the most recent calib for this monitor
   mon.setDistance(114)#further away than normal?
   win = visual.Window(size=[1024,768], monitor=mon)
    
You might also want to fetch the :class:`~psychopy.monitors.Photometer` class for conducting your own calibrations
    
:class:`Monitor`
------------------------------------
.. autoclass:: psychopy.monitors.Monitor
    :members: 
    :undoc-members: 
    
--------
    
:class:`GammaCalculator`
------------------------------------
.. autoclass:: psychopy.monitors.GammaCalculator
    :members: 
    :undoc-members: 
    
--------
    
:func:`getAllMonitors`
------------------------------------
.. autofunction:: psychopy.monitors.getAllMonitors

:func:`findPR650`
------------------------------------
.. autofunction:: psychopy.monitors.findPR650 

:func:`getLumSeriesPR650`
------------------------------------
.. autofunction:: psychopy.monitors.getLumSeriesPR650

:func:`getRGBspectra`
------------------------------------
.. autofunction:: psychopy.monitors.getRGBspectra

:func:`gammaFun`
------------------------------------
.. autofunction:: psychopy.monitors.gammaFun

:func:`gammaInvFun`
------------------------------------
.. autofunction:: psychopy.monitors.gammaInvFun

:func:`makeDKL2RGB`
------------------------------------
.. autofunction:: psychopy.monitors.makeDKL2RGB

:func:`makeLMS2RGB`
------------------------------------
.. autofunction:: psychopy.monitors.makeLMS2RGB