magpie.plot.plot_polarEA

magpie.plot.plot_polarEA(pix, nr=None, rmax=1.0, base_nphi=3, pixID=None, proj='cart', center=[0.0, 0.0], steps=12, ax=None, vmin=None, vmax=None, cmap=plt.cm.viridis)

Plots pixels from a polar equal area grid.

Parameters
pixarray

Pixel values.

nrint, optional

Enter the number of radial bins, if None this will be calculated from the size of pix and base_nphi.

rmaxfloat, optional

Maximum radius, default=1.

base_nphi: int, optional

Number of pixels in the first ring, default=3.

pixIDint, optional

Enter the pixel indices of pix if pix is a subset of the pixel grid. Useful if you wish to plot only a subset of the pixel grid.

projstr, optional

Output coordinate projection. Either ‘cart’ for cartesian or ‘polar’ for polar projection.

centerlist, optional

Center point of the polar grid, only relevant for cartesian projection, default at the origin.

stepsint, optional

Number of steps in the polygon, default=12.

axobj, optional

Matplotlib axis, if None this is plotted onto the last figure.

vmin, vmaxfloat, optional

Ranges for pixel color.

cmapobj, optional

Enter matplotlib colormap object, default=plt.cm.viridis.