docs: def constrain_secdepth(self, thresh):
          """
          Constrain the observed secondary depth to be less than a given value
  
          :param thresh:
              Maximum allowed fractional depth for diluted secondary
              eclipse depth
  
          """
          self.apply_constraint(UpperLimit(self.secondary_depth, thresh, name='secondary depth'))