expyriment.io.extras.TbvNetworkInterface¶
- 
class expyriment.io.extras.TbvNetworkInterface(host, port, timeout=None, connect=None)[source]¶
- A class implementing a network interface to Turbo Brain Voyager. - See http://www.brainvoyager.com/products/turbobrainvoyager.html for more information. - Methods - 
get_all_coords_of_voxels_of_roi(roi)[source]¶
- Get coordinates for all voxels for a ROI. - roi : int
- The ROI.
 
 - 
get_beta_of_roi(roi, beta)[source]¶
- Get the value of a beta of a ROI. - roi : int
- The ROI.
- beta : int
- The beta.
 
 - 
get_beta_of_voxel(beta, coords)[source]¶
- Get a specific beta value of a voxel. - beta : int
- The beta.
- coords : list
- The coordinates of the voxel. [x, y, z]
 
 - 
get_coord_of_voxel_of_roi(roi, voxel)[source]¶
- Get the coordinates of a voxel of a ROI. - roi : int
- The ROI.
- voxel : int
- The voxel.
 
 - 
get_existing_means_of_roi(roi, to_time_point)[source]¶
- Get the existing means of a ROI. - roi : int
- The ROI.
- to_time_point : int
- Get all the means up to this point.
 
 - 
get_map_value_of_voxel(map, coords)[source]¶
- Get a specific map value of a voxel. - map : int
- The map.
- coords : list
- The coordinates of the voxel. [x, y, z]
 
 - 
get_mean_of_roi_at_time_point(roi, time_point)[source]¶
- Get the mean of a ROI at a time point. - roi : int
- The ROI.
- time_point : int
- The time point.
 
 - 
get_raw_value_of_all_voxels_at_time(time_point)[source]¶
- Get the raw value of all voxels at a certain time point. - time_point : int
- The time point.
 
 - 
get_value_of_all_voxels_at_time(time_point)[source]¶
- Get the value of all voxels at a certain time point. - time_point : int
- The time point.
 
 - 
get_value_of_design_matrix(pred, time_point)[source]¶
- Get the value of the design matrix. - pred : int
- The predictor.
- time_point : int
- The time point.
 
 - 
get_value_of_voxel_at_time(coords, time_point)[source]¶
- Get the value of a voxel at a certain time point. - coords : list
- The coordinates of the voxel. [x, y, z]
- time_point : int
- The time point.
 
 - 
host¶
- Getter for host. 
 - 
is_connected¶
- Getter for is_connected. 
 - 
logging¶
- Getter for logging. 
 - 
port¶
- Getter for port. 
 - 
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. 
 - 
tbv_plugin_version¶
- Getter for tbv_plugin_version. 
 - 
timeout¶
- Getter for timeout. 
 
- 
