Download CIFTI_read_save/@gifti/fieldnames.m from cindyhfls/fcMRI-VAE: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/cindyhfls/fcMRI-VAE/resolve/main/CIFTI_read_save/%40gifti/fieldnames.m
- Command line
-
hf download hf://cindyhfls/fcMRI-VAE/CIFTI_read_save/@gifti/fieldnames.m
-
curl -L -o fieldnames.m https://huggingface.co/cindyhfls/fcMRI-VAE/resolve/main/CIFTI_read_save/%40gifti/fieldnames.m
553 Bytes
| function names = fieldnames(this) | |
| % Fieldnames method for GIfTI objects | |
| % FORMAT names = fieldnames(this) | |
| % this - GIfTI object | |
| % names - field names | |
| %__________________________________________________________________________ | |
| % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging | |
| % Guillaume Flandin | |
| % $Id: fieldnames.m 6507 2015-07-24 16:48:02Z guillaume $ | |
| if numel(this) > 1, warning('Only handle scalar objects yet.'); end | |
| pfn = {'vertices','faces','normals','cdata','mat','labels','indices'}; | |
| names = unique(pfn(isintent(this,pfn))); | |