2.1. czekitout.check
Contains functions that facilitate validation with useful error messages when exceptions are thrown.
Functions
Check whether input object is boolean. |
|
Check whether input object is a 3D boolean array. |
|
Check whether input object is a 2D boolean array. |
|
Check whether input object is a sequence of booleans. |
|
Check whether input object is callable. |
|
Check whether input object is a complex-valued numpy array. |
|
Check whether input object is a complex-valued 2D numpy array. |
|
Check whether input object is dictionary-like. |
|
Check whether input object is a real number. |
|
Check whether input object is a sequence of real numbers. |
|
Check whether input object is one of any given accepted types. |
|
Check whether input object is an integer. |
|
Check whether input object is a sequence of integers. |
|
Check whether input object is a multi-dimensional slice-like object. |
|
Check whether input object is a nonnegative real number. |
|
Check whether input object is a sequence of nonnegative real numbers. |
|
Check whether input object is a nonnegative integer. |
|
Check whether input object is a sequence of nonnegative integers. |
|
Check whether input object is a nonnegative numpy array. |
|
Check whether input object is a nonnegative numpy matrix. |
|
Check whether input object is one of any given accepted strings. |
|
Check whether input object is a pair of real numbers. |
|
Check whether input object is a pair of integers. |
|
Check whether input object is a pair of nonnegative real numbers. |
|
Check whether input object is a pair of nonnegative integers. |
|
Check whether input object is a pair of positive real numbers. |
|
Check whether input object is a pair of positive integers. |
|
Check whether input object is a sequence of pairs of real numbers. |
|
Check whether input object is a sequence of pairs of integers. |
|
Check whether input object is a sequence of pairs of nonnegative integers. |
|
Check whether input object is a positive real number. |
|
Check whether input object is a sequence of positive real numbers. |
|
Check whether input object is a positive integer. |
|
Check whether input object is a sequence of positive integers. |
|
Check whether input object is a quadruplet of nonnegative integers. |
|
Check whether input object is a quadruplet of positive real numbers. |
|
Check whether input object is a real-valued numpy array. |
|
Check whether input object is a real-valued 1D numpy array. |
|
Check whether input object is a real-valued 3D numpy array. |
|
Check whether input object is a real-valued 2D numpy array. |
|
Check whether input object is a real-valued 2D two-column numpy array. |
|
Check whether input object is a scalar. |
|
Check whether input object is a one-dimensional slice-like object. |
|
Check whether input object is string-like. |
|
Check whether input object is a sequence of string-like objects. |