class DepthRange(top_depth=None, bot_depth=None, ray_param=-1)[source]

Bases: builtins.object

Convenience class for storing a depth range. It has a top and a bottom and can have an associated ray parameter.


__doc__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)

Private Methods


Private methods are mainly for internal/developer use and their API might change without notice.

_from_array Create instance object from a structured array used in serialization.
_to_array Store all attributes for serialization in a structured array.

Special Methods

__dir__ default dir() implementation
__format__ default object formatter
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().