|
lsst.geom g096abc94f8+6a48825234
|
Public Member Functions | |
| def | range (self) |
| def | arange (self, dtype=np.int32) |
| def | slice (self) |
Definition at line 31 of file _Interval.py.
| def lsst.geom._Interval.IntervalI.arange | ( | self, | |
dtype = np.int32 |
|||
| ) |
Return an array containing all points in the interval.
Parameters
----------
dtype : convertible to `numpy.dtype`
The data type of the returned arrays.
Returns
-------
points : `numpy.ndarray`
1-d array with `size == self.size` containing points.
Definition at line 44 of file _Interval.py.
| def lsst.geom._Interval.IntervalI.range | ( | self | ) |
Return a `range` object containing all points in the interval.
Returns
-------
range : `range`
Range instance that can be used to iterate over all points in the
interval.
Definition at line 33 of file _Interval.py.
| def lsst.geom._Interval.IntervalI.slice | ( | self | ) |
Return a `slice` object corresponding to the interval's points.
Returns
-------
slice : `slice`
Slice instance that can be used to select the elements of a
container that correspond to the points in the interval.
Definition at line 59 of file _Interval.py.