Skip to main content

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

Metadata

Release files for stns 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for stns 0.0.2
File
stns-0.0.2-py3.10.egg Legacy Egg format - - Details
stns-0.0.2-py3.9.egg Legacy Egg format - - Details
stns-0.0.2-py3.7.egg Legacy Egg format - - Details
stns-0.0.2-py3.6.egg Legacy Egg format - - Details

Total release size: 604.0 kB

Release files / stns-0.0.2-py3.10.egg

Download URL stns-0.0.2-py3.10.egg
Size 152.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
4f95bf971007fb852fe36e1935f37f6fe2fb6799d14e2c5e102da965e68be8b0
BLAKE2b-256 checksum
How to use checksums
3bbf708004e46047f4a4ffe0f475c2210ba61c68ae1a0045f58031a49c629f39
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stns-0.0.2-py3.9.egg

Download URL stns-0.0.2-py3.9.egg
Size 149.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
1cfd54d0a7cda6c86d3f7f6a95ad750469ca82114b7e65f5c799f63d356b117a
BLAKE2b-256 checksum
How to use checksums
98dc6fc656445a8a3a330c070d3432c9f4a1bb3228ff728331b843e57d712b78
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stns-0.0.2-py3.7.egg

Download URL stns-0.0.2-py3.7.egg
Size 152.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
1a4456f8da07e5c9a2bf1694d9dadbc8130e03cee57f7c11de977b1010421ff6
BLAKE2b-256 checksum
How to use checksums
9679746f08dd5e17ad7740d5ac22e52ca239c5cbb95a08a655d2f9c392380872
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stns-0.0.2-py3.6.egg

Download URL stns-0.0.2-py3.6.egg
Size 149.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
77ea76a70531c86e242b2946d056e6bbf4f6a4279b864be0c07fc1e480d7d699
BLAKE2b-256 checksum
How to use checksums
ea6e252143e85113622d00f457473d28409110227865965a4f035feadcbb6125
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.2 This release

4 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page