neurosynth/base/dataset.py
def get_features_by_ids(self, ids=None, threshold=0.0001, func=np.mean,
                            get_weights=False):
        ''' Returns features for which the mean loading across all specified
        studies (in ids) is >= threshold. '''
        weights = self.data.ix[ids].apply(func, 0)
        above_thresh = weights[weights >= threshold]
        return above_thresh if get_weights else list(above_thresh.index)
def get_features_by_ids(self, ids=None, threshold=0.0001, func=np.mean,
                            get_weights=False):
        ''' Returns features for which the mean loading across all specified
        studies (in ids) is >= threshold. '''
        weights = self.data.ix[ids].apply(func, 0)
        above_thresh = weights[weights >= threshold]
        return above_thresh if get_weights else list(above_thresh.index)
def get_features_by_ids ( self , ids = None , threshold = 0.0001 , func = np . mean , get_weights = False ) : weights = self . data . ix [ ids ] . apply ( func , 0 ) above_thresh = weights [ weights >= threshold ] return above_thresh if get_weights else list ( above_thresh . index )
Returns features for which the mean loading across all specified
        studies (in ids) is >= threshold.
Returns features for which the mean loading across all specified studies ( in ids ) is > = threshold .