Skip to content

Commit 16cc8da

Browse files
jsiegleNileGraddis
authored andcommitted
Re-run tutorials after merge
1 parent 168ea0e commit 16cc8da

File tree

4 files changed

+275
-20
lines changed

4 files changed

+275
-20
lines changed

doc_template/examples_root/examples/nb/ecephys_data_access.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"\n",
1717
"## Options for data access\n",
1818
"\n",
19-
"The recommended way of interacting with the data is via the **`EcephysProjectCache` object of the AllenSDK**. This method abstracts away the details of on-disk file storage, and delivers the data to you as ready-to-analyze Python objects. The cache will automatically keep track of which files are stored locally, and will download additional files on an as-needed basis. Usually you won't need to worry about how these files are structured, but this tutorial will cover those details in case you want to analyze them without using the AllenSDK (e.g., in Matlab). This tutorial begins with <a href='#Using-the-AllenSDK-to-retrieve-data'>an introduction to this approach</a>.\n",
19+
"The **`EcephysProjectCache` object of the AllenSDK** is the easiest way to interact with the data. This object abstracts away the details of on-disk file storage, and delivers the data to you as ready-to-analyze Python objects. The cache will automatically keep track of which files are stored locally, and will download additional files on an as-needed basis. Usually you won't need to worry about how these files are structured, but this tutorial will cover those details in case you want to analyze them without using the AllenSDK (e.g., in Matlab). This tutorial begins with <a href='#Using-the-AllenSDK-to-retrieve-data'>an introduction to this approach</a>.\n",
2020
"\n",
21-
"If you have an **Amazon Web Services (AWS)** account, all of the data is available via the Allen Brain Observatory Simple Storage Service (S3) bucket. This is an AWS Public Dataset located at `arn:aws:s3:::allen-brain-observatory` in region `us-west-2`. Launching a Jupyter notebook instance on AWS will allow you to access the complete dataset without having to download anything locally. This includes around 80 TB of raw data files, which are not accessible via the AllenSDK. The only drawback is that you'll need to pay for the time that your instance is running—but this can still be economical in many cases. A brief overview of this approach can be found <a href='#Accessing-data-on-AWS'>below</a>.\n",
21+
"If you have an **Amazon Web Services (AWS)** account, you can use an `EcephysProjectCache` object to access the data via the Allen Brain Observatory Simple Storage Service (S3) bucket. This is an AWS Public Dataset located at `arn:aws:s3:::allen-brain-observatory` in region `us-west-2`. Launching a Jupyter notebook instance on AWS will allow you to access the complete dataset without having to download anything locally. This includes around 80 TB of raw data files, which are not accessible via the AllenSDK. The only drawback is that you'll need to pay for the time that your instance is running—but this can still be economical in many cases. A brief overview of this approach can be found <a href='#Accessing-data-on-AWS'>below</a>.\n",
2222
"\n",
2323
"A third option is to directly download the data via **api.brain-map.org**. This should be used only as a last resort if the other options are broken or are not available to you. Instructions for this can be found <a href='#Direct-download-via-api.brain-map.org'>at the end of this tutorial</a>."
2424
]
@@ -1117,7 +1117,7 @@
11171117
"cell_type": "markdown",
11181118
"metadata": {},
11191119
"source": [
1120-
"If you want to analyze the data without downloading anything to your local machine, you can use AWS.\n",
1120+
"If you want to analyze the data without downloading anything to your local machine, you can use the AllenSDK on AWS.\n",
11211121
"\n",
11221122
"Follow [these instructions](https://github.com/AllenInstitute/AllenSDK/wiki/Use-the-Allen-Brain-Observatory-%E2%80%93-Visual-Coding-on-AWS) to launch a Jupyter notebook. Then, simply point to the existing manifest file in the Allen Institute's S3 bucket, and all of the data will be immediately available:"
11231123
]

doc_template/examples_root/examples/nb/ecephys_lfp_analysis.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@
884884
"name": "stderr",
885885
"output_type": "stream",
886886
"text": [
887-
"/home/joshs/anaconda3/envs/ecephys-tutorials/lib/python3.7/site-packages/allensdk/brain_observatory/ecephys/ecephys_session.py:1062: UserWarning: Session includes invalid time intervals that could be accessed with the attribute 'invalid_times',Spikes within these intervals are invalid and may need to be excluded from the analysis.\n",
887+
"/home/joshs/anaconda3/envs/ecephys-tutorials/lib/python3.7/site-packages/allensdk/brain_observatory/ecephys/ecephys_session.py:1088: UserWarning: Session includes invalid time intervals that could be accessed with the attribute 'invalid_times',Spikes within these intervals are invalid and may need to be excluded from the analysis.\n",
888888
" warnings.warn(\"Session includes invalid time intervals that could be accessed with the attribute 'invalid_times',\"\n"
889889
]
890890
}

doc_template/examples_root/examples/nb/ecephys_quality_metrics.ipynb

Lines changed: 266 additions & 13 deletions
Large diffs are not rendered by default.

doc_template/examples_root/examples/nb/ecephys_receptive_fields.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,9 @@
697697
"cell_type": "markdown",
698698
"metadata": {},
699699
"source": [
700-
"Now, calculating the receptive field is as simple as calling `get_receptive_field()` with a unit ID as the input argument:"
700+
"Now, calculating the receptive field is as simple as calling `_get_rf()` with a unit ID as the input argument.\n",
701+
"\n",
702+
"**NOTE:** We are planning to change this method to `get_receptive_field()` in a future SDK release."
701703
]
702704
},
703705
{
@@ -715,7 +717,7 @@
715717
}
716718
],
717719
"source": [
718-
"RF = rf_mapping.get_receptive_field(v1_units.index.values[3])"
720+
"RF = rf_mapping._get_rf(v1_units.index.values[3])"
719721
]
720722
},
721723
{
@@ -780,7 +782,7 @@
780782
],
781783
"source": [
782784
"def plot_rf(unit_id, index):\n",
783-
" RF = rf_mapping.get_receptive_field(unit_id)\n",
785+
" RF = rf_mapping._get_rf(unit_id)\n",
784786
" _ = plt.subplot(6,10,index+1)\n",
785787
" _ = plt.imshow(RF)\n",
786788
" _ = plt.axis('off')\n",

0 commit comments

Comments
 (0)