neurosynth/analysis/decode.py
def _load_features_from_images(self, images, names=None):
        """ Load feature image data from image files.

        Args:
          images: A list of image filenames.
          names: An optional list of strings to use as the feature names. Must
            be in the same order as the images.
        """
        if names is not None and len(names) != len(images):
            raise Exception(
                "Lists of feature names and images must be of same length!")
        self.feature_names = names if names is not None else images
        self.feature_images = imageutils.load_imgs(images, self.masker)
def _load_features_from_images(self, images, names=None):
        if names is not None and len(names) != len(images):
            raise Exception(
                "Lists of feature names and images must be of same length!")
        self.feature_names = names if names is not None else images
        self.feature_images = imageutils.load_imgs(images, self.masker)
def _load_features_from_images ( self , images , names = None ) : if names is not None and len ( names ) != len ( images ) : raise Exception ( "Lists of feature names and images must be of same length!" ) self . feature_names = names if names is not None else images self . feature_images = imageutils . load_imgs ( images , self . masker )
Load feature image data from image files.

        Args:
          images: A list of image filenames.
          names: An optional list of strings to use as the feature names. Must
            be in the same order as the images.
Load feature image data from image files .