A collection of scripts used in the Nusbaum Lab for data analysis, modeling, and visualization
Project description
stns
stns is a collection of various scripts used in the Nusbaum lab's python analysis.
How do I use stns?
stns is used primarily for spike detection and data visualizing, an example of loading the main GUI is shown below. Various plotting functions can be found in the module plot.
from stns import SpikeDetectionGUI
# Launch a spike detection gui
dir_name = '/Users/loganfickling/Downloads/Lingli_Data_Transferred/Data/05-22-07/'
f_name = 'b0p057-cond 2LPG killed-ions stim 3_6V 14hz-cogs off-LG PD LP_export.smr'
app = SpikeDetectionGUI(provided_path=dir_name + f_name) # Or don't pass a path and enter it manually
app.mainloop()
See the documentation for more examples, or in python call help(functionname) to pull up the docstrings of the relevant function
stns is currently in development; some features have not yet been implemented and there may be bugs. See 'Development status' below.
Requirements
scipy
numpy
pandas
matplotlib
seaborn
pandastable
brian2
neo
Quick start
stns can be installed using pip:
$ pip install stns
If you want to run the latest version of the code, you can install from git:
$mkdir crabby
$cd crabby
$git clone https://github.com/LoganJF/stns.git .
$python setup.py install
Development status
Beta testing currently 0.0.1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file stns-0.0.2-py3.10.egg
.
File metadata
- Download URL: stns-0.0.2-py3.10.egg
- Upload date:
- Size: 152.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f95bf971007fb852fe36e1935f37f6fe2fb6799d14e2c5e102da965e68be8b0 |
|
MD5 | 0c1fba5846a48dbee4c6de7d6d9f8ef3 |
|
BLAKE2b-256 | 3bbf708004e46047f4a4ffe0f475c2210ba61c68ae1a0045f58031a49c629f39 |
File details
Details for the file stns-0.0.2-py3.9.egg
.
File metadata
- Download URL: stns-0.0.2-py3.9.egg
- Upload date:
- Size: 149.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cfd54d0a7cda6c86d3f7f6a95ad750469ca82114b7e65f5c799f63d356b117a |
|
MD5 | f9cae5bd7a809fda0a8c4bb1986e6622 |
|
BLAKE2b-256 | 98dc6fc656445a8a3a330c070d3432c9f4a1bb3228ff728331b843e57d712b78 |
File details
Details for the file stns-0.0.2-py3.7.egg
.
File metadata
- Download URL: stns-0.0.2-py3.7.egg
- Upload date:
- Size: 152.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a4456f8da07e5c9a2bf1694d9dadbc8130e03cee57f7c11de977b1010421ff6 |
|
MD5 | da05f8b2c631eab2d1b47ae6ad92326f |
|
BLAKE2b-256 | 9679746f08dd5e17ad7740d5ac22e52ca239c5cbb95a08a655d2f9c392380872 |
File details
Details for the file stns-0.0.2-py3.6.egg
.
File metadata
- Download URL: stns-0.0.2-py3.6.egg
- Upload date:
- Size: 149.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ea76a70531c86e242b2946d056e6bbf4f6a4279b864be0c07fc1e480d7d699 |
|
MD5 | 9d340d003c111cac995af2ffb6a7d79a |
|
BLAKE2b-256 | ea6e252143e85113622d00f457473d28409110227865965a4f035feadcbb6125 |