Repository navigation
Highlights
- Sample data from Zenodo. The sample data (the Colin27 average brain in the tallin space) is now published in a Zenodo record (10.5281/zenodo.23702131). The new
misctoolsfunctionslist_sample_data,fetch_sample_dataandget_sample_data_dirdownload the surfaces, cortical maps and tractograms the first time they are needed, check them against their SHA-256 checksums and cache them (setCLABTOOLKIT_DATA_DIRto use another folder). The annotations, the parcellation and the transform are shipped with the package.poochis now a dependency. - Notebooks, quickstart and README use the retrieved data. They no longer need FreeSurfer outputs, and simulation is kept only for data the sample set lacks, such as functional images. The new notebook
examples-representative-workflows.ipynbcontains three end-to-end workflows. - New surface formats.
Surface.load_from_filereads GIFTI, VTK, PLY, OBJ and STL surfaces,Surface.save_surfaceexports GIFTI, andSurface.load_scalar_mapsreads GIFTI shape maps.compute_reg_val_fromannotalso reads GIFTI maps. - New tractogram and points methods.
Tractogram.remove_mapsremoves maps and their colortables, andPointsCloud.to_surfaceconverts points to a surface of spheres. - Connectome plots.
Connectome.plot_matrixhas newsave_path,dpiandoverwriteoptions, and agroupsoption that orders, separates and labels the regions by group.
Changes that may affect your code
PointCloudis nowPointsCloud,merge_pointcloudsis nowmerge_pointscloudsand itspointcloudsparameter is nowpclouds. The old names are not kept as aliases.AnnotParcellation.export_to_tsvgives the index 0 to theunknownregions from 1.data/parcellationtoolsis nowdata/parcellations. The sample subject issub-colin27, the file names follow the BIDS entity order, and the annotations are.label.giifiles.
The sample surfaces, cortical maps and tractograms are no longer inside the p
Documentation
- New docs cards for the representative workflows and for `clabtoolkit_exampl
- The table of contents of the usage notebooks links to the headings, so it works in the VS Code outline, and typos were corrected.
Full details are in HISTORY.rst.