Experiments with new file format for tractography
Project description
trx-python
This is a Python implementation of the trx file-format for tractography data.
For details, please visit the documentation web-page at https://tee-ar-ex.github.io/trx-python/.
To install this, you can run:
pip install trx-python
Or, to install from source:
git clone https://github.com/tee-ar-ex/trx-python.git
cd trx-python
pip install .
Install Dipy for integration
If you wish to use all the scripts and run the test you will need to install Dipy
pip install cython packaging
pip install dipy@git+https://git@github.com/frheault/dipy@ba3ce0c59#egg=dipy
Temporary Directory
The TRX file format uses memmaps to limit RAM usage. When dealing with large files this means several gigabytes could be required on disk (instead of RAM).
By default, the temporary directory on Linux and MacOS is /tmp and on Windows it should be C:\WINDOWS\Temp.
If you wish to change the directory add the following variable to your script or to your .bashrc or .bash_profile:
export TRX_TMPDIR=/WHERE/I/WANT/MY/TMP/DATA (a)
OR
export TRX_TMPDIR=use_working_dir (b)
The provided folder must already exists (a). use_working_dir will be the directory where the code is being executed from (b).
The temporary folders should be automatically cleaned. But, if the code crash unexpectedly, make sure the folders are deleted.
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 trx-python-0.1.2.tar.gz.
File metadata
- Download URL: trx-python-0.1.2.tar.gz
- Upload date:
- Size: 84.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
060c05f35da82c8dcfe0f0ccacec79f28c21b682932616ae48e084a2b6083136
|
|
| MD5 |
c028ed78451c66cc28b72876d16657be
|
|
| BLAKE2b-256 |
646231385524ed9155981e8b0c75b08dd12532fe4af0beaebef765c21c1c9ddd
|
File details
Details for the file trx_python-0.1.2-py3-none-any.whl.
File metadata
- Download URL: trx_python-0.1.2-py3-none-any.whl
- Upload date:
- Size: 44.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba14f86445b4d60c41c2956ae0a442a081b8981a34d66cc4cef5251c84c8cdab
|
|
| MD5 |
7f133bc81cdb9309025c3f626f8de39a
|
|
| BLAKE2b-256 |
80b4a92d761390ab038e862906f6b52c91fdb3428baca8519f1eabff422c7c67
|