psychopy.info
- functions for getting information about the system¶This module has tools for fetching data about the system or the current Python process. Such info can be useful for understanding the context in which an experiment was run.
psychopy.info.
RunTimeInfo
(author=None, version=None, win=None, refreshTest='grating', userProcsDetailed=False, verbose=False)¶Returns a snapshot of your configuration at run-time, for immediate or archival use.
Returns a dict-like object with info about PsychoPy, your experiment script, the system & OS, your window and monitor settings (if any), python & packages, and openGL.
If you want to skip testing the refresh rate, use ‘refreshTest=None’
Example usage: see runtimeInfo.py in coder demos.
Author: |
|
---|---|
Parameters: |
Window instanceverbose : False, True; how much detail to assess
|
Returns: | a flat dict (but with several groups based on key names):
|
psychopy.info.
getMemoryUsage
()¶Get the memory (RAM) currently used by this Python process, in M.
psychopy.info.
getRAM
()¶Return system’s physical RAM & available RAM, in M.