Skip to main content

Convert NWB files to TIFF format

Project description

NWB-TiFF-CONVERTOR

Convertor for NWB(Neural Data without Border) Files to Compatible Tiff Files to be used with various tools like Caiman or DeepLabCut.

Overview

This project provides a command line tool for processing Neurodata Without Borders (NWB) files. It includes functionalities to load NWB files, convert them to various formats, and utilize tools for further analysis.

Features

1. Command line utility.

2. Load NWB File

The tool leverages the pynapple library to load NWB files. This allows seamless integration with NWB files and provides a foundation for subsequent operations.

3. Convert Numpy Array to TIFF

The project supports the conversion of NumPy arrays to TIFF format. This functionality is useful for transforming numerical data into an image format for visualization or analysis.

4. Convert TIFF to Workable TIFF using Tiffit

The tool integrates with tiffit to convert TIFF files into a workable format. This step ensures that the TIFF files are processed and formatted in a way that is conducive to further analysis.

Installation

  1. Clone the repository:
git clone https://github.com/NileshArnaiya/NWB-TiFF-CONVERTOR.git
pip install -r requirements.txt

python main.py --input_file your_nwb_file.nwb output_file_name.tiff
or
python main.py --dandiset_id 000582 --file_path sub-10073_ses-17010302_behavior+ecephys.nwb --output_path output_file.tiff

License

This project is licensed under the Creative Commons License - see the LICENSE.md file for details

Usage

To use the command line tool, follow the steps below:

  1. Run the command line tool with the appropriate input parameters.
  2. Load the NWB file using pynapple or you can load DANDI datasets.
  3. Convert NumPy arrays to TIFF files.
  4. Utilize tiffit to process TIFF files for analysis.
  5. Choose the option to convert NWB files to DLC or point to additional tools in the NWB ecosystem.

Requirements

  • Python (version 3.8 and above)
  • Additional dependencies in requirements.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nwb_tiff-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nwb_tiff-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file nwb_tiff-0.1.0.tar.gz.

File metadata

  • Download URL: nwb_tiff-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nwb_tiff-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a84a662a974dfe6dd15940157832c28e249a80dd3097631f8f771a5768d2c813
MD5 3dc7232b8a4c9b7dacdece21e2d1f26b
BLAKE2b-256 169c570294423792361e7544eab1f96e620fda4e52b4273bc2b0096228ec75e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for nwb_tiff-0.1.0.tar.gz:

Publisher: python-publish.yml on NileshArnaiya/NWB-TiFF-CONVERTOR

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nwb_tiff-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nwb_tiff-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nwb_tiff-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b98b3235d70845275c0595bfa5d6c74bf4228dbc9555464dcc62e43861f8a471
MD5 e88d127320589a30e1ce496ecb8f8ad1
BLAKE2b-256 d478e7776033c7c3f15b4f4daf8a1b7f967232c4137877cc285c04d0d418f204

See more details on using hashes here.

Provenance

The following attestation bundles were made for nwb_tiff-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on NileshArnaiya/NWB-TiFF-CONVERTOR

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page