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
- 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:
- Run the command line tool with the appropriate input parameters.
- Load the NWB file using
pynappleor you can load DANDI datasets. - Convert NumPy arrays to TIFF files.
- Utilize
tiffitto process TIFF files for analysis. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a84a662a974dfe6dd15940157832c28e249a80dd3097631f8f771a5768d2c813
|
|
| MD5 |
3dc7232b8a4c9b7dacdece21e2d1f26b
|
|
| BLAKE2b-256 |
169c570294423792361e7544eab1f96e620fda4e52b4273bc2b0096228ec75e3
|
Provenance
The following attestation bundles were made for nwb_tiff-0.1.0.tar.gz:
Publisher:
python-publish.yml on NileshArnaiya/NWB-TiFF-CONVERTOR
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nwb_tiff-0.1.0.tar.gz -
Subject digest:
a84a662a974dfe6dd15940157832c28e249a80dd3097631f8f771a5768d2c813 - Sigstore transparency entry: 183033397
- Sigstore integration time:
-
Permalink:
NileshArnaiya/NWB-TiFF-CONVERTOR@b3ebc01b28045334b763a563cee86b36c5c29f00 -
Branch / Tag:
refs/tags/v1.0 - Owner: https://github.com/NileshArnaiya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b3ebc01b28045334b763a563cee86b36c5c29f00 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b98b3235d70845275c0595bfa5d6c74bf4228dbc9555464dcc62e43861f8a471
|
|
| MD5 |
e88d127320589a30e1ce496ecb8f8ad1
|
|
| BLAKE2b-256 |
d478e7776033c7c3f15b4f4daf8a1b7f967232c4137877cc285c04d0d418f204
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nwb_tiff-0.1.0-py3-none-any.whl -
Subject digest:
b98b3235d70845275c0595bfa5d6c74bf4228dbc9555464dcc62e43861f8a471 - Sigstore transparency entry: 183033398
- Sigstore integration time:
-
Permalink:
NileshArnaiya/NWB-TiFF-CONVERTOR@b3ebc01b28045334b763a563cee86b36c5c29f00 -
Branch / Tag:
refs/tags/v1.0 - Owner: https://github.com/NileshArnaiya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b3ebc01b28045334b763a563cee86b36c5c29f00 -
Trigger Event:
release
-
Statement type: