nivlink.screen.
ScreenInfo
(xdim, ydim, sfreq, n_screens=1)[source]¶Container for visual stimuli information.
Parameters: |
|
---|---|
Attributes: |
|
Methods
add_ellipsoid_aoi (x, y, x_radius, y_radius) |
Generate coordinates of pixels within ellipse. |
add_rectangle_aoi (xmin, xmax, ymin, ymax[, …]) |
Add rectangle area of interest to screen. |
plot_aoi (screen_id[, height, ticks, cmap]) |
Plot areas of interest. |
add_ellipsoid_aoi
(x, y, x_radius, y_radius, rotation=0.0, screen_id=1, mask=None)[source]¶Generate coordinates of pixels within ellipse.
Parameters: |
|
---|---|
Returns: |
|
add_rectangle_aoi
(xmin, xmax, ymin, ymax, screen_id=1)[source]¶Add rectangle area of interest to screen.
Parameters: |
|
---|---|
Returns: |
|
plot_aoi
(screen_id, height=3, ticks=False, cmap=None)[source]¶Plot areas of interest.
Parameters: |
|
---|---|
Returns: |
|
Notes
Requires matplotlib.