{ "info": { "author": "Luiz Tauffer and Ben Dichter", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# axel-lab-to-nwb\nNWB conversion scripts and tutorials.\nA collaboration with [Axel Lab](https://www.axellab.columbia.edu/).\n\n# Install\nTo clone the repository and set up a conda environment, do:\n```\n$ git clone https://github.com/ben-dichter-consulting/axel-lab-to-nwb.git\n$ conda env create -f axel-lab-to-nwb/make_env.yml\n$ source activate convert_to_nwb\n```\n\nAlternatively, to install directly in an existing environment:\n```\n$ pip install git+https://github.com/ben-dichter-consulting/axel-lab-to-nwb.git\n```\n\n# Use\nAfter activating the correct environment, the conversion functions can be imported and run from python. \nHere's an example: we'll grab the data from the same experiment but stored in different `.npz` files and save it to a single `.nwb` file.\n```python\nfrom datetime import datetime\nfrom dateutil.tz import tzlocal\nfrom axel_lab_to_nwb import npz_to_nwb\n\nfpath = '/path/to/files'\nf1 = '2019_07_01_Nsyb_NLS6s_walk_fly2.npz'\nf2 = '2019_07_01_Nsyb_NLS6s_walk_fly2_A.npz'\nf3 = '2019_07_01_Nsyb_NLS6s_walk_fly2_ref_im.npz'\nfnpz = [f1, f2, f3]\nfnwb = 'fly2.nwb'\ninfo = {'session_description':'my CaIm recording',\n 'identifier':'EXAMPLE_ID',\n 'session_start_time':datetime.now(tzlocal()),\n 'experimenter':'My Name',\n 'lab':'Axel lab',\n 'institution':'Columbia University',\n 'experiment_description':'EXPERIMENT_DESCRIPTION',\n 'session_id':'IDX'}\n\nnpz_to_nwb(fpath=fpath, fnpz=fnpz, fnwb=fnwb, info=info, plot_rois=False)\n```\n\nAt [tutorials](https://github.com/ben-dichter-consulting/axel-lab-to-nwb/tree/master/tutorials) you can also find Jupyter notebooks with the step-by-step process of conversion.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "axel-lab-to-nwb", "package_url": "https://pypi.org/project/axel-lab-to-nwb/", "platform": "", "project_url": "https://pypi.org/project/axel-lab-to-nwb/", "project_urls": null, "release_url": "https://pypi.org/project/axel-lab-to-nwb/0.0.1/", "requires_dist": [ "matplotlib", "cycler", "scipy", "numpy", "jupyter", "h5py", "pynwb", "ndx-grayscalevolume" ], "requires_python": "", "summary": "NWB conversion scripts and tutorials.", "version": "0.0.1" }, "last_serial": 5739215, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "31fa6c505276d3effa82a08274a0eb8b", "sha256": "63e0833ad8899dc9a600d00a547a686fadd376a3ad0a20c202e1cfc5c67c89ff" }, "downloads": -1, "filename": "axel_lab_to_nwb-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "31fa6c505276d3effa82a08274a0eb8b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5847, "upload_time": "2019-08-27T19:49:19", "url": "https://files.pythonhosted.org/packages/31/ab/4f46005c73ba1ba045b5aaf3d634dfd1b1a7cb9edfd9bc2ab2873d0f98a8/axel_lab_to_nwb-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ce679655f674284c7a1698e04771207", "sha256": "e07fda384ef1ce22bbaa44bf1aaba1f29122e45b132968a085d7b4a540b84e25" }, "downloads": -1, "filename": "axel_lab_to_nwb-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7ce679655f674284c7a1698e04771207", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10730, "upload_time": "2019-08-27T19:49:22", "url": "https://files.pythonhosted.org/packages/2f/16/36593ae9b259b875963bf4e441f0d3ae51129e5339f6fc6130f746b9e15e/axel_lab_to_nwb-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "31fa6c505276d3effa82a08274a0eb8b", "sha256": "63e0833ad8899dc9a600d00a547a686fadd376a3ad0a20c202e1cfc5c67c89ff" }, "downloads": -1, "filename": "axel_lab_to_nwb-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "31fa6c505276d3effa82a08274a0eb8b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5847, "upload_time": "2019-08-27T19:49:19", "url": "https://files.pythonhosted.org/packages/31/ab/4f46005c73ba1ba045b5aaf3d634dfd1b1a7cb9edfd9bc2ab2873d0f98a8/axel_lab_to_nwb-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ce679655f674284c7a1698e04771207", "sha256": "e07fda384ef1ce22bbaa44bf1aaba1f29122e45b132968a085d7b4a540b84e25" }, "downloads": -1, "filename": "axel_lab_to_nwb-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7ce679655f674284c7a1698e04771207", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10730, "upload_time": "2019-08-27T19:49:22", "url": "https://files.pythonhosted.org/packages/2f/16/36593ae9b259b875963bf4e441f0d3ae51129e5339f6fc6130f746b9e15e/axel_lab_to_nwb-0.0.1.tar.gz" } ] }