Inheritance diagram for nipy.labs.spatial_models.parcellation:
Generic Parcellation class: Contains all the items that define a multi-subject parcellation
Author : Bertrand Thirion, 2005-2008
TODO : add a method ‘global field’, i.e. non-subject-specific info
Bases: object
MultiSubjectParcellation class are used to represent parcels that can have different spatial different contours in a given group of subject It consists of self.domain: the specification of a domain self.template_labels the specification of a template parcellation self.individual_labels the specification of individual parcellations
fixme:should inherit from mroi.MultiROI
Methods
| check | |
| copy | Generic (shallow and deep) copying operations. |
| get_feature | |
| make_feature | |
| population | |
| set_feature | |
| set_individual_labels | |
| set_template_labels |
Initialize multi-subject parcellation
| Parameters : | domain: discrete_domain.DiscreteDomain instance, :
template_labels: array of shape domain.size, optional :
individual_labels: array of shape (domain.size, nb_subjects), optional, :
nb_parcel: int, optional, :
|
|---|
Performs an elementary check on self
Returns a copy of self
Get feature defined by fid
| Parameters : | fid: string, the feature identifier : |
|---|
Compute parcel-level averages of data
| Parameters : | fid: string, the feature identifier : data: array of shape (self.domain.size, self.nb_subj, dim) or :
|
|---|---|
| Returns : | pfeature: array of shape(self.nb_parcel, self.nbsubj, dim) :
|
Returns the counting of labels per voxel per subject
| Returns : | population: array of shape (self.nb_parcel, self.nb_subj) : |
|---|
Set feature defined by fid and data into self
| Parameters : | fid: string :
data: array of shape (self.nb_parcel, self.nb_subj, dim) or :
|
|---|