expyriment.io.extras.TurbosatoriNetworkInterface

class expyriment.io.extras.TurbosatoriNetworkInterface(host, port, timeout=None, connect=None)

A class implementing a network interface to Turbo-Satori.

See http://www.brainvoyager.com/products/turbosatori.html for more information.

__init__(host, port, timeout=None, connect=None)

Create a TurbosatoriNetworkInterface.

close()

Close the connection.

connect()

Connect to the TBV server.

get_current_time_point()

Get the current time point.

get_data_deoxy(channel, frame)

Get deoxy data.

channel
: int
The channel.
frame
: int
The time point.
get_data_oxy(channel, frame)

Get oxy data.

channel
: int
The channel.
frame
: int
The time point.
get_images_feedback_folder()

Get the feedback folder for the images.

get_nr_of_channels()

Get the number of channels.

get_nr_of_selected_channels()

Get the number of selected channels.

get_oxy_data_scale_factor()

Get the scale factor set in the GUI for oxy/deoxy data.

get_raw_data_scale_factor()

Get the scale factor set in the GUI for raw data.

get_raw_data_wl1(channel, frame)

Get raw data for wavelength 1.

channel
: int
The channel.
frame
: int
The time point.
get_raw_data_wl2(channel, frame)

Get raw data for wavelength 2.

channel
: int
The channel.
frame
: int
The time point.
get_selected_channels()

Get the selected channels.

get_values_feedback_folder()

Get the feedback folder for the values.

host

Getter for host.

is_connected

Getter for is_connected.

is_data_oxy_deoxy_converted()

Check if oxy/deoxy values are requested and have been calculated.

logging

Getter for logging.

port

Getter for port.

request_data(request, *args)

Request data from Turbo-Satori.

set_logging(onoff)

Set logging of this object on or off

Parameters:

onoff : bool

set logging on (True) or off (False)

Notes

See also design.experiment.set_log_level fur further information about event logging.

timeout

Getter for timeout.

turbosatori_plugin_version

Getter for turbosatori_plugin_version.