NC-MCM-Visualizer


NameNC-MCM-Visualizer JSON
Version 2.0.2 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 20:52:09
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": "NC-MCM-Visualizer",
    "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/d6/d4/c680578d16fbe65c18ab84979f9d0ea5cf87d9bc514fb755c68df8741db2/NC-MCM-Visualizer-2.0.2.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": "2.0.2",
    "project_urls": {
        "Homepage": "https://github.com/DriftKing1998/NC-MCM-Visualizer"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "632150d65e831ec568483df2b24fcf3c23da74adffbbe6837661fb29c4fe21d4",
                "md5": "e58149efa53e8898b0181968363d274b",
                "sha256": "9cdda1453669f80d4a3e9b64cc25c0b66a3afbaa149e3d4ea3654f14df9544a8"
            },
            "downloads": -1,
            "filename": "NC_MCM_Visualizer-2.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e58149efa53e8898b0181968363d274b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 26996,
            "upload_time": "2024-02-12T20:52:07",
            "upload_time_iso_8601": "2024-02-12T20:52:07.404182Z",
            "url": "https://files.pythonhosted.org/packages/63/21/50d65e831ec568483df2b24fcf3c23da74adffbbe6837661fb29c4fe21d4/NC_MCM_Visualizer-2.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d6d4c680578d16fbe65c18ab84979f9d0ea5cf87d9bc514fb755c68df8741db2",
                "md5": "8094996b63260cc5b2051f933b7bd9a9",
                "sha256": "1866e8bdb1fde04f2e2b5c0bd7498ba9a8e135f0c8d685ab17f6967b9a75ea5c"
            },
            "downloads": -1,
            "filename": "NC-MCM-Visualizer-2.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "8094996b63260cc5b2051f933b7bd9a9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 28184,
            "upload_time": "2024-02-12T20:52:09",
            "upload_time_iso_8601": "2024-02-12T20:52:09.201135Z",
            "url": "https://files.pythonhosted.org/packages/d6/d4/c680578d16fbe65c18ab84979f9d0ea5cf87d9bc514fb755c68df8741db2/NC-MCM-Visualizer-2.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-12 20:52:09",
    "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": "nc-mcm-visualizer"
}
        
Elapsed time: 0.16126s