Skip to content

Commit 95d1f78

Browse files
committed
network atlas docs
1 parent 482677d commit 95d1f78

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

+nla/NetworkAtlas.m

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
classdef NetworkAtlas < nla.DeepCopyable
2-
%NETWORKATLAS Network atlas(also known as infomap)
3-
% Defines ROI positions/information and networks
2+
% Network atlas (also known as infomap)
3+
% Defines ROI positions/information and networks
4+
%
5+
% :param name: The name of the atlas
6+
% :param net_names: N\ :sub:`nets`\ x 3 matrix. The names of the networks
7+
% :param ROI_key: N\ :sub:`ROIs`\ x 2 matrix. First column is ROI (Region Of Interest) indexes, second column is the network they belong to
8+
% :param ROI_order: N\ :sub:`ROIs`\ x 1 vector. Functional Connectivity data indexes corresponding to ROIs
9+
% :param ROI_pos: N\ :sub:`ROIs`\ x 3 matrix. Centroid positions for each ROI.
10+
% :param net_colors: N\ :sub:`nets`\ x 3 matrix. The color of each network when plotted.
11+
% :param parcels: Optional MATLAB struct field for surface parcellations. Contains two sub-fields ``ctx_l`` and ``ctx_r``. N\ :sub:`verts`\ x 1 vectors. Each element of a vector corresponds to a vertex within the spatial mesh and contains the index of the ROI for that vertex.
12+
% :param space: Optional The mesh that the atlas` ROI locations/parcels are in. Two options - ``TT`` or ``MNI``
13+
414

515
properties (SetAccess = private)
6-
nets
16+
nets % This is the net_names
717
ROIs
818
ROI_order
919
name
@@ -102,18 +112,22 @@
102112
end
103113

104114
function val = numNets(obj)
115+
% :returns: The number of networks
105116
val = numel(obj.nets);
106117
end
107118

108119
function val = numNetPairs(obj)
120+
% :returns: The number of network pairs
109121
val = nla.helpers.triNum(numel(obj.nets));
110122
end
111123

112124
function val = numROIs(obj)
125+
% :returns: The number of Regions Of Interest (ROIT)
113126
val = numel(obj.ROIs);
114127
end
115128

116129
function val = numROIPairs(obj)
130+
% :returns: The number of ROI pairs
117131
val = nla.helpers.triNum(numel(obj.ROIs) - 1);
118132
end
119133
end

0 commit comments

Comments
 (0)