pynwb.retinotopy module

class pynwb.retinotopy.AImage(source, data, bits_per_pixel, dimension, format, field_of_view, focal_depth)

Bases: pynwb.core.NWBContainer

Parameters:
  • source (str) – the source of the data
  • data (Iterable) – Data field.
  • bits_per_pixel (int) – Number of bits used to represent each value. This is necessary to determine maximum (white) pixel value.
  • dimension (Iterable) – Number of rows and columns in the image.
  • format (Iterable) – Format of image. Right now only “raw” supported.
  • field_of_view (Iterable) – Size of viewing area, in meters.
  • focal_depth (float) – Focal depth offset, in meters.
bits_per_pixel
data
dimension
field_of_view
focal_depth
format
class pynwb.retinotopy.AxisMap(source, data, field_of_view, unit, dimension)

Bases: pynwb.core.NWBContainer

Parameters:
  • source (str) – the source of the data
  • data (Iterable) – data field.
  • field_of_view (Iterable) – Size of viewing area, in meters.
  • unit (str) – Unit that axis data is stored in (e.g., degrees)
  • dimension (Iterable) – Number of rows and columns in the image
data
dimension
field_of_view
unit
class pynwb.retinotopy.ImagingRetinotopy(source, sign_map, axis_1_phase_map, axis_1_power_map, axis_2_phase_map, axis_2_power_map, axis_descriptions, focal_depth_image, vasculature_image)

Bases: pynwb.core.NWBContainer

Intrinsic signal optical imaging or widefield imaging for measuring retinotopy. Stores orthogonal maps (e.g., altitude/azimuth; radius/theta) of responses to specific stimuli and a combined polarity map from which to identify visual areas. Note: for data consistency, all images and arrays are stored in the format [row][column] and [row, col], which equates to [y][x]. Field of view and dimension arrays may appear backward (i.e., y before x).

Parameters:
  • source (str) – The source of the data represented in this Module Interface.
  • sign_map (AxisMap) – Sine of the angle between the direction of the gradient in axis_1 and axis_2.
  • axis_1_phase_map (AxisMap) – Phase response to stimulus on the first measured axis.
  • axis_1_power_map (AxisMap) – Power response on the first measured axis. Response is scaled so 0.0 is no power in the response and 1.0 is maximum relative power.
  • axis_2_phase_map (AxisMap) – Phase response to stimulus on the second measured axis.
  • axis_2_power_map (AxisMap) – Power response on the second measured axis. Response is scaled so 0.0 is no power in the response and 1.0 is maximum relative power.
  • axis_descriptions (Iterable) – Two-element array describing the contents of the two response axis fields. Description should be something like [“altitude”, “azimuth”] or [“radius”, “theta”].
  • focal_depth_image (AImage) – Gray-scale image taken with same settings/parameters (e.g., focal depth, wavelength) as data collection. Array format: [rows][columns].
  • vasculature_image (AImage) – Gray-scale anatomical image of cortical surface. Array structure: [rows][columns].
axis_1_phase_map
axis_1_power_map
axis_2_phase_map
axis_2_power_map
axis_descriptions
focal_depth_image
sign_map
vasculature_image