@@ -89,6 +89,7 @@ This will create a file named `nwb_animal_123_session_1.nwb` with default metada
8989Export with custom metadata and subject information:
9090
9191``` python
92+ from ethopy.utils.export.nwb import export_to_nwb
9293filename = export_to_nwb(
9394 animal_id = 123 ,
9495 session_id = 1 ,
@@ -108,6 +109,8 @@ filename = export_to_nwb(
108109Specify a custom output filename:
109110
110111``` python
112+ from ethopy.utils.export.nwb import export_to_nwb
113+
111114filename = export_to_nwb(
112115 animal_id = 123 ,
113116 session_id = 1 ,
@@ -118,6 +121,8 @@ filename = export_to_nwb(
118121
119122### Clarify the configuration path
120123``` python
124+ from ethopy.utils.export.nwb import export_to_nwb
125+
121126filename = export_to_nwb(
122127 animal_id = 123 ,
123128 session_id = 1 ,
@@ -196,6 +201,8 @@ filename, nwb_obj = export_to_nwb(
196201Export multiple sessions at once:
197202
198203``` python
204+ from ethopy.utils.export.nwb import batch_export_to_nwb
205+
199206# Define sessions to export
200207animal_session_list = [
201208 (123 , 1 ),
@@ -206,7 +213,7 @@ animal_session_list = [
206213
207214# Batch export with common parameters
208215exported_files = batch_export_to_nwb(
209- sessions ,
216+ animal_session_list ,
210217 experimenter = " Dr. Smith" ,
211218 lab = " Vision Lab" ,
212219 institution = " FORTH IMBB" ,
0 commit comments