Browse Source

gin commit from magenta

New files: 1
Modified files: 2
M. Sonntag 3 years ago
parent
commit
81cc66048f
3 changed files with 93 additions and 2 deletions
  1. 92 1
      2020_RDM_course_nix_excercise.ipynb
  2. BIN
      Exercise.nix
  3. 1 1
      excercise/README.md

+ 92 - 1
2020_RDM_course_nix_excercise.ipynb

@@ -108,7 +108,98 @@
    "execution_count": null,
    "metadata": {},
    "outputs": [],
-   "source": []
+   "source": [
+    "# Create a new, writeable NIX file. Don't forget to close it when you are done.\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Create a Block to store Data in, use an appropriate naming and type scheme.\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Create a DataArray on the block with the already loaded data above.\n",
+    "#  Again use appropriate naming and type, label and unit.\n",
+    "#  Make sure you can identify the corresponding data later on.\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Add the appropriate two dimensions to the DataArray.\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Plot data from the DataArray and compare to the plot above.\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Add DataArrays for the other two data files as well.\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Create metadata Sections and Properties in the file to document general metadata e.g. Species and Hardware\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Create metadata Sections specific to the DataArrays, document metadata specific to the raw data \n",
+    "#  and connect them to the appropriate DataArrays.\n",
+    "#  Where appropriate try to add units to the Property values via the \"property.unit\" method.\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Try to access the saved metadata from the DataArrays\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Use a MultiTag to connect all three DataArrays via a common region of interest\n",
+    "#  e.g. using the experiments' stimulus protocol oxygen upshift from t1 110s to t2 470s\n",
+    "#  or define your own region of interest. You will need an additional DataArray providing \n",
+    "#  this region of interest. Connect the three DataArrays to the MultiTag after it has been\n",
+    "#  created.\n"
+   ]
   }
  ],
  "metadata": {

BIN
Exercise.nix


+ 1 - 1
excercise/README.md

@@ -34,7 +34,7 @@ The columns are interpreted as:
 [9] y_old               ... previous y position of region of interest [px]
 
 ## Recording files metadata
-file name, strain, protocol [%], feeding condition [hour], worm resting time [min], tracked neuron, intensity, Comments, tracking comment, frames, genetic modification, shifting times [s], worm, paralytic agent, EM gain settig, LED I, Gray Filter, exposure
+file name, strain, protocol [%], feeding condition [hour], worm resting time [min], tracked neuron, intensity, Comments, tracking comment, frames, genetic modification, shifting times [s], worm, paralytic agent, EM gain setting, LED I, Gray Filter, exposure
 
 20121202Pflp178GCaMP5kN2shift_210421W1, N2, cs01_shift 21-04-21, 1h50, 7', BAG,	4000/400,'' ,'' 6100, Pflp-8; Pflp-17::GCaMP5.k, 110-360-150, 1, Tetramisol 5mM, 1500, 20, 0.2, 100 ms