Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage formats for exported intermediate data #23

Closed
Lestropie opened this issue Feb 14, 2022 · 1 comment
Closed

Storage formats for exported intermediate data #23

Lestropie opened this issue Feb 14, 2022 · 1 comment

Comments

@Lestropie
Copy link
Collaborator

  1. If tractograms are to be provided with just streamline endpoints, the .tck format is highly sub-optimal: it stores a NaN triplet as a delimiter between streamlines, so with exactly two vertices per streamline it increases storage by 50%.

  2. Quantitative values per streamline are currently stored in ASCII form. Using binary floating-point (with a guaranteed endianness) would require less space. For fixel data we actually just use .mif images that are 1D, and that permits flexible endianness and memory-mapping; we could do that here, or something different. But either way, it may require some development at the MRtrix3 end to allow using those data as input to tck2connectome.

@sina-mansour
Copy link
Owner

This is now implemented so that the endpoints from tractograms and all quantitative values per streamlines are stored as NumPy binaries (NPY).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants