Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lawhead committed Oct 23, 2023
1 parent bec1bb5 commit 6de3170
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions bcipy/helpers/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def visualize_gaze(
Assumes that the data is collected using BciPy and a Tobii-nano eye tracker. The default
image used is for the matrix calibration task on a 1920x1080 screen.
Generates a comparative matrix figure following the execution of tasks. Given a set of
Generates a comparative matrix figure following the execution of tasks. Given a set of
trailed data, the gaze distribution are plotted and may be saved or shown in a window.
Returns a list of the figure handles created.
Expand All @@ -140,7 +140,8 @@ def visualize_gaze(
save_path: Optional[str]: optional path to a save location of the figure generated
show: Optional[bool]: whether or not to show the figures generated. Default: False
img_path: Optional[str]: Image to be used as the background. Default: matrix.png
screen_size: Optional[Tuple[int, int]]: Size of the screen used for Calibration/Copy Phrase tasks. Default: (1920, 1080)
screen_size: Optional[Tuple[int, int]]: Size of the screen used for Calibration/Copy
Phrase tasks. Default: (1920, 1080)
heatmap: Optional[bool]: Whether or not to plot the heatmap. Default: False
raw_plot: Optional[bool]: Whether or not to plot the raw gaze data. Default: False
"""
Expand Down Expand Up @@ -231,9 +232,9 @@ def visualize_gaze_inquiries(
Assumes that the data is collected using BciPy and a Tobii-nano eye tracker. The default
image used is for the matrix calibration task on a 1920x1080 screen.
Generates a comparative matrix figure following the execution of offline analysis. Given a set of
trailed data (left & right eye), the gaze distribution for each prompted symbol are plotted, along
with the contour plots of mean and covariances calculated by the Gaussian Mixture Model.
Generates a comparative matrix figure following the execution of offline analysis. Given a set of
trailed data (left & right eye), the gaze distribution for each prompted symbol are plotted, along
with the contour plots of mean and covariances calculated by the Gaussian Mixture Model.
The figures may be saved or shown in a window.
Returns a list of the figure handles created.
Expand All @@ -247,7 +248,8 @@ def visualize_gaze_inquiries(
save_path: Optional[str]: optional path to a save location of the figure generated
show: Optional[bool]: whether or not to show the figures generated. Default: False
img_path: Optional[str]: Image to be used as the background. Default: matrix.png
screen_size: Optional[Tuple[int, int]]: Size of the screen used for Calibration/Copy Phrase tasks. Default: (1920, 1080)
screen_size: Optional[Tuple[int, int]]: Size of the screen used for Calibration/Copy
Phrase tasks. Default: (1920, 1080)
heatmap: Optional[bool]: Whether or not to plot the heatmap. Default: False
raw_plot: Optional[bool]: Whether or not to plot the raw gaze data. Default: False
"""
Expand Down

0 comments on commit 6de3170

Please sign in to comment.