ImagingPlane

See also:

Format Specification or Source Specification for ImagingPlane.

class types.core.ImagingPlane(varargin)[source]

Bases: types.core.NWBContainer, types.untyped.GroupClass, matnwb.mixin.HasUnnamedGroups

IMAGINGPLANE - An imaging plane and its metadata.

Required Properties*:

device, excitation_lambda, indicator, location, opticalchannel

Constructor Summary
ImagingPlane(varargin)

IMAGINGPLANE - Constructor for ImagingPlane

Syntax:

imagingPlane = types.core.IMAGINGPLANE() creates an ImagingPlane object with unset property values.

imagingPlane = types.core.IMAGINGPLANE(Name, Value) creates an ImagingPlane object where one or more property values are specified using name-value pairs.

Input Arguments (Name-Value Arguments):
  • description (char) - Description of the imaging plane.

  • device (Device) - Link to the Device object that was used to record from this electrode.

  • excitation_lambda (single) - Excitation wavelength, in nm.

See also reference_frame to interpret the grid.

  • grid_spacing_unit (char) - Measurement units for grid_spacing. The default value is ‘meters’.

  • imaging_rate (single) - Rate that images are acquired, in Hz. If the corresponding TimeSeries is present, the rate should be stored there instead.

  • indicator (char) - Calcium indicator.

  • location (char) - Location of the imaging plane. Specify the area, layer, comments on estimation of area/layer, stereotaxic coordinates if in vivo, etc. Use standard atlas names for anatomical regions when possible.

  • manifold (single) - DEPRECATED Physical position of each pixel. ‘xyz’ represents the position of the pixel relative to the defined coordinate space. Deprecated in favor of origin_coords and grid_spacing.

  • manifold_conversion (single) - Scalar to multiply each element in data to convert it to the specified ‘unit’. If the data are stored in acquisition system units or other units that require a conversion to be interpretable, multiply the data by ‘conversion’ to convert the data to the specified ‘unit’. e.g. if the data acquisition system stores values in this object as pixels from x = -500 to 499, y = -500 to 499 that correspond to a 2 m x 2 m range, then the ‘conversion’ multiplier to get from raw data acquisition pixel units to meters is 2/1000.

  • manifold_unit (char) - Base unit of measurement for working with the data. The default value is ‘meters’.

  • opticalchannel (OpticalChannel) - An optical channel used to record from an imaging plane.

See also reference_frame for what the physical location is relative to (e.g., bregma).

  • origin_coords_unit (char) - Measurement units for origin_coords. The default value is ‘meters’.

  • reference_frame (char) - Describes reference frame of origin_coords and grid_spacing. For example, this can be a text description of the anatomical location and orientation of the grid defined by origin_coords and grid_spacing or the vectors needed to transform or rotate the grid to a common anatomical axis (e.g., AP/DV/ML). This field is necessary to interpret origin_coords and grid_spacing. If origin_coords and grid_spacing are not present, then this field is not required. For example, if the microscope takes 10 x 10 x 2 images, where the first value of the data matrix (index (0, 0, 0)) corresponds to (-1.2, -0.6, -2) mm relative to bregma, the spacing between pixels is 0.2 mm in x, 0.2 mm in y and 0.5 mm in z, and larger numbers in x means more anterior, larger numbers in y means more rightward, and larger numbers in z means more ventral, then enter the following – origin_coords = (-1.2, -0.6, -2) grid_spacing = (0.2, 0.2, 0.5) reference_frame = “Origin coordinates are relative to bregma. First dimension corresponds to anterior-posterior axis (larger index = more anterior). Second dimension corresponds to medial-lateral axis (larger index = more rightward). Third dimension corresponds to dorsal-ventral axis (larger index = more ventral).”

Output Arguments:
Property Summary
description

(char) Description of the imaging plane.

device

REQUIRED (Device) Link to the Device object that was used to record from this electrode.

excitation_lambda

REQUIRED (single) Excitation wavelength, in nm.

grid_spacing

See also reference_frame to interpret the grid.

grid_spacing_unit = "meters"

(char) Measurement units for grid_spacing. The default value is ‘meters’.

imaging_rate

(single) Rate that images are acquired, in Hz. If the corresponding TimeSeries is present, the rate should be stored there instead.

indicator

REQUIRED (char) Calcium indicator.

location

REQUIRED (char) Location of the imaging plane. Specify the area, layer, comments on estimation of area/layer, stereotaxic coordinates if in vivo, etc. Use standard atlas names for anatomical regions when possible.

manifold

(single) DEPRECATED Physical position of each pixel. ‘xyz’ represents the position of the pixel relative to the defined coordinate space. Deprecated in favor of origin_coords and grid_spacing.

manifold_conversion = 1

(single) Scalar to multiply each element in data to convert it to the specified ‘unit’. If the data are stored in acquisition system units or other units that require a conversion to be interpretable, multiply the data by ‘conversion’ to convert the data to the specified ‘unit’. e.g. if the data acquisition system stores values in this object as pixels from x = -500 to 499, y = -500 to 499 that correspond to a 2 m x 2 m range, then the ‘conversion’ multiplier to get from raw data acquisition pixel units to meters is 2/1000.

manifold_unit = "meters"

(char) Base unit of measurement for working with the data. The default value is ‘meters’.

opticalchannel

REQUIRED (OpticalChannel) An optical channel used to record from an imaging plane.

origin_coords

See also reference_frame for what the physical location is relative to (e.g., bregma).

origin_coords_unit = "meters"

(char) Measurement units for origin_coords. The default value is ‘meters’.

reference_frame

(char) Describes reference frame of origin_coords and grid_spacing. For example, this can be a text description of the anatomical location and orientation of the grid defined by origin_coords and grid_spacing or the vectors needed to transform or rotate the grid to a common anatomical axis (e.g., AP/DV/ML). This field is necessary to interpret origin_coords and grid_spacing. If origin_coords and grid_spacing are not present, then this field is not required. For example, if the microscope takes 10 x 10 x 2 images, where the first value of the data matrix (index (0, 0, 0)) corresponds to (-1.2, -0.6, -2) mm relative to bregma, the spacing between pixels is 0.2 mm in x, 0.2 mm in y and 0.5 mm in z, and larger numbers in x means more anterior, larger numbers in y means more rightward, and larger numbers in z means more ventral, then enter the following – origin_coords = (-1.2, -0.6, -2) grid_spacing = (0.2, 0.2, 0.5) reference_frame = “Origin coordinates are relative to bregma. First dimension corresponds to anterior-posterior axis (larger index = more anterior). Second dimension corresponds to medial-lateral axis (larger index = more rightward). Third dimension corresponds to dorsal-ventral axis (larger index = more ventral).”

Tip

* If a required property link is not functional, the property may be defined in a superclass. Please refer to the superclass documentation.