Grid of coordinates

class arepy.coord.grid(bins=0, extent=None, points='centers', scatter=None, **opt)
class arepy.coord.gridCube(bins=0, extent=None, points='centers', scatter=None, **opt)

Create a point grid with a shape of a cube

../_images/cube000.png

Download the source code of the plot.

class arepy.coord.gridSquareXY(bins=0, extent=None, points='centers', scatter=None, **opt)

Create a point grid in a form of a square on the X/Y plane

../_images/squarexy000.png

Download the source code of the plot.

class arepy.coord.gridDisc(bins, extent=None, points='edges', scatter=None, **opt)

Create a disc grid with from concentric circles

../_images/disc000.png

Download the source code of the plot.

class arepy.coord.gridHealpix(bins=0, extent=None, points='centers', scatter=None, **opt)

Create a point grid from a healpix sphere pixels

../_images/healpix000.png

Download the source code of the plot.

class arepy.coord.gridRays(bins=0, extent=None, points='centers', scatter=None, **opt)

Create a grid of rays using healpix

../_images/rays000.png

Download the source code of the plot.

reshapeData(data)

Reshape data

Reshapes data into the shape (npix,nbins)