magpie.pixels.pos2pix_polarEA
- magpie.pixels.pos2pix_polarEA(phi, r, nphi, nr, base_nphi=3, rmax=1.0)
Angular and radial coordinates to polar equal area grid.
- Parameters
- phi, rfloat or array
Angular and radial coordinates.
- nrint
Grid size along the radial axes.
- base_nphiint, optional
Number of divisions in the angular axes across the first ring.
- rmaxfloat, optional
Maximum radius, default=1.
- Returns
- pixIDint or array
The pixel index the points are located in the polar coordinate grid.