def METHOD_NAME(self):
    """
    Checks the following constraints:
    * Bin width is greater than 0.
    * Minimum magnitude is positive.
    * Maximum magnitude is greater than minimum magnitude
      by at least one bin width (or equal to that value).
    * Corner magnitude is greater than minimum magnitude
      by at least one bin width (or equal to that value).
    * ``b`` value is positive.
    """
    if not self.bin_width > 0:
        raise ValueError('bin width %g must be positive' % self.bin_width)
    if not self.min_mag >= 0:
        raise ValueError('minimum magnitude %g must be non-negative' %
                         self.min_mag)
    if not self.max_mag >= self.min_mag + self.bin_width:
        raise ValueError('maximum magnitude %g must be higher than '
                         'minimum magnitude %g by '
                         'bin width %g at least' %
                         (self.max_mag, self.min_mag, self.bin_width))
    if not self.b_val > 0.:
        raise ValueError('b-value %g must be non-negative' % self.b_val)
    if not self.corner_mag >= self.min_mag + self.bin_width:
        raise ValueError('corner magnitude %g must be higher than '
                         'minimum magnitude %g by '
                         'bin width %g at least' %
                         (self.corner_mag, self.min_mag, self.bin_width))