Return True if a coordinate is increasing, otherwise return False.
A coordinate is increasing if its coordinate values are increasing in index space.
The direction is inferred from one of, in order of precedence:
Returns : |
|
---|
Examples
>>> c.array
array([ 0 30 60])
>>> c._get_direction()
True
>>> c.array
array([15])
>>> c.bounds.array
array([ 30 0])
>>> c._get_direction()
False