|
@@ -138,7 +138,7 @@
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
- "import nixio as nix\n"
|
|
|
+ "import nixio\n"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -149,7 +149,7 @@
|
|
|
"source": [
|
|
|
"# Lets explore the metadata functions of NIX before going more into detail\n",
|
|
|
"# We will re-use this file throughout the following examples\n",
|
|
|
- "f = nix.File.open(\"metadata.nix\", nix.FileMode.Overwrite)\n"
|
|
|
+ "f = nixio.File.open(\"metadata.nix\", nixio.FileMode.Overwrite)\n"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -501,7 +501,7 @@
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
- "f = nix.File.open(\"metadata.nix\", nix.FileMode.ReadWrite)"
|
|
|
+ "f = nixio.File.open(\"metadata.nix\", nixio.FileMode.ReadWrite)"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -661,7 +661,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 27,
|
|
|
+ "execution_count": 26,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -670,7 +670,7 @@
|
|
|
"[DataArray: {name = recording.20210405, type = shift.data}]"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 27,
|
|
|
+ "execution_count": 26,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
@@ -682,7 +682,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 28,
|
|
|
+ "execution_count": 27,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -691,7 +691,7 @@
|
|
|
"[Tag: {name = stimulus.down.3, type = stimulus.shift}]"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 28,
|
|
|
+ "execution_count": 27,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
@@ -702,7 +702,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 29,
|
|
|
+ "execution_count": 28,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -712,7 +712,7 @@
|
|
|
" Tag: {name = stimulus.down.3, type = stimulus.shift}]"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 29,
|
|
|
+ "execution_count": 28,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
@@ -725,7 +725,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 30,
|
|
|
+ "execution_count": 29,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -734,7 +734,7 @@
|
|
|
"[]"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 30,
|
|
|
+ "execution_count": 29,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
@@ -745,7 +745,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 31,
|
|
|
+ "execution_count": 30,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -754,7 +754,7 @@
|
|
|
"[]"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 31,
|
|
|
+ "execution_count": 30,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
@@ -765,7 +765,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 32,
|
|
|
+ "execution_count": 31,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -774,7 +774,7 @@
|
|
|
"[]"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 32,
|
|
|
+ "execution_count": 31,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
@@ -785,7 +785,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 33,
|
|
|
+ "execution_count": 32,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
@@ -810,20 +810,20 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 34,
|
|
|
+ "execution_count": 33,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
"# The file that will contain templates for import\n",
|
|
|
- "ft = nix.File.open(\"metadata_templates.nix\", nix.FileMode.Overwrite)\n",
|
|
|
+ "ft = nixio.File.open(\"metadata_templates.nix\", nixio.FileMode.Overwrite)\n",
|
|
|
"\n",
|
|
|
"# The current example file will contain the data and will import from the templates file\n",
|
|
|
- "fi = nix.File.open(\"metadata.nix\", nix.FileMode.ReadWrite)"
|
|
|
+ "fi = nixio.File.open(\"metadata.nix\", nixio.FileMode.ReadWrite)"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 35,
|
|
|
+ "execution_count": 34,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
@@ -850,7 +850,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 36,
|
|
|
+ "execution_count": 35,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -883,7 +883,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 37,
|
|
|
+ "execution_count": 36,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -892,7 +892,7 @@
|
|
|
"Section: {name = microscope_station_A, type = hardware.microscopes}"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 37,
|
|
|
+ "execution_count": 36,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
@@ -924,7 +924,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 38,
|
|
|
+ "execution_count": 37,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -971,7 +971,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 39,
|
|
|
+ "execution_count": 38,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|