element-calcium-imaging


Nameelement-calcium-imaging JSON
Version 0.7.8 PyPI version JSON
download
home_pagehttps://github.com/datajoint/element-calcium-imaging
SummaryCalcium Imaging DataJoint Element
upload_time2023-07-27 16:31:31
maintainer
docs_urlNone
authorDataJoint
requires_python
licenseMIT
keywords neuroscience calcium-imaging science datajoint
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI version](https://badge.fury.io/py/element-calcium-imaging.svg)](http://badge.fury.io/py/element-calcium-imaging)

# DataJoint Element for Functional Calcium Imaging

DataJoint Element for functional calcium imaging with 
[ScanImage](https://docs.scanimage.org/), 
[Scanbox](https://scanbox.org/),
[Nikon NIS-Elements](https://www.microscope.healthcare.nikon.com/products/software/nis-elements), 
and `Bruker Prairie View` acquisition software; and 
[Suite2p](https://github.com/MouseLand/suite2p), 
[CaImAn](https://github.com/flatironinstitute/CaImAn), and
[EXTRACT](https://github.com/schnitzer-lab/EXTRACT-public) analysis 
software. DataJoint Elements collectively standardize and automate
data collection and analysis for neuroscience experiments. Each Element is a modular
pipeline for data storage and processing with corresponding database tables that can be
combined with other Elements to assemble a fully functional pipeline. This repository 
also provides a tutorial environment and notebooks to learn the pipeline.

## Experiment Flowchart

![flowchart](https://raw.githubusercontent.com/datajoint/element-calcium-imaging/main/images/flowchart.svg)

## Data Pipeline Diagram

![pipeline](https://raw.githubusercontent.com/datajoint/element-calcium-imaging/main/images/pipeline_imaging.svg)

+ We have designed three variations of the pipeline to handle different use cases. 
Displayed above is the default `imaging` schema.  Details on all of the `imaging` 
schemas can be found in the [Data 
Pipeline](https://datajoint.com/docs/elements/element-calcium-imaging/latest/pipeline/) 
documentation page.

## Getting Started

+ Install from PyPI

     ```bash
     pip install element-calcium-imaging
     ```

+ [Interactive tutorial on GitHub Codespaces](#interactive-tutorial)

+ [Documentation](https://datajoint.com/docs/elements/element-calcium-imaging)

## Support

+ If you need help getting started or run into any errors, please open a GitHub Issue 
or contact our team by email at support@datajoint.com.

## Interactive Tutorial

+ The easiest way to learn about DataJoint Elements is to use the tutorial notebooks within the included interactive environment configured using [Dev Container](https://containers.dev/).

### Launch Environment

Here are some options that provide a great experience:

- (*recommended*) Cloud-based Environment
  - Launch using [GitHub Codespaces](https://github.com/features/codespaces) using the `+` option which will `Create codespace on main` in the codebase repository on your fork with default options. For more control, see the `...` where you may create `New with options...`.
  - Build time for a codespace is a few minutes. This is done infrequently and cached for convenience.
  - Start time for a codespace is less than 1 minute. This will pull the built codespace from cache when you need it.
  - *Tip*: Each month, GitHub renews a [free-tier](https://docs.github.com/en/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#monthly-included-storage-and-core-hours-for-personal-accounts) quota of compute and storage. Typically we run into the storage limits before anything else since Codespaces consume storage while stopped. It is best to delete Codespaces when not actively in use and recreate when needed. We'll soon be creating prebuilds to avoid larger build times. Once any portion of your quota is reached, you will need to wait for it to be reset at the end of your cycle or add billing info to your GitHub account to handle overages.
  - *Tip*: GitHub auto names the codespace but you can rename the codespace so that it is easier to identify later.

- Local Environment
  > *Note: Access to example data is currently limited to MacOS and Linux due to the s3fs utility. Windows users are recommended to use the above environment.*
  - Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
  - Install [Docker](https://docs.docker.com/get-docker/)
  - Install [VSCode](https://code.visualstudio.com/)
  - Install the VSCode [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
  - `git clone` the codebase repository and open it in VSCode
  - Use the `Dev Containers extension` to `Reopen in Container` (More info is in the `Getting started` included with the extension.)

You will know your environment has finished loading once you either see a terminal open related to `Running postStartCommand` with a final message of `Done` or the `README.md` is opened in `Preview`.

Once the environment has launched, please run the following command in the terminal:
```
MYSQL_VER=8.0 docker compose -f docker-compose-db.yaml up --build -d
```

### Instructions

1. We recommend you start by navigating to the `notebooks` directory on the left panel and go through the `tutorial.ipynb` Jupyter notebook. Execute the cells in the notebook to begin your walk through of the tutorial.

1. Once you are done, see the options available to you in the menu in the bottom-left corner. For example, in Codespace you will have an option to `Stop Current Codespace` but when running Dev Container on your own machine the equivalent option is `Reopen folder locally`. By default, GitHub will also automatically stop the Codespace after 30 minutes of inactivity.  Once the Codespace is no longer being used, we recommend deleting the Codespace.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/datajoint/element-calcium-imaging",
    "name": "element-calcium-imaging",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "neuroscience calcium-imaging science datajoint",
    "author": "DataJoint",
    "author_email": "info@datajoint.com",
    "download_url": "https://files.pythonhosted.org/packages/45/a2/caf4a575d08d6bb63b8cf6823024f6d88cba7f1dd2db03d1d696b366854b/element-calcium-imaging-0.7.8.tar.gz",
    "platform": null,
    "description": "[![PyPI version](https://badge.fury.io/py/element-calcium-imaging.svg)](http://badge.fury.io/py/element-calcium-imaging)\n\n# DataJoint Element for Functional Calcium Imaging\n\nDataJoint Element for functional calcium imaging with \n[ScanImage](https://docs.scanimage.org/), \n[Scanbox](https://scanbox.org/),\n[Nikon NIS-Elements](https://www.microscope.healthcare.nikon.com/products/software/nis-elements), \nand `Bruker Prairie View` acquisition software; and \n[Suite2p](https://github.com/MouseLand/suite2p), \n[CaImAn](https://github.com/flatironinstitute/CaImAn), and\n[EXTRACT](https://github.com/schnitzer-lab/EXTRACT-public) analysis \nsoftware. DataJoint Elements collectively standardize and automate\ndata collection and analysis for neuroscience experiments. Each Element is a modular\npipeline for data storage and processing with corresponding database tables that can be\ncombined with other Elements to assemble a fully functional pipeline. This repository \nalso provides a tutorial environment and notebooks to learn the pipeline.\n\n## Experiment Flowchart\n\n![flowchart](https://raw.githubusercontent.com/datajoint/element-calcium-imaging/main/images/flowchart.svg)\n\n## Data Pipeline Diagram\n\n![pipeline](https://raw.githubusercontent.com/datajoint/element-calcium-imaging/main/images/pipeline_imaging.svg)\n\n+ We have designed three variations of the pipeline to handle different use cases. \nDisplayed above is the default `imaging` schema.  Details on all of the `imaging` \nschemas can be found in the [Data \nPipeline](https://datajoint.com/docs/elements/element-calcium-imaging/latest/pipeline/) \ndocumentation page.\n\n## Getting Started\n\n+ Install from PyPI\n\n     ```bash\n     pip install element-calcium-imaging\n     ```\n\n+ [Interactive tutorial on GitHub Codespaces](#interactive-tutorial)\n\n+ [Documentation](https://datajoint.com/docs/elements/element-calcium-imaging)\n\n## Support\n\n+ If you need help getting started or run into any errors, please open a GitHub Issue \nor contact our team by email at support@datajoint.com.\n\n## Interactive Tutorial\n\n+ The easiest way to learn about DataJoint Elements is to use the tutorial notebooks within the included interactive environment configured using [Dev Container](https://containers.dev/).\n\n### Launch Environment\n\nHere are some options that provide a great experience:\n\n- (*recommended*) Cloud-based Environment\n  - Launch using [GitHub Codespaces](https://github.com/features/codespaces) using the `+` option which will `Create codespace on main` in the codebase repository on your fork with default options. For more control, see the `...` where you may create `New with options...`.\n  - Build time for a codespace is a few minutes. This is done infrequently and cached for convenience.\n  - Start time for a codespace is less than 1 minute. This will pull the built codespace from cache when you need it.\n  - *Tip*: Each month, GitHub renews a [free-tier](https://docs.github.com/en/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#monthly-included-storage-and-core-hours-for-personal-accounts) quota of compute and storage. Typically we run into the storage limits before anything else since Codespaces consume storage while stopped. It is best to delete Codespaces when not actively in use and recreate when needed. We'll soon be creating prebuilds to avoid larger build times. Once any portion of your quota is reached, you will need to wait for it to be reset at the end of your cycle or add billing info to your GitHub account to handle overages.\n  - *Tip*: GitHub auto names the codespace but you can rename the codespace so that it is easier to identify later.\n\n- Local Environment\n  > *Note: Access to example data is currently limited to MacOS and Linux due to the s3fs utility. Windows users are recommended to use the above environment.*\n  - Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\n  - Install [Docker](https://docs.docker.com/get-docker/)\n  - Install [VSCode](https://code.visualstudio.com/)\n  - Install the VSCode [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)\n  - `git clone` the codebase repository and open it in VSCode\n  - Use the `Dev Containers extension` to `Reopen in Container` (More info is in the `Getting started` included with the extension.)\n\nYou will know your environment has finished loading once you either see a terminal open related to `Running postStartCommand` with a final message of `Done` or the `README.md` is opened in `Preview`.\n\nOnce the environment has launched, please run the following command in the terminal:\n```\nMYSQL_VER=8.0 docker compose -f docker-compose-db.yaml up --build -d\n```\n\n### Instructions\n\n1. We recommend you start by navigating to the `notebooks` directory on the left panel and go through the `tutorial.ipynb` Jupyter notebook. Execute the cells in the notebook to begin your walk through of the tutorial.\n\n1. Once you are done, see the options available to you in the menu in the bottom-left corner. For example, in Codespace you will have an option to `Stop Current Codespace` but when running Dev Container on your own machine the equivalent option is `Reopen folder locally`. By default, GitHub will also automatically stop the Codespace after 30 minutes of inactivity.  Once the Codespace is no longer being used, we recommend deleting the Codespace.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Calcium Imaging DataJoint Element",
    "version": "0.7.8",
    "project_urls": {
        "Homepage": "https://github.com/datajoint/element-calcium-imaging"
    },
    "split_keywords": [
        "neuroscience",
        "calcium-imaging",
        "science",
        "datajoint"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d2797cbd049090cf3b92e672861ca396b44c4fc35fb7d9ad3845648da2f17389",
                "md5": "86e7735186ab8a535bf43add506bd692",
                "sha256": "63a656d25c2aa721d27b04b06f6b892a3691d462a5b0f65003924c05b75a256b"
            },
            "downloads": -1,
            "filename": "element_calcium_imaging-0.7.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "86e7735186ab8a535bf43add506bd692",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 54986,
            "upload_time": "2023-07-27T16:31:29",
            "upload_time_iso_8601": "2023-07-27T16:31:29.992383Z",
            "url": "https://files.pythonhosted.org/packages/d2/79/7cbd049090cf3b92e672861ca396b44c4fc35fb7d9ad3845648da2f17389/element_calcium_imaging-0.7.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "45a2caf4a575d08d6bb63b8cf6823024f6d88cba7f1dd2db03d1d696b366854b",
                "md5": "6a5dd4729db18de2f15449a525dde5d7",
                "sha256": "a1c4d8b9cbfe142a9b17fe79b9af2402cac2b3e619e6cf91855ce6989d4f4f1c"
            },
            "downloads": -1,
            "filename": "element-calcium-imaging-0.7.8.tar.gz",
            "has_sig": false,
            "md5_digest": "6a5dd4729db18de2f15449a525dde5d7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 52349,
            "upload_time": "2023-07-27T16:31:31",
            "upload_time_iso_8601": "2023-07-27T16:31:31.926085Z",
            "url": "https://files.pythonhosted.org/packages/45/a2/caf4a575d08d6bb63b8cf6823024f6d88cba7f1dd2db03d1d696b366854b/element-calcium-imaging-0.7.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-27 16:31:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "datajoint",
    "github_project": "element-calcium-imaging",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "element-calcium-imaging"
}
        
Elapsed time: 0.10453s