Skip to content

Commit 72a1de8

Browse files
committed
Fix typos
1 parent e5a918a commit 72a1de8

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

00-Getting_Started/01-DataJoint Basics - Interactive.ipynb

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
]
7777
},
7878
{
79+
"attachments": {},
7980
"cell_type": "markdown",
8081
"metadata": {},
8182
"source": [
@@ -86,7 +87,7 @@
8687
"> * In a session of electrophysiology\n",
8788
">> * you record electrical activity from a single neuron. You use recording equipment that produces separate data files for each neuron you recorded.\n",
8889
">> * Neuron's activities are recorded as raw traces. Neuron's spikes needs to be detected for further analysis to be performed.\n",
89-
"> * In a sesssion of calcium imaging\n",
90+
"> * In a session of calcium imaging\n",
9091
">> * you scan a brain region containing a number of neurons. You use recording equipment that produces separate data files for each scan you performed.\n",
9192
">> * you would like to segment the frames and get the regions of interest (ROIs), and save a mask for each ROI\n",
9293
">> * finally you would like to extract the trace from each segmented ROI"
@@ -107,6 +108,7 @@
107108
]
108109
},
109110
{
111+
"attachments": {},
110112
"cell_type": "markdown",
111113
"metadata": {},
112114
"source": [
@@ -117,7 +119,7 @@
117119
"> * In a session of electrophysiology\n",
118120
">> * you record electrical activity from a **single neuron**. You use recording equipment that produces separate data files for each neuron you recorded.\n",
119121
">> * Neuron's activities are recorded as raw traces. **Neuron's spikes** needs to be detected for further analysis to be performed.\n",
120-
"> * In a sesssion of calcium imaging\n",
122+
"> * In a session of calcium imaging\n",
121123
">> * you scan a brain region containing a number of neurons. You use recording equipment that produces separate data files for each **scan** you performed.\n",
122124
">> * you would like to segment the frames and get the **regions of interest (ROIs)**, and save a mask for each ROI\n",
123125
">> * finally you would like to extract the **trace** from each segmented ROI"
@@ -549,7 +551,7 @@
549551
"source": [
550552
"Note that, to uniquely identify an experimental session (or simply a **session**), we need to know the mouse that the session was about. In other words, a session cannot existing without a corresponding mouse! \n",
551553
"\n",
552-
"With **mouse** already represented as a table in our pipeline, we say that the session **depends on** the mouse! We could graphically represent this in an **entity relationship diagram (ERD)** by drawing the line between two tables, with the one below (**session**) dependeing on the one above (**mouse**)."
554+
"With **mouse** already represented as a table in our pipeline, we say that the session **depends on** the mouse! We could graphically represent this in an **entity relationship diagram (ERD)** by drawing the line between two tables, with the one below (**session**) depending on the one above (**mouse**)."
553555
]
554556
},
555557
{
@@ -1175,11 +1177,12 @@
11751177
]
11761178
},
11771179
{
1180+
"attachments": {},
11781181
"cell_type": "markdown",
11791182
"metadata": {},
11801183
"source": [
11811184
"### Rename attribute with proj()\n",
1182-
"Say we want to rename the exisiting attribute `dob` of the `Mouse` table to `date_of_birth`, this can be done using `.proj()`"
1185+
"Say we want to rename the existing attribute `dob` of the `Mouse` table to `date_of_birth`, this can be done using `.proj()`"
11831186
]
11841187
},
11851188
{
@@ -1209,10 +1212,11 @@
12091212
]
12101213
},
12111214
{
1215+
"attachments": {},
12121216
"cell_type": "markdown",
12131217
"metadata": {},
12141218
"source": [
1215-
"Note: as you can see, the projection results keep the primary attributes from the `Mouse * Session` joinning operation, while removing all other non-primary attributes. To Keep all other attributes, you can use the `...` syntax"
1219+
"Note: as you can see, the projection results keep the primary attributes from the `Mouse * Session` joining operation, while removing all other non-primary attributes. To Keep all other attributes, you can use the `...` syntax"
12161220
]
12171221
},
12181222
{

03-Completed_Exercises/01-DataJoint Basics - Completed.ipynb

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@
4545
]
4646
},
4747
{
48+
"attachments": {},
4849
"cell_type": "markdown",
4950
"metadata": {},
5051
"source": [
5152
"If you visit the [documentation for DataJoint](https://docs.datajoint.io/introduction/Data-pipelines.html), we define a data pipeline as follows:\n",
5253
"> A data pipeline is a sequence of steps (more generally a directed acyclic graph) with integrated storage at each step. These steps may be thought of as nodes in a graph.\n",
5354
"\n",
54-
"While this is an accurate description, it may not be the most intuitive definition. Put succinctly, a data pipeline is a listing or a \"map\" of various \"things\" that you work with in a project, with line connecting things to each other to indicate their dependecies. The \"things\" in a data pipeline tends to be the *nouns* you find when describing a project. The \"things\" may include anything from mouse, experimenter, equipment, to experiment session, trial, two-photon scans, electric activities, to receptive fields, neuronal spikes, to figures for a publication! A data pipeline gives you a framework to:\n",
55+
"While this is an accurate description, it may not be the most intuitive definition. Put succinctly, a data pipeline is a listing or a \"map\" of various \"things\" that you work with in a project, with line connecting things to each other to indicate their dependencies. The \"things\" in a data pipeline tends to be the *nouns* you find when describing a project. The \"things\" may include anything from mouse, experimenter, equipment, to experiment session, trial, two-photon scans, electric activities, to receptive fields, neuronal spikes, to figures for a publication! A data pipeline gives you a framework to:\n",
5556
"\n",
5657
"1. define these \"things\" as tables in which you can store the information about them\n",
5758
"2. define the relationships (in particular the dependencies) between the \"things\"\n",
@@ -76,6 +77,7 @@
7677
]
7778
},
7879
{
80+
"attachments": {},
7981
"cell_type": "markdown",
8082
"metadata": {},
8183
"source": [
@@ -86,7 +88,7 @@
8688
"> * In a session of electrophysiology\n",
8789
">> * you record electrical activity from a single neuron. You use recording equipment that produces separate data files for each neuron you recorded.\n",
8890
">> * Neuron's activities are recorded as raw traces. Neuron's spikes needs to be detected for further analysis to be performed.\n",
89-
"> * In a sesssion of calcium imaging\n",
91+
"> * In a session of calcium imaging\n",
9092
">> * you scan a brain region containing a number of neurons. You use recording equipment that produces separate data files for each scan you performed.\n",
9193
">> * you would like to segment the frames and get the regions of interest (ROIs), and save a mask for each ROI\n",
9294
">> * finally you would like to extract the trace from each segmented ROI"
@@ -107,6 +109,7 @@
107109
]
108110
},
109111
{
112+
"attachments": {},
110113
"cell_type": "markdown",
111114
"metadata": {},
112115
"source": [
@@ -117,7 +120,7 @@
117120
"> * In a session of electrophysiology\n",
118121
">> * you record electrical activity from a **single neuron**. You use recording equipment that produces separate data files for each neuron you recorded.\n",
119122
">> * Neuron's activities are recorded as raw traces. **Neuron's spikes** needs to be detected for further analysis to be performed.\n",
120-
"> * In a sesssion of calcium imaging\n",
123+
"> * In a session of calcium imaging\n",
121124
">> * you scan a brain region containing a number of neurons. You use recording equipment that produces separate data files for each **scan** you performed.\n",
122125
">> * you would like to segment the frames and get the **regions of interest (ROIs)**, and save a mask for each ROI\n",
123126
">> * finally you would like to extract the **trace** from each segmented ROI"
@@ -1053,12 +1056,13 @@
10531056
]
10541057
},
10551058
{
1059+
"attachments": {},
10561060
"cell_type": "markdown",
10571061
"metadata": {},
10581062
"source": [
10591063
"Note that, to uniquely identify an experimental session (or simply a **session**), we need to know the mouse that the session was about. In other words, a session cannot existing without a corresponding mouse! \n",
10601064
"\n",
1061-
"With **mouse** already represented as a table in our pipeline, we say that the session **depends on** the mouse! We could graphically represent this in an **entity relationship diagram (ERD)** by drawing the line between two tables, with the one below (**session**) dependeing on the one above (**mouse**)."
1065+
"With **mouse** already represented as a table in our pipeline, we say that the session **depends on** the mouse! We could graphically represent this in an **entity relationship diagram (ERD)** by drawing the line between two tables, with the one below (**session**) depending on the one above (**mouse**)."
10621066
]
10631067
},
10641068
{
@@ -1114,7 +1118,7 @@
11141118
}
11151119
],
11161120
"source": [
1117-
"dj.ERD(schema)"
1121+
"dj.Diagram(schema)"
11181122
]
11191123
},
11201124
{
@@ -4006,11 +4010,12 @@
40064010
]
40074011
},
40084012
{
4013+
"attachments": {},
40094014
"cell_type": "markdown",
40104015
"metadata": {},
40114016
"source": [
40124017
"### Rename attribute with proj()\n",
4013-
"Say we want to rename the exisiting attribute `dob` of the `Mouse` table to `date_of_birth`, this can be done using `.proj()`"
4018+
"Say we want to rename the existing attribute `dob` of the `Mouse` table to `date_of_birth`, this can be done using `.proj()`"
40144019
]
40154020
},
40164021
{
@@ -4238,10 +4243,11 @@
42384243
]
42394244
},
42404245
{
4246+
"attachments": {},
42414247
"cell_type": "markdown",
42424248
"metadata": {},
42434249
"source": [
4244-
"Note: as you can see, the projection results keep the primary attributes from the `Mouse * Session` joinning operation, while removing all other non-primary attributes. To Keep all other attributes, you can use the `...` syntax"
4250+
"Note: as you can see, the projection results keep the primary attributes from the `Mouse * Session` joining operation, while removing all other non-primary attributes. To Keep all other attributes, you can use the `...` syntax"
42454251
]
42464252
},
42474253
{

0 commit comments

Comments
 (0)