|
@@ -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": {
|