lsst.geom g3b44f30a73+6611e0205b
Public Member Functions | List of all members
lsst.geom._Box.Box2I Class Reference

Public Member Functions

def grid (self, dtype=np.int32)
 

Detailed Description

Definition at line 31 of file _Box.py.

Member Function Documentation

◆ grid()

def lsst.geom._Box.Box2I.grid (   self,
  dtype = np.int32 
)
Return pair of arrays with the centers of all pixels in the box.

Parameters
----------
dtype : convertible to `numpy.dtype`
    The data type of the returned arrays.

Returns
-------
x : `numpy.ndarray`
    Array with shape `(self.height, self.width)` containing x
    coordinate values.
y : `numpy.ndarray`
    Array with shape `(self.height, self.width)` containing x
    coordinate values.

Definition at line 33 of file _Box.py.


The documentation for this class was generated from the following file: