Skip to content

Commit

Permalink
Split final cell
Browse files Browse the repository at this point in the history
  • Loading branch information
caiw committed Dec 8, 2023
1 parent 1cbe7c3 commit 25fb9d5
Showing 1 changed file with 35 additions and 19 deletions.
54 changes: 35 additions & 19 deletions demos/demo_plotting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"metadata": {
"collapsed": true,
"ExecuteTime": {
"end_time": "2023-12-08T09:38:10.354496Z",
"start_time": "2023-12-08T09:38:08.754337Z"
"end_time": "2023-12-08T09:41:43.261575Z",
"start_time": "2023-12-08T09:41:41.859424Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -110,8 +110,8 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-12-08T09:38:13.685159Z",
"start_time": "2023-12-08T09:38:10.356916Z"
"end_time": "2023-12-08T09:41:46.946711Z",
"start_time": "2023-12-08T09:41:43.263252Z"
}
},
"id": "4023a711ee8a1675"
Expand All @@ -136,8 +136,8 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-12-08T09:38:23.112232Z",
"start_time": "2023-12-08T09:38:13.685869Z"
"end_time": "2023-12-08T09:41:56.500684Z",
"start_time": "2023-12-08T09:41:46.937521Z"
}
},
"id": "d466d1d098417e8"
Expand Down Expand Up @@ -168,8 +168,8 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-12-08T09:38:26.001668Z",
"start_time": "2023-12-08T09:38:23.109013Z"
"end_time": "2023-12-08T09:41:58.624517Z",
"start_time": "2023-12-08T09:41:56.498730Z"
}
},
"id": "d77e82f5aaaa4e74"
Expand Down Expand Up @@ -201,8 +201,8 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-12-08T09:38:27.661022Z",
"start_time": "2023-12-08T09:38:26.003324Z"
"end_time": "2023-12-08T09:42:00.287261Z",
"start_time": "2023-12-08T09:41:58.624618Z"
}
},
"id": "2c27c48ebb92d21a"
Expand Down Expand Up @@ -269,8 +269,8 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-12-08T09:38:32.035408Z",
"start_time": "2023-12-08T09:38:27.663710Z"
"end_time": "2023-12-08T09:42:07.723444Z",
"start_time": "2023-12-08T09:42:00.287610Z"
}
},
"id": "736f99a2ddc28751"
Expand All @@ -294,7 +294,7 @@
"output_type": "stream",
"text": [
"Downloading dataset: TVL_2020_delta_ins_tontop_chan1_loudness_only_sensors\n",
"Downloading https://kymata.org/assets_kymata_toolbox_tutorial_data/gridsearch-result-data//TVL_2020_delta_ins_tontop_chan1_loudness_only_sensors.nkg to /Users/cai/Dox/Work/Kymata lab/Data/kymata_data/TVL_2020_delta_ins_tontop_chan1_loudness_only_sensors/TVL_2020_delta_ins_tontop_chan1_loudness_only_sensors.nkg\n"
"Local file already exists: /Users/cai/Dox/Work/Kymata lab/Data/kymata_data/TVL_2020_delta_ins_tontop_chan1_loudness_only_sensors/TVL_2020_delta_ins_tontop_chan1_loudness_only_sensors.nkg\n"
]
},
{
Expand All @@ -304,7 +304,25 @@
},
"metadata": {},
"output_type": "display_data"
},
}
],
"source": [
"expression_data_TVL_ins_loudness_TC1_sensors: SensorExpressionSet = TVLDeltaInsTC1LoudnessOnlySensorsDataset().to_expressionset()\n",
"expression_plot(expression_data_TVL_ins_loudness_TC1_sensors)"
],
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-12-08T09:42:08.112206Z",
"start_time": "2023-12-08T09:42:07.723021Z"
}
},
"id": "b3b78bf3b02b4d62"
},
{
"cell_type": "code",
"execution_count": 8,
"outputs": [
{
"data": {
"text/plain": "<Figure size 1200x700 with 1 Axes>",
Expand All @@ -315,20 +333,18 @@
}
],
"source": [
"expression_data_TVL_ins_loudness_TC1_sensors: SensorExpressionSet = TVLDeltaInsTC1LoudnessOnlySensorsDataset().to_expressionset()\n",
"expression_plot(expression_data_TVL_ins_loudness_TC1_sensors)\n",
"# With sensor data we can also plot all sensors pointing in the same direction if we don't wish to\n",
"# distinguish between left and right sensors\n",
"expression_plot(expression_data_TVL_ins_loudness_TC1_sensors, paired_axes=False)"
],
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-12-08T09:38:32.805837Z",
"start_time": "2023-12-08T09:38:32.034015Z"
"end_time": "2023-12-08T09:42:08.419536Z",
"start_time": "2023-12-08T09:42:08.114781Z"
}
},
"id": "b3b78bf3b02b4d62"
"id": "c13303dd354ee1e8"
}
],
"metadata": {
Expand Down

0 comments on commit 25fb9d5

Please sign in to comment.