Skip to content

Commit fae8faf

Browse files
authored
Merge pull request #795 from AllenNeuralDynamics/791-add-fields-to-fieldofview-in-session
791 add fields to fieldofview in session
2 parents 8e7a2fa + 1e0759e commit fae8faf

File tree

5 files changed

+529
-11
lines changed

5 files changed

+529
-11
lines changed

examples/bergamo_ophys_session.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,13 @@
6565
"fov_scale_factor_unit": "um/pixel",
6666
"frame_rate": "20",
6767
"frame_rate_unit": "hertz",
68-
"coupled_fov_index": null
68+
"coupled_fov_index": null,
69+
"power": null,
70+
"power_unit": "percent",
71+
"scanfield_z": null,
72+
"scanfield_z_unit": "micrometer",
73+
"scanimage_roi_index": null,
74+
"notes": null
6975
}
7076
],
7177
"slap_fovs": null,
Lines changed: 276 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
1+
{
2+
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3+
"schema_version": "0.1.8",
4+
"protocol_id": [],
5+
"experimenter_full_name": [
6+
"John Doe"
7+
],
8+
"session_start_time": "2022-07-12T07:00:00",
9+
"session_end_time": "2022-07-12T07:00:00",
10+
"session_type": "Mesoscope",
11+
"iacuc_protocol": "12345",
12+
"rig_id": "MESO.1",
13+
"calibrations": [],
14+
"maintenance": [],
15+
"subject_id": "12345",
16+
"animal_weight_prior": null,
17+
"animal_weight_post": null,
18+
"weight_unit": "gram",
19+
"data_streams": [
20+
{
21+
"stream_start_time": "2022-07-12T07:00:00",
22+
"stream_end_time": "2022-07-12T07:00:00",
23+
"daq_names": [],
24+
"camera_names": [
25+
"Mesoscope",
26+
"Eye",
27+
"Face",
28+
"Behavior",
29+
"Vasculature"
30+
],
31+
"light_sources": [
32+
{
33+
"device_type": "Laser",
34+
"name": "Laser A",
35+
"wavelength": 920,
36+
"wavelength_unit": "nanometer",
37+
"excitation_power": "10",
38+
"excitation_power_unit": "milliwatt"
39+
}
40+
],
41+
"ephys_modules": [],
42+
"stick_microscopes": [],
43+
"manipulator_modules": [],
44+
"detectors": [],
45+
"fiber_connections": [],
46+
"fiber_modules": [],
47+
"ophys_fovs": [
48+
{
49+
"index": 0,
50+
"imaging_depth": 190,
51+
"imaging_depth_unit": "micrometer",
52+
"targeted_structure": "VISp",
53+
"fov_coordinate_ml": "1.5",
54+
"fov_coordinate_ap": "1.5",
55+
"fov_coordinate_unit": "micrometer",
56+
"fov_reference": "Bregma",
57+
"fov_width": 512,
58+
"fov_height": 512,
59+
"fov_size_unit": "micrometer",
60+
"magnification": "10x",
61+
"fov_scale_factor": "0.78",
62+
"fov_scale_factor_unit": "um/pixel",
63+
"frame_rate": "9.48",
64+
"frame_rate_unit": "hertz",
65+
"coupled_fov_index": 1,
66+
"power": "5",
67+
"power_unit": "percent",
68+
"scanfield_z": 230,
69+
"scanfield_z_unit": "micrometer",
70+
"scanimage_roi_index": 0,
71+
"notes": null
72+
},
73+
{
74+
"index": 1,
75+
"imaging_depth": 232,
76+
"imaging_depth_unit": "micrometer",
77+
"targeted_structure": "VISp",
78+
"fov_coordinate_ml": "1.5",
79+
"fov_coordinate_ap": "1.5",
80+
"fov_coordinate_unit": "micrometer",
81+
"fov_reference": "Bregma",
82+
"fov_width": 512,
83+
"fov_height": 512,
84+
"fov_size_unit": "micrometer",
85+
"magnification": "10x",
86+
"fov_scale_factor": "0.78",
87+
"fov_scale_factor_unit": "um/pixel",
88+
"frame_rate": "9.48",
89+
"frame_rate_unit": "hertz",
90+
"coupled_fov_index": 0,
91+
"power": "42",
92+
"power_unit": "percent",
93+
"scanfield_z": 257,
94+
"scanfield_z_unit": "micrometer",
95+
"scanimage_roi_index": 0,
96+
"notes": null
97+
},
98+
{
99+
"index": 2,
100+
"imaging_depth": 136,
101+
"imaging_depth_unit": "micrometer",
102+
"targeted_structure": "VISp",
103+
"fov_coordinate_ml": "1.5",
104+
"fov_coordinate_ap": "1.5",
105+
"fov_coordinate_unit": "micrometer",
106+
"fov_reference": "Bregma",
107+
"fov_width": 512,
108+
"fov_height": 512,
109+
"fov_size_unit": "micrometer",
110+
"magnification": "10x",
111+
"fov_scale_factor": "0.78",
112+
"fov_scale_factor_unit": "um/pixel",
113+
"frame_rate": "9.48",
114+
"frame_rate_unit": "hertz",
115+
"coupled_fov_index": 3,
116+
"power": "28",
117+
"power_unit": "percent",
118+
"scanfield_z": 176,
119+
"scanfield_z_unit": "micrometer",
120+
"scanimage_roi_index": 0,
121+
"notes": null
122+
},
123+
{
124+
"index": 3,
125+
"imaging_depth": 282,
126+
"imaging_depth_unit": "micrometer",
127+
"targeted_structure": "VISp",
128+
"fov_coordinate_ml": "1.5",
129+
"fov_coordinate_ap": "1.5",
130+
"fov_coordinate_unit": "micrometer",
131+
"fov_reference": "Bregma",
132+
"fov_width": 512,
133+
"fov_height": 512,
134+
"fov_size_unit": "micrometer",
135+
"magnification": "10x",
136+
"fov_scale_factor": "0.78",
137+
"fov_scale_factor_unit": "um/pixel",
138+
"frame_rate": "9.48",
139+
"frame_rate_unit": "hertz",
140+
"coupled_fov_index": 2,
141+
"power": "28",
142+
"power_unit": "percent",
143+
"scanfield_z": 307,
144+
"scanfield_z_unit": "micrometer",
145+
"scanimage_roi_index": 0,
146+
"notes": null
147+
},
148+
{
149+
"index": 4,
150+
"imaging_depth": 72,
151+
"imaging_depth_unit": "micrometer",
152+
"targeted_structure": "VISp",
153+
"fov_coordinate_ml": "1.5",
154+
"fov_coordinate_ap": "1.5",
155+
"fov_coordinate_unit": "micrometer",
156+
"fov_reference": "Bregma",
157+
"fov_width": 512,
158+
"fov_height": 512,
159+
"fov_size_unit": "micrometer",
160+
"magnification": "10x",
161+
"fov_scale_factor": "0.78",
162+
"fov_scale_factor_unit": "um/pixel",
163+
"frame_rate": "9.48",
164+
"frame_rate_unit": "hertz",
165+
"coupled_fov_index": 5,
166+
"power": "12",
167+
"power_unit": "percent",
168+
"scanfield_z": 112,
169+
"scanfield_z_unit": "micrometer",
170+
"scanimage_roi_index": 0,
171+
"notes": null
172+
},
173+
{
174+
"index": 5,
175+
"imaging_depth": 326,
176+
"imaging_depth_unit": "micrometer",
177+
"targeted_structure": "VISp",
178+
"fov_coordinate_ml": "1.5",
179+
"fov_coordinate_ap": "1.5",
180+
"fov_coordinate_unit": "micrometer",
181+
"fov_reference": "Bregma",
182+
"fov_width": 512,
183+
"fov_height": 512,
184+
"fov_size_unit": "micrometer",
185+
"magnification": "10x",
186+
"fov_scale_factor": "0.78",
187+
"fov_scale_factor_unit": "um/pixel",
188+
"frame_rate": "9.48",
189+
"frame_rate_unit": "hertz",
190+
"coupled_fov_index": 4,
191+
"power": "12",
192+
"power_unit": "percent",
193+
"scanfield_z": 351,
194+
"scanfield_z_unit": "micrometer",
195+
"scanimage_roi_index": 0,
196+
"notes": null
197+
},
198+
{
199+
"index": 6,
200+
"imaging_depth": 30,
201+
"imaging_depth_unit": "micrometer",
202+
"targeted_structure": "VISp",
203+
"fov_coordinate_ml": "1.5",
204+
"fov_coordinate_ap": "1.5",
205+
"fov_coordinate_unit": "micrometer",
206+
"fov_reference": "Bregma",
207+
"fov_width": 512,
208+
"fov_height": 512,
209+
"fov_size_unit": "micrometer",
210+
"magnification": "10x",
211+
"fov_scale_factor": "0.78",
212+
"fov_scale_factor_unit": "um/pixel",
213+
"frame_rate": "9.48",
214+
"frame_rate_unit": "hertz",
215+
"coupled_fov_index": 7,
216+
"power": "5",
217+
"power_unit": "percent",
218+
"scanfield_z": 70,
219+
"scanfield_z_unit": "micrometer",
220+
"scanimage_roi_index": 0,
221+
"notes": null
222+
},
223+
{
224+
"index": 7,
225+
"imaging_depth": 364,
226+
"imaging_depth_unit": "micrometer",
227+
"targeted_structure": "VISp",
228+
"fov_coordinate_ml": "1.5",
229+
"fov_coordinate_ap": "1.5",
230+
"fov_coordinate_unit": "micrometer",
231+
"fov_reference": "Bregma",
232+
"fov_width": 512,
233+
"fov_height": 512,
234+
"fov_size_unit": "micrometer",
235+
"magnification": "10x",
236+
"fov_scale_factor": "0.78",
237+
"fov_scale_factor_unit": "um/pixel",
238+
"frame_rate": "9.48",
239+
"frame_rate_unit": "hertz",
240+
"coupled_fov_index": 6,
241+
"power": "5",
242+
"power_unit": "percent",
243+
"scanfield_z": 389,
244+
"scanfield_z_unit": "micrometer",
245+
"scanimage_roi_index": 0,
246+
"notes": null
247+
}
248+
],
249+
"slap_fovs": null,
250+
"stack_parameters": null,
251+
"stimulus_device_names": [],
252+
"mouse_platform_name": "disc",
253+
"active_mouse_platform": true,
254+
"stream_modalities": [
255+
{
256+
"name": "Planar optical physiology",
257+
"abbreviation": "ophys"
258+
},
259+
{
260+
"name": "Behavior videos",
261+
"abbreviation": "behavior-videos"
262+
},
263+
{
264+
"name": "Confocal microscopy",
265+
"abbreviation": "confocal"
266+
}
267+
],
268+
"notes": null
269+
}
270+
],
271+
"stimulus_epochs": [],
272+
"reward_delivery": null,
273+
"reward_consumed_total": null,
274+
"reward_consumed_unit": "microliter",
275+
"notes": null
276+
}

0 commit comments

Comments
 (0)