Skip to content

Commit feddcbf

Browse files
authored
Revert changes to retinotopy.yaml (#409)
* Revert changes to retinotopy.yaml in NWB 2.1.0 * Specify shape, and clarify docs, dtype, and dims * Make sign_map and focal_depth_image optional
1 parent d587bc1 commit feddcbf

File tree

1 file changed

+196
-80
lines changed

1 file changed

+196
-80
lines changed

core/nwb.retinotopy.yaml

Lines changed: 196 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -5,114 +5,230 @@ groups:
55
doc: 'Intrinsic signal optical imaging or widefield imaging for measuring retinotopy.
66
Stores orthogonal maps (e.g., altitude/azimuth; radius/theta) of responses to
77
specific stimuli and a combined polarity map from which to identify visual areas.
8-
NOTE: for data consistency, all images and arrays are stored in the format [row][column]
8+
This group does not store the raw responses imaged during retinotopic mapping or the
9+
stimuli presented, but rather the resulting phase and power maps after applying a Fourier
10+
transform on the averaged responses.
11+
Note: for data consistency, all images and arrays are stored in the format [row][column]
912
and [row, col], which equates to [y][x]. Field of view and dimension arrays may
1013
appear backward (i.e., y before x).'
1114
datasets:
1215
- name: axis_1_phase_map
13-
neurodata_type_inc: AxisMap
16+
dtype: float32
17+
dims:
18+
- num_rows
19+
- num_cols
20+
shape:
21+
- null
22+
- null
1423
doc: Phase response to stimulus on the first measured axis.
24+
attributes:
25+
- name: dimension
26+
dtype: int32
27+
dims:
28+
- num_rows, num_cols
29+
shape:
30+
- 2
31+
doc: 'Number of rows and columns in the image. NOTE: row, column representation
32+
is equivalent to height, width.'
33+
- name: field_of_view
34+
dtype: float32
35+
dims:
36+
- height, width
37+
shape:
38+
- 2
39+
doc: Size of viewing area, in meters.
40+
- name: unit
41+
dtype: text
42+
doc: Unit that axis data is stored in (e.g., degrees).
1543
- name: axis_1_power_map
16-
neurodata_type_inc: AxisMap
44+
dtype: float32
45+
dims:
46+
- num_rows
47+
- num_cols
48+
shape:
49+
- null
50+
- null
1751
doc: Power response on the first measured axis. Response is scaled so 0.0 is no
1852
power in the response and 1.0 is maximum relative power.
1953
quantity: '?'
54+
attributes:
55+
- name: dimension
56+
dtype: int32
57+
dims:
58+
- num_rows, num_cols
59+
shape:
60+
- 2
61+
doc: 'Number of rows and columns in the image. NOTE: row, column representation
62+
is equivalent to height, width.'
63+
- name: field_of_view
64+
dtype: float32
65+
dims:
66+
- height, width
67+
shape:
68+
- 2
69+
doc: Size of viewing area, in meters.
70+
- name: unit
71+
dtype: text
72+
doc: Unit that axis data is stored in (e.g., degrees).
2073
- name: axis_2_phase_map
21-
neurodata_type_inc: AxisMap
74+
dtype: float32
75+
dims:
76+
- num_rows
77+
- num_cols
78+
shape:
79+
- null
80+
- null
2281
doc: Phase response to stimulus on the second measured axis.
82+
attributes:
83+
- name: dimension
84+
dtype: int32
85+
dims:
86+
- num_rows, num_cols
87+
shape:
88+
- 2
89+
doc: 'Number of rows and columns in the image. NOTE: row, column representation
90+
is equivalent to height, width.'
91+
- name: field_of_view
92+
dtype: float32
93+
dims:
94+
- height, width
95+
shape:
96+
- 2
97+
doc: Size of viewing area, in meters.
98+
- name: unit
99+
dtype: text
100+
doc: Unit that axis data is stored in (e.g., degrees).
23101
- name: axis_2_power_map
24-
neurodata_type_inc: AxisMap
102+
dtype: float32
103+
dims:
104+
- num_rows
105+
- num_cols
106+
shape:
107+
- null
108+
- null
109+
doc: Power response on the second measured axis. Response is scaled so 0.0 is
110+
no power in the response and 1.0 is maximum relative power.
25111
quantity: '?'
26-
doc: Power response to stimulus on the second measured axis.
27-
- name: sign_map
28-
neurodata_type_inc: RetinotopyMap
29-
doc: Sine of the angle between the direction of the gradient in axis_1 and axis_2.
112+
attributes:
113+
- name: dimension
114+
dtype: int32
115+
dims:
116+
- num_rows, num_cols
117+
shape:
118+
- 2
119+
doc: 'Number of rows and columns in the image. NOTE: row, column representation
120+
is equivalent to height, width.'
121+
- name: field_of_view
122+
dtype: float32
123+
dims:
124+
- height, width
125+
shape:
126+
- 2
127+
doc: Size of viewing area, in meters.
128+
- name: unit
129+
dtype: text
130+
doc: Unit that axis data is stored in (e.g., degrees).
30131
- name: axis_descriptions
31132
dtype: text
32133
dims:
33-
- num_axes
134+
- axis_1, axis_2
34135
shape:
35136
- 2
36137
doc: Two-element array describing the contents of the two response axis fields.
37-
Description should be something like ['altitude', 'azimuth'] or '['radius', 'theta'].
138+
Description should be something like ['altitude', 'azimuth'] or '['radius',
139+
'theta'].
38140
- name: focal_depth_image
39-
neurodata_type_inc: RetinotopyImage
141+
dtype: uint16
142+
dims:
143+
- num_rows
144+
- num_cols
145+
shape:
146+
- null
147+
- null
40148
doc: 'Gray-scale image taken with same settings/parameters (e.g., focal depth,
41149
wavelength) as data collection. Array format: [rows][columns].'
150+
quantity: '?'
42151
attributes:
152+
- name: bits_per_pixel
153+
dtype: int32
154+
doc: Number of bits used to represent each value. This is necessary to determine
155+
maximum (white) pixel value.
156+
- name: dimension
157+
dtype: int32
158+
dims:
159+
- num_rows, num_cols
160+
shape:
161+
- 2
162+
doc: 'Number of rows and columns in the image. NOTE: row, column representation
163+
is equivalent to height, width.'
164+
- name: field_of_view
165+
dtype: float32
166+
dims:
167+
- height, width
168+
shape:
169+
- 2
170+
doc: Size of viewing area, in meters.
43171
- name: focal_depth
44172
dtype: float32
45173
doc: Focal depth offset, in meters.
46-
- name: vasculature_image
47-
neurodata_type_inc: RetinotopyImage
48-
doc: 'Gray-scale anatomical image of cortical surface. Array structure: [rows][columns]'
49-
50-
datasets:
51-
- neurodata_type_def: RetinotopyMap
52-
neurodata_type_inc: NWBData
53-
dtype: float32
54-
dims:
55-
- num_rows
56-
- num_cols
57-
shape:
58-
- null
59-
- null
60-
doc: 'Abstract two-dimensional map of responses. Array structure: [num_rows][num_columns]'
61-
attributes:
62-
- name: dimension
63-
dtype: int32
64-
dims:
65-
- row_col
66-
shape:
67-
- 2
68-
doc: 'Number of rows and columns in the image. NOTE: row, column representation
69-
is equivalent to height, width.'
70-
- name: field_of_view
174+
- name: format
175+
dtype: text
176+
doc: Format of image. Right now only 'raw' is supported.
177+
- name: sign_map
71178
dtype: float32
72179
dims:
73-
- row_col
74-
shape:
75-
- 2
76-
doc: Size of viewing area, in meters.
77-
78-
- neurodata_type_def: AxisMap
79-
neurodata_type_inc: RetinotopyMap
80-
dtype: float32
81-
dims:
82-
- num_rows
83-
- num_cols
84-
shape:
85-
- null
86-
- null
87-
doc: Abstract two-dimensional map of responses to stimuli along a single response axis (e.g. eccentricity)
88-
attributes:
89-
- name: unit
90-
dtype: text
91-
doc: Unit that axis data is stored in (e.g., degrees).
92-
- neurodata_type_def: RetinotopyImage
93-
neurodata_type_inc: GrayscaleImage
94-
dtype: uint16
95-
doc: 'Gray-scale image related to retinotopic mapping. Array structure: [num_rows][num_columns]'
96-
attributes:
97-
- name: bits_per_pixel
98-
dtype: int32
99-
doc: Number of bits used to represent each value. This is necessary to determine
100-
maximum (white) pixel value.
101-
- name: dimension
102-
dtype: int32
103-
dims:
104-
- row_col
180+
- num_rows
181+
- num_cols
105182
shape:
106-
- 2
107-
doc: 'Number of rows and columns in the image. NOTE: row, column representation
108-
is equivalent to height, width.'
109-
- name: field_of_view
110-
dtype: float32
183+
- null
184+
- null
185+
doc: Sine of the angle between the direction of the gradient in axis_1 and axis_2.
186+
quantity: '?'
187+
attributes:
188+
- name: dimension
189+
dtype: int32
190+
dims:
191+
- num_rows, num_cols
192+
shape:
193+
- 2
194+
doc: 'Number of rows and columns in the image. NOTE: row, column representation
195+
is equivalent to height, width.'
196+
- name: field_of_view
197+
dtype: float32
198+
dims:
199+
- height, width
200+
shape:
201+
- 2
202+
doc: Size of viewing area, in meters.
203+
- name: vasculature_image
204+
dtype: uint16
111205
dims:
112-
- row_col
206+
- num_rows
207+
- num_cols
113208
shape:
114-
- 2
115-
doc: Size of viewing area, in meters.
116-
- name: format
117-
dtype: text
118-
doc: Format of image. Right now only 'raw' is supported.
209+
- null
210+
- null
211+
doc: 'Gray-scale anatomical image of cortical surface. Array structure: [rows][columns]'
212+
attributes:
213+
- name: bits_per_pixel
214+
dtype: int32
215+
doc: Number of bits used to represent each value. This is necessary to determine
216+
maximum (white) pixel value
217+
- name: dimension
218+
dtype: int32
219+
dims:
220+
- num_rows, num_cols
221+
shape:
222+
- 2
223+
doc: 'Number of rows and columns in the image. NOTE: row, column representation
224+
is equivalent to height, width.'
225+
- name: field_of_view
226+
dtype: float32
227+
dims:
228+
- height, width
229+
shape:
230+
- 2
231+
doc: Size of viewing area, in meters.
232+
- name: format
233+
dtype: text
234+
doc: Format of image. Right now only 'raw' is supported.

0 commit comments

Comments
 (0)