NcMcmVis


NameNcMcmVis JSON
Version 1.6 PyPI version JSON
download
home_pagehttps://github.com/DriftKing1998/NC-MCM-Visualizer
SummaryA toolbox to visualize neuronal imaging data and apply the NC-MCM framework to it
upload_time2024-02-12 19:22:20
maintainer
docs_urlNone
authorHofer Michael
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # NC-MCM-Visualizer 

## A toolbox to visualize neuronal imaging data and apply the NC-MCM framework to it

This is a toolbox uses neuronal & behavioral data and visualizes it. The main functionalities include: 
- creating different diagnostic plots and fitting a models on the data
- clustering datapoints into cognitive clusters using behavioral probability trajectories 
- testing and plotting probability of the cognitive sequence being a markov process of 1st order
- creating 3D visualizations using different sklearn dimensionality reduction algorithms as mappings
- the possibility to create a neural manifold using custom BunDLeNet's or any other mapping added
- creating movies and plots of behavioral/neuronal trajectories using the 3D mapping

### These are some of the plots created from calcium imaging data of C. elegans
#### Mean probability of being a 1st order markov process for all 5 worms at different amounts of cognitive states (30 reps)
<img src="src/data/plots/Demonstration/AverageMarkov.png" width="700" alt="Mean probability to be a 1st order markov process for all worms">

#### Behavioral state diagram for worm 3 and 3 cognitive states
<img src="src/data/plots/Demonstration/NormalPlot.png" width="700" alt="Behavioral State Diagram for Worm 3 and 3 cognitive states">

#### Interactive behavioral state diagram for worm 3 and 3 cognitive states (saved as a .html file)
<img src="src/data/plots/Demonstration/InteractivePlot.png" width="700" alt="Behavioral State Diagram for Worm 3 and 3 cognitive states - interactive">

#### Behavioral state adjacancy matrix for worm 3 and 3 cognitive states
<img src="src/data/plots/Demonstration/AdjacancyMatrix.png" width="600" alt="Behavioral State Diagram for Worm 3 and 3 cognitive states - adjancency matrix">

#### Comparison of predicted and true label using BunDLeNet's tau model as mapping and its predictor on worm 3
<img src="src/data/plots/Demonstration/ComaprisonBunDLeNet.png" width="700" alt="Comparison between true and predicted label using BunDLeNet as mapping and predictor">

#### Movie using BunDLeNet's tau model as mapping on worm 1
<img src="src/data/plots/Demonstration/Worm_1_Interval_100.gif" width="700" alt="Movie using BunDLeNet's tau model as mapping and the true labels">

## Installation and usage information (for end-users)
To get the toolbox running on your own PC I still need to do this:

Create a Python Package: First, create your Python package with the necessary code and structure. This typically involves organizing your code into a package structure (with __init__.py files) and possibly writing a setup.py file for distribution purposes.

Publish on GitHub: Host your package's code on GitHub. Make sure your repository is public so that anyone can access it.

PyPI Setup: Create an account on PyPI if you don't have one already. You'll need to create a setup.py file for your project. This file contains metadata about your package, including its name, version, and dependencies. You can find examples and detailed documentation on the Python Packaging Authority's website.

Create a Release: Tag a release on GitHub. This typically involves creating a release in your GitHub repository and attaching the source distribution (a .tar.gz file) generated by setup.py sdist.

Upload to PyPI: Use a tool like twine to upload your package to PyPI. Install twine if you haven't already (pip install twine), then run twine upload dist/* from the directory containing your source distribution files.

Installation: After you've uploaded your package to PyPI, users can install it with pip install your-package-name.

Importing: Once installed, users can import your package in their Python code using import your_package_name.

## Installation and usage information (for contributors)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DriftKing1998/NC-MCM-Visualizer",
    "name": "NcMcmVis",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Hofer Michael",
    "author_email": "hofer.michael.98@email.com",
    "download_url": "https://files.pythonhosted.org/packages/67/fe/8ca91b480d0b24977107cc0dd5a53b28d3666fe267ebd3c2ce4aa789e645/NcMcmVis-1.6.tar.gz",
    "platform": null,
    "description": "# NC-MCM-Visualizer \n\n## A toolbox to visualize neuronal imaging data and apply the NC-MCM framework to it\n\nThis is a toolbox uses neuronal & behavioral data and visualizes it. The main functionalities include: \n- creating different diagnostic plots and fitting a models on the data\n- clustering datapoints into cognitive clusters using behavioral probability trajectories \n- testing and plotting probability of the cognitive sequence being a markov process of 1st order\n- creating 3D visualizations using different sklearn dimensionality reduction algorithms as mappings\n- the possibility to create a neural manifold using custom BunDLeNet's or any other mapping added\n- creating movies and plots of behavioral/neuronal trajectories using the 3D mapping\n\n### These are some of the plots created from calcium imaging data of C. elegans\n#### Mean probability of being a 1st order markov process for all 5 worms at different amounts of cognitive states (30 reps)\n<img src=\"src/data/plots/Demonstration/AverageMarkov.png\" width=\"700\" alt=\"Mean probability to be a 1st order markov process for all worms\">\n\n#### Behavioral state diagram for worm 3 and 3 cognitive states\n<img src=\"src/data/plots/Demonstration/NormalPlot.png\" width=\"700\" alt=\"Behavioral State Diagram for Worm 3 and 3 cognitive states\">\n\n#### Interactive behavioral state diagram for worm 3 and 3 cognitive states (saved as a .html file)\n<img src=\"src/data/plots/Demonstration/InteractivePlot.png\" width=\"700\" alt=\"Behavioral State Diagram for Worm 3 and 3 cognitive states - interactive\">\n\n#### Behavioral state adjacancy matrix for worm 3 and 3 cognitive states\n<img src=\"src/data/plots/Demonstration/AdjacancyMatrix.png\" width=\"600\" alt=\"Behavioral State Diagram for Worm 3 and 3 cognitive states - adjancency matrix\">\n\n#### Comparison of predicted and true label using BunDLeNet's tau model as mapping and its predictor on worm 3\n<img src=\"src/data/plots/Demonstration/ComaprisonBunDLeNet.png\" width=\"700\" alt=\"Comparison between true and predicted label using BunDLeNet as mapping and predictor\">\n\n#### Movie using BunDLeNet's tau model as mapping on worm 1\n<img src=\"src/data/plots/Demonstration/Worm_1_Interval_100.gif\" width=\"700\" alt=\"Movie using BunDLeNet's tau model as mapping and the true labels\">\n\n## Installation and usage information (for end-users)\nTo get the toolbox running on your own PC I still need to do this:\n\nCreate a Python Package: First, create your Python package with the necessary code and structure. This typically involves organizing your code into a package structure (with __init__.py files) and possibly writing a setup.py file for distribution purposes.\n\nPublish on GitHub: Host your package's code on GitHub. Make sure your repository is public so that anyone can access it.\n\nPyPI Setup: Create an account on PyPI if you don't have one already. You'll need to create a setup.py file for your project. This file contains metadata about your package, including its name, version, and dependencies. You can find examples and detailed documentation on the Python Packaging Authority's website.\n\nCreate a Release: Tag a release on GitHub. This typically involves creating a release in your GitHub repository and attaching the source distribution (a .tar.gz file) generated by setup.py sdist.\n\nUpload to PyPI: Use a tool like twine to upload your package to PyPI. Install twine if you haven't already (pip install twine), then run twine upload dist/* from the directory containing your source distribution files.\n\nInstallation: After you've uploaded your package to PyPI, users can install it with pip install your-package-name.\n\nImporting: Once installed, users can import your package in their Python code using import your_package_name.\n\n## Installation and usage information (for contributors)\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A toolbox to visualize neuronal imaging data and apply the NC-MCM framework to it",
    "version": "1.6",
    "project_urls": {
        "Homepage": "https://github.com/DriftKing1998/NC-MCM-Visualizer"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d185b42d1ac2b9daed008ac5f822d5afd0b7df71c8909e0a9c023b65094af29a",
                "md5": "fc7232bb23509fdc418ba002c202c928",
                "sha256": "9d511c32d703da29a6bd77c27616ffe510a16b90b61a045f00274f7dbf503fb8"
            },
            "downloads": -1,
            "filename": "NcMcmVis-1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fc7232bb23509fdc418ba002c202c928",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 26260,
            "upload_time": "2024-02-12T19:22:17",
            "upload_time_iso_8601": "2024-02-12T19:22:17.757230Z",
            "url": "https://files.pythonhosted.org/packages/d1/85/b42d1ac2b9daed008ac5f822d5afd0b7df71c8909e0a9c023b65094af29a/NcMcmVis-1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67fe8ca91b480d0b24977107cc0dd5a53b28d3666fe267ebd3c2ce4aa789e645",
                "md5": "6922276d602153d4f4e6f5991482361e",
                "sha256": "251bc40d6bc50ae1114f5f4a3fc1e6cfdd3c461787cd96177472045a5ccb4864"
            },
            "downloads": -1,
            "filename": "NcMcmVis-1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "6922276d602153d4f4e6f5991482361e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 27627,
            "upload_time": "2024-02-12T19:22:20",
            "upload_time_iso_8601": "2024-02-12T19:22:20.067485Z",
            "url": "https://files.pythonhosted.org/packages/67/fe/8ca91b480d0b24977107cc0dd5a53b28d3666fe267ebd3c2ce4aa789e645/NcMcmVis-1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-12 19:22:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DriftKing1998",
    "github_project": "NC-MCM-Visualizer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ncmcmvis"
}
        
Elapsed time: 0.19694s