Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/get_started/quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
# https://gin.g-node.org/NeuralEnsemble/ephy_testing_data repo
# We download the dataset using DataLad but it can also be downloaded directly.

# Then we can open it. Note that [MEArec](https://mearec.readthedocs.io>) simulated files
# Then we can open it. Note that [MEArec](https://mearec.readthedocs.io) simulated files
# contain both a "recording" and a "sorting" object.

local_path = si.download_dataset(remote_path="mearec/mearec_test_10s.h5")
Expand Down Expand Up @@ -288,15 +288,15 @@

# The calculations are saved in the `extensions` subfolder of the `SortingAnalyzer` folder.
# Similar to the waveforms we can access them using `get_extension` and `get_data`. For example,
# here we can make a historgram of spike amplitudes
# here we can make a histogram of spike amplitudes

# +
amplitudes = analyzer_TDC.get_extension("spike_amplitudes").get_data()
plt.hist(amplitudes, bins=50)
plt.show()
# -

# You can check which extensions have been saved (in your local folder) and which have been loaded (in your enviroment)...
# You can check which extensions have been saved (in your local folder) and which have been loaded (in your environment)...

# +
print(analyzer_TDC.get_saved_extension_names())
Expand Down