File: pump.rst

package info (click to toggle)
psychopy 2023.2.4%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 124,456 kB
  • sloc: python: 126,213; javascript: 11,982; makefile: 152; sh: 120; xml: 9
file content (55 lines) | stat: -rw-r--r-- 1,870 bytes parent folder | download
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
.. _pumpComponent:

Pump Component
--------------

This component allows you to deliver liquid stimuli using a Cetoni neMESYS syringe pump.

Please specify the name of the pump configuration to use in the |PsychoPy|
preferences under ``Hardware / Qmix pump configuration``. See the `readme file`_ of
the ``pyqmix`` project for details on how to set up your computer and create
the configuration file.


Properties
~~~~~~~~~~

Name : string
    Everything in a |PsychoPy| experiment needs a unique name. The name should contain only letters, numbers and underscores (no punctuation marks or spaces).

Start :
    The time that the stimulus should first appear.

Stop :
    Governs the duration for which the stimulus is presented.

Sync to screen : bool
    Whether to synchronize the pump operations (starting, stopping) to the
    screen refresh. This ensures better synchronization with visual stimuli.

Hardware
========
Parameters for controlling hardware.

Pump index : int
    The index of the pump: The first pump's index is 0, the second pump's index is 1, etc.
    You may insert the name of a variable here to adjust this value dynamically.

Syringe type : select the appropriate option
    Currently, 25 mL and 50 mL glass syringes are supported. This setting ensures that
    the pump will operate at the correct flow rate.

Pump action : ``aspirate`` or ``dispense``
    Whether to fill (``aspirate``) or to empty (``dispense``) the syringe.

Flow rate : float
    The flow rate in the selected flow rate units.

Flow rate unit : ``mL/s`` or ``mL/min``
    The unit in which the flow rate values are supplied.

Switch valve after dosing : bool
    Whether to switch the valve osition after the pump operation has
    finished. This can be used to ensure a sharp(er) stimulus offset.

.. _readme file: https://github.com/psyfood/pyqmix/blob/master/README.md