|
12 | 12 | "\n",
|
13 | 13 | "The study sheds new insights into the persistnent neural activity of the frontal thalamocortical circuit, suggesting that reciprocal excitation between the anterior lateral motor cortex (ALM) and the thalamus is needed to maintain persistent activity in motor preparation. Intracellular and extracellular recordings were performed on mouse ALM and thalamus neurons during tectile discrimination task with and without optogenetic perturbation. The study reported near-complete collapse of ALM activity upon photoinhibition of the thalamus, and photoinhibition of the ALM resulted in diminished thalamic activity. \n",
|
14 | 14 | "\n",
|
15 |
| - "This notebook provides demonstrations of working with a ***DataJoint*** data pipeline in querying data, apply data conditioning and reproduce some key figures in the paper. The orignal data available in NWB 2.0 format had been ingested into a DataJoint data pipeline (data pipeline schema is given below). As a validation of complete ingestion of the original data into DataJoint, figures 3b,e, 6b,e and 4b,e,h will be reproduced in this notebook." |
| 15 | + "This notebook provides demonstrations of working with a ***DataJoint*** data pipeline in querying data, apply data conditioning and reproduce some key figures in the paper. The original data available in NWB 2.0 format had been ingested into a DataJoint data pipeline (data pipeline schema is given below). As a validation of complete ingestion of the original data into DataJoint, figures 3b,e, 6b,e and 4b,e,h will be reproduced in this notebook." |
16 | 16 | ]
|
17 | 17 | },
|
18 | 18 | {
|
|
1565 | 1565 | " <span class=\"djtooltiptext\">in mm, anterior positive, posterior negative</span>\n",
|
1566 | 1566 | " </div></th><th><div class=\"djtooltip\">\n",
|
1567 | 1567 | " <p id=\"primary\">coordinate_ml</p>\n",
|
1568 |
| - " <span class=\"djtooltiptext\">in mm, always postive, number larger when more lateral</span>\n", |
| 1568 | + " <span class=\"djtooltiptext\">in mm, always positive, number larger when more lateral</span>\n", |
1569 | 1569 | " </div></th><th><div class=\"djtooltip\">\n",
|
1570 | 1570 | " <p id=\"primary\">coordinate_dv</p>\n",
|
1571 |
| - " <span class=\"djtooltiptext\">in mm, always postive, number larger when more ventral (deeper)</span>\n", |
| 1571 | + " <span class=\"djtooltiptext\">in mm, always positive, number larger when more ventral (deeper)</span>\n", |
1572 | 1572 | " </div></th><th><div class=\"djtooltip\">\n",
|
1573 | 1573 | " <p id=\"primary\">unit_id</p>\n",
|
1574 | 1574 | " <span class=\"djtooltiptext\"></span>\n",
|
|
3110 | 3110 | "source": [
|
3111 | 3111 | "The following parts of this example relates to the extracellular recording results of this study, namely the neuronal spiking patterns in response to photostimulation.\n",
|
3112 | 3112 | "\n",
|
3113 |
| - "Fairly similar to the routine layed out above, we wish to query neuronal spike times, segmented time-locked to the \"delay\" period, categorized by recording locations and photostimulation locations:\n", |
| 3113 | + "Fairly similar to the routine laid out above, we wish to query neuronal spike times, segmented time-locked to the \"delay\" period, categorized by recording locations and photostimulation locations:\n", |
3114 | 3114 | "+ Recording at ALM, stimulation at ALM\n",
|
3115 | 3115 | "+ Recording at ALM, stimulation at Thalamus\n",
|
3116 | 3116 | "+ Recording at Thalamus, stimulation at Thalamus\n",
|
|
3309 | 3309 | "cell_type": "markdown",
|
3310 | 3310 | "metadata": {},
|
3311 | 3311 | "source": [
|
3312 |
| - "Here, we define a helper function to query and fetch the trial-segmented spike times for a single unit in a specifed session: `query_unit_segmented_spiketimes()`" |
| 3312 | + "Here, we define a helper function to query and fetch the trial-segmented spike times for a single unit in a specified session: `query_unit_segmented_spiketimes()`" |
3313 | 3313 | ]
|
3314 | 3314 | },
|
3315 | 3315 | {
|
|
3318 | 3318 | "metadata": {},
|
3319 | 3319 | "outputs": [],
|
3320 | 3320 | "source": [
|
3321 |
| - "# get trial-segmented spiketimes for a single unit in the specifed session\n", |
| 3321 | + "# get trial-segmented spiketimes for a single unit in the specified session\n", |
3322 | 3322 | "def query_unit_segmented_spiketimes(sess_key, unit, trial_key, seg_param_key):\n",
|
3323 | 3323 | " data_keys = (extracellular.TrialSegmentedUnitSpikeTimes & sess_key & {'unit_id': unit} & seg_param_key &\n",
|
3324 | 3324 | " ((acquisition.TrialSet.Trial & trial_key) & (stimulation.TrialPhotoStimInfo & trial_key))).fetch('KEY')\n",
|
|
3619 | 3619 | "metadata": {},
|
3620 | 3620 | "outputs": [],
|
3621 | 3621 | "source": [
|
3622 |
| - "# get trial-segmented spiketimes for all units in all specifed sessions\n", |
| 3622 | + "# get trial-segmented spiketimes for all units in all specified sessions\n", |
3623 | 3623 | "def extract_segmented_spiketimes_histogram(units, trial_cond, seg_param_key, time_range=(-1.5, 3), bin_counts=1000):\n",
|
3624 | 3624 | " unit_keys = units.fetch('KEY')\n",
|
3625 | 3625 | " print(f'Found {len(unit_keys)} units') \n",
|
|
0 commit comments