Name | nex JSON |
Version |
1.0.6
JSON |
| download |
home_page | |
Summary | Run NeuroExplorer Python scripts and read and write .nex and .nex5 files in any Python development environment (VS Code, Spyder, etc.). |
upload_time | 2023-10-04 20:10:31 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | |
keywords |
neuroexplorer
nex
nex5
vs code
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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](https://www.neuroexplorer.com) (open data file, get file data, run analysis, save results, etc.) in any Python IDE.
See [NeuroExplorer Python Scripting Documentation](https://www.neuroexplorer.com/docs/reference/scripting/index.html) 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 Prompt` in the Windows Search Bar, select Anaconda version and then click on it
- Type `pip install -U nex` in 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:
```python
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.
```python
import nex.nexfile
reader = nex.nexfile.Reader()
fileData = reader.ReadNexFile(r"C:\path\to\file.nex5")
```
Raw data
{
"_id": null,
"home_page": "",
"name": "nex",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "NeuroExplorer,nex,nex5,VS Code",
"author": "",
"author_email": "Alex Kirillov <alex@neuroexplorer.com>",
"download_url": "",
"platform": null,
"description": "# nex-Python-package\r\nPython package for running NeuroExplorer Python scripts an any Python development environment (VS Code, Spyder, etc.)\r\n\r\n## Description\r\n\r\nProvides a simple way to run Python scripts that control [NeuroExplorer](https://www.neuroexplorer.com) (open data file, get file data, run analysis, save results, etc.) in any Python IDE.\r\n\r\nSee [NeuroExplorer Python Scripting Documentation](https://www.neuroexplorer.com/docs/reference/scripting/index.html) for detailed information about Python scripting in NeuroExplorer.\r\n\r\nTo install the package, open Windows Command Prompt, type `pip install -U nex` and press Enter.\r\n\r\nIf you are using Anaconda:\r\n\r\n- Type `Anaconda Prompt` in the Windows Search Bar, select Anaconda version and then click on it\r\n- Type `pip install -U nex` in Anaconda Prompt window and press Enter\r\n\r\nAfter the package is installed, you can run NeuroExplorer Python scripts in any Python development environment. \r\n\r\nFor example, to run PSTH analysis saved in the template `PerieventHistograms.ntp`, run this Python code:\r\n\r\n```python\r\nimport nex\r\ndoc = nex.GetActiveDocument()\r\n# run PSTH analysis saved in the template PerieventHistograms\r\nnex.ApplyTemplate(doc, \"PerieventHistograms\")\r\n``````\r\n\r\nThe package also provides classes to read and write .nex and .nex5 data files.\r\n\r\n```python\r\nimport nex.nexfile\r\nreader = nex.nexfile.Reader()\r\nfileData = reader.ReadNexFile(r\"C:\\path\\to\\file.nex5\")\r\n```\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Run NeuroExplorer Python scripts and read and write .nex and .nex5 files in any Python development environment (VS Code, Spyder, etc.).",
"version": "1.0.6",
"project_urls": {
"documentation": "https://www.neuroexplorer.com/docs/reference/scripting/index.html",
"homepage": "https://github.com/NeuroExplorer/nex-Python-package",
"repository": "https://github.com/NeuroExplorer/nex-Python-package"
},
"split_keywords": [
"neuroexplorer",
"nex",
"nex5",
"vs code"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4e6556c26b55ed0e1c2bd957abad79c8325c73c13d6181171b388fb97b639a22",
"md5": "474def68a9ab5ae2576a1a54eb19544f",
"sha256": "fc2b9f3b0b90767a182d05b3c2eefb89d1805a3d12601a8567776737fb010fe7"
},
"downloads": -1,
"filename": "nex-1.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "474def68a9ab5ae2576a1a54eb19544f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 27226,
"upload_time": "2023-10-04T20:10:31",
"upload_time_iso_8601": "2023-10-04T20:10:31.285631Z",
"url": "https://files.pythonhosted.org/packages/4e/65/56c26b55ed0e1c2bd957abad79c8325c73c13d6181171b388fb97b639a22/nex-1.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-04 20:10:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NeuroExplorer",
"github_project": "nex-Python-package",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nex"
}