code: def min_chans(self, min_chans):
          
          declustered = Party()
          for family in self.families:
              fam = Family(family.template)
              for d in family.detections:
                  if d.no_chans > min_chans:
                      fam.detections.append(d)
              declustered.families.append(fam)
          self.families = declustered.families
          return self
docs: Remove detections with fewer channels used than min_chans
  
          :type min_chans: int
          :param min_chans: Minimum number of channels to allow a detection.
          :return: Party
  
          .. Note:: Works in place on Party.
  
          .. rubric:: Example
  
          >>> party = Party().read()
          >>> print(len(party))
          4
          >>> party = party.min_chans(5)
          >>> print(len(party))
          1