trajtracker module

Methods and properties in the trajtracker main module:

TrajTracker - a set of tools for psychological experiments under expyriment

@author: Dror Dotan @copyright: Copyright (c) 2017, Dror Dotan

This file is part of TrajTracker.

TrajTracker 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.

TrajTracker is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with TrajTracker. If not, see <http://www.gnu.org/licenses/>.

trajtracker.version()

Returns the package version :return: tuple with 3 items: #major, #minor, #bugfix

trajtracker.env = <trajtracker._Environment.Environment object>

Environment parameters

trajtracker.log_to_console = False

When set to True, this will print all log messages to the console (on top of printing them to the log file)

trajtracker.log_write(msg, print_to_console=False)

Write a message to the log file

Parameters:
  • msg – Text message
  • print_to_console – If true, print the message also to console
trajtracker.initialize()

Initialize TrajTracker; and initialize Expyriment by calling expyriment.control.initialize()

Returns:Expyriment’s Experiment object