@staticmethod
def check_float_positive(arg_name, arg_value):
    """Float type judgment."""
    if isinstance(arg_value, float):
        if arg_value > 0:
            return arg_value
        raise ValueError(
            f'The `{arg_name}` must be positive, but got {arg_value}.')
    raise TypeError(f'`{arg_name}` must be float!')
