nex-Python-package
Python package for running NeuroExplorer Python scripts an any Python development environment (VS Code, Spyder, etc.)
Description
Provides a simple way to run Python scripts that control NeuroExplorer (open data file, get file data, run analysis, save results, etc.) in any Python IDE.
See NeuroExplorer Python Scripting Documentation for detailed information about Python scripting in NeuroExplorer.
To install the package, open Windows Command Prompt, type pip install -U nex and press Enter.
If you are using Anaconda:
- Type
Anaconda Promptin the Windows Search Bar, select Anaconda version and then click on it - Type
pip install -U nexin Anaconda Prompt window and press Enter
After the package is installed, you can run NeuroExplorer Python scripts in any Python development environment.
For example, to run PSTH analysis saved in the template PerieventHistograms.ntp, run this Python code:
import nex
doc = nex.GetActiveDocument()
# run PSTH analysis saved in the template PerieventHistograms
nex.ApplyTemplate(doc, "PerieventHistograms")
The package also provides classes to read and write .nex and .nex5 data files.
import nex.nexfile
reader = nex.nexfile.Reader()
fileData = reader.ReadNexFile(r"C:\path\to\file.nex5")
Release files for nex 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nex-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Release files / nex-1.0.6-py3-none-any.whl
| Download URL | nex-1.0.6-py3-none-any.whl |
|---|---|
| Size | 27.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc2b9f3b0b90767a182d05b3c2eefb89d1805a3d12601a8567776737fb010fe7
|
|
BLAKE2b-256 checksum How to use checksums |
4e6556c26b55ed0e1c2bd957abad79c8325c73c13d6181171b388fb97b639a22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|