File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -704,7 +704,7 @@ def agg_data(self, intent_code=None):
704
704
-------
705
705
tuple of ndarrays or ndarray
706
706
If the input is a tuple, the returned tuple will match the order.
707
-
707
+
708
708
Examples
709
709
--------
710
710
>>> import nibabel as nib
@@ -716,17 +716,17 @@ def agg_data(self, intent_code=None):
716
716
717
717
Retrieve data without passing ``intent code``
718
718
719
- >>> surf_data = surf_gii_img.agg_data()
719
+ >>> surf_data = surf_gii_img.agg_data()
720
720
>>> func_data = func_gii_img.agg_data()
721
721
722
722
When passig matching intend codes ``intent_code``
723
-
723
+
724
724
>>> pointset_data = surf_gii_img.agg_data('pointset') # surface pointset
725
725
>>> triangle_data = surf_gii_img.agg_data('triangle') # surface triangle
726
726
>>> ts_data = func_gii_img.agg_data('time series') # functional file
727
-
727
+
728
728
When passing mismatching ``intent_code``, the function return a empty ``tuple``
729
-
729
+
730
730
>>> surf_gii_img.agg_data('time series')
731
731
()
732
732
>>> func_gii_img.agg_data('triangle')
You can’t perform that action at this time.
0 commit comments