Repository navigation
clabtoolkit 0.5.0
clabtoolkit 0.5.0
pip install clabtoolkit==0.5.0 · PyPI
Breaking changes
- DWI maps: the FA, VF, RA and GA maps of
maps_from_tensor_eigenvalueswere computed with wrong formulas and are now fixed. Maps made with earlier versions will change. - DICOM session names: the study time lost its leading zero (09:15:30 gave
ses-2024031291530). It is nowses-20240312091530, so sessions acquired before 10:00 get different folder names. - BIDS tables: the
suffixcolumn is nowType, and thepipelinetoolstables use the original BIDS entity names (Participant,Session,Run, ...). Code reading the old column names must be updated. - Renamed:
get_ids2processis nowget_fullids2process, with a newsourceparameter ('folders'or'files'). entities_to_tableraisesValueErrorinstead ofTypeErrorwhenfilepathisNone.
Added
DiffusionScheme.simulate_dwi_acq_schemefor shelled and Cartesian (DSI) schemes, andsave_path,non_blockingandwindow_sizeforDiffusionScheme.plot.window_sizeforBrainPlotter.plot,plot_hemispheresandplot_scene.pathlib.Pathsupport ines_file.- The
paramentity and thedwimapsuffix in the BIDS configuration. - Example notebooks forimagelsandpipelinetools. - Test suites for
pipelinetools,dicomtools,imagetools,segmentativisualizationtools`.
### Fixed - dwitools: gradient signs from
DiffusionScheme.from_bmatrix_array;delete_dwi_volumesandget_from bval files stored as acolumn;get_b0s` crashing without an output name or bval file; inconsistent return types. - imagetools: Gaussian smorom_volume
andextract_mesh_from_volume;closingremoving voxels on the image border;crop_image_from_maskdroppin;create_spamswith adictionary lookup table;spams2maxprob_from_volumeandregion_growing` no longer modify their inputs. - dicomtools:
overwrite=Truedeleting a file without copying it again;ses_idbeing ignored;create_sessionm_filefailing on missing tags or non-DICOM files;org_conv_dicomsexiting Python when no subjects were found, plus exact subject-ID matching and - visualizationtools:
update_figure_confignow validates every parameter before applying any, so one invalid vfiguration half-updated.
### Documentation
UpdatedCONTRIBUTING.rst,tox.iniandDOCUMENTATION.md; corrected theBrainPlotterandpipelinetoolsdocstringsrnings.
Full changelog:HISTORY.rst