docs: def get_contrasts(self, names=None, variables=None, **kwargs):
          ''' Return contrast information for the current block.
  
          Args:
              names (list): Optional list of names of contrasts to return. If
                  None (default), all contrasts are returned.
              variables (bool): Optional list of strings giving the names of
                  design matrix columns to use when generating the matrix of
                  weights.
              kwargs: Optional keyword arguments used to constrain which of the
                  available nodes get returned (e.g., passing subject=['01',
                  '02'] will return contrast  information only for subjects '01'
                  and '02').
  
          Returns:
              A list with one element per unit of the current analysis level
              (e.g., if level='run', each element in the list representing the
              contrast information for a single run). Each element is a list of
              ContrastInfo namedtuples (one per contrast).
  
          '''
          nodes, kwargs = self._filter_objects(self.output_nodes, kwargs)
          return [n.get_contrasts(names, variables) for n in nodes]