Software Open Access
Luke Chang; Sam; Eshin Jolly; Jin Hyun Cheong; Anton Burnashev; Andy Chen; Marissa Clark; Seth Frey; Paxton Fitzpatrick
onsets_to_dm
as error-checking wasn't quite rightnilearn
warningsnibabel
.get_affine()
-> .affine
Brain_Data.similarity
should be dramatically faster and now supports rank correlation: https://github.com/cosanlab/nltools/issues/308 https://github.com/cosanlab/nltools/issues/316 https://github.com/cosanlab/nltools/issues/404Design_Matrix.clean
will raise an error if there are duplicate column name.h5
objects in Brain_Data
now respects the mask
argument:
```
# User loads h5 that contains mask so that mask is used instead of the default MNI maskBrain_Data('brain.h5')
User loads h5 that contains mask but also sets mask argument. Now mask value takes precedence over whatever mask is in h5 so we issue a warning to the user letting them know on loadBrain_Data('brain.h5', mask='path/to/nifti/mask.nii.gz')
User loads h5 that does NOT contain a mask and doesnt set the mask argument so the default MNI mask is used, similar to nifti files This is an implicit fallback just like with niftisUserWarning(...)
Brain_Data('brain_nomask.h5')
User loads h5 that does NOT contain mask but also sets mask argument Mask value is used to learn transformation like niftis No need to warn them about anythingBrain_Data('brain_nomask.h5', mask='path/to/nifti/mask.nii.gz') ```
Name | Size | |
---|---|---|
cosanlab/nltools-v0.4.6.zip
md5:fb61370e2a5a57f6298149b2cb5ce129 |
3.4 MB | Download |
All versions | This version | |
---|---|---|
Views | 908 | 7 |
Downloads | 47 | 0 |
Data volume | 158.4 MB | 0 Bytes |
Unique views | 767 | 7 |
Unique downloads | 36 | 0 |