Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
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 .
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.
FAQs
Experiments with new file format for tractography
We found that trx-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.