Skip to content

Commit 7a479d7

Browse files
peircejjon.peirce
authored andcommitted
generating/formatting docs for sphinx
git-svn-id: https://psychopy.googlecode.com/svn/trunk@437 1c617f74-e3c1-11dd-95e1-755cbddbdd66
1 parent c065d82 commit 7a479d7

24 files changed

+399
-218
lines changed

PsychoPy2_screenshot.png

117 KB
Loading

docs/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ clean:
4343
-rm -rf build/*
4444

4545
html:
46+
cp -f ../CHANGELOG.txt source/changelog.rst
4647
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) build/html
4748
@echo
4849
@echo "Build finished. The HTML pages are in build/html."

docs/source/api/api.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ API (Reference)
44
Contents:
55

66
.. toctree::
7-
:maxdepth: 1
8-
7+
:maxdepth: 1
8+
:glob:
9+
10+
core
911
visual
10-
sound
11-
event
12-
log
13-
data
14-
serial
12+
*
13+
1514

1615
Indices and tables
1716
~~~~~~~~~~~~~~~~~~~~~~

docs/source/api/data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:mod:`psychopy.data`
2-
===================================
1+
:mod:`psychopy.data` - functions for storing/saving/analysing data
2+
==============================================================================
33

44
.. automodule:: psychopy.data
55
:members:#nicer if we do it properly, btu this is easy for now

docs/source/api/dotstim.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/source/api/event.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:mod:`psychopy.event`
2-
===================================
1+
:mod:`psychopy.event` - for getting keypress and mouse clicks
2+
==============================================================================
33

44
.. automodule:: psychopy.event
55
:members:

docs/source/api/log.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
===================================
33

44
.. automodule:: psychopy.log
5-
:members:#nicer if we do it properly, btu this is easy for now
5+
:members:

docs/source/api/monitors.rst

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
:mod:`psychopy.monitors`
2+
===================================
3+
4+
Most users won't need to use the code here. In general the Monitor Centre interface is sufficient
5+
and monitors setup that way can be passed as strings to :class:`~psychopy.visual.Window` s. If there
6+
is some aspect of the normal calibration that you wish to override. eg::
7+
8+
from psychopy import visual, monitors
9+
mon = monitors.Monitor('SonyG55')#fetch the most recent calib for this monitor
10+
mon.setDistance(114)#further away than normal?
11+
win = visual.Window(size=[1024,768], monitor=mon)
12+
13+
You might also want to fetch the :class:`~psychopy.monitors.Photometer` class for conducting your own calibrations
14+
15+
:class:`Monitor`
16+
------------------------------------
17+
.. autoclass:: psychopy.monitors.Monitor
18+
:members:
19+
:undoc-members:
20+
21+
--------
22+
23+
:class:`Photometer`
24+
------------------------------------
25+
.. autoclass:: psychopy.monitors.Photometer
26+
:members:
27+
:undoc-members:
28+
29+
--------
30+
31+
:class:`GammaCalculator`
32+
------------------------------------
33+
.. autoclass:: psychopy.monitors.GammaCalculator
34+
:members:
35+
:undoc-members:
36+
37+
--------
38+
39+
:func:`getAllMonitors`
40+
------------------------------------
41+
.. autofunction:: psychopy.monitors.getAllMonitors
42+
43+
:func:`findPR650`
44+
------------------------------------
45+
.. autofunction:: psychopy.monitors.findPR650
46+
47+
:func:`getLumSeriesPR650`
48+
------------------------------------
49+
.. autofunction:: psychopy.monitors.getLumSeriesPR650
50+
51+
:func:`getRGBspectra`
52+
------------------------------------
53+
.. autofunction:: psychopy.monitors.getRGBspectra
54+
55+
:func:`gammaFun`
56+
------------------------------------
57+
.. autofunction:: psychopy.monitors.gammaFun
58+
59+
:func:`gammaInvFun`
60+
------------------------------------
61+
.. autofunction:: psychopy.monitors.gammaInvFun
62+
63+
:func:`makeDKL2RGB`
64+
------------------------------------
65+
.. autofunction:: psychopy.monitors.makeDKL2RGB
66+
67+
:func:`makeLMS2RGB`
68+
------------------------------------
69+
.. autofunction:: psychopy.monitors.makeLMS2RGB

docs/source/api/patchstim.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/source/api/serial.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
===================================
33

44
.. automodule:: psychopy.serial
5-
:members:#nicer if we do it properly, btu this is easy for now
5+
:members:
6+

0 commit comments

Comments
 (0)