if min_stripe_length <= 0 or min_stripe_length >= dz:
        msg = ("The minimum length of a stripe cannot be zero "
               "or exceed the size of the angular dimension")
        raise ValueError(msg)