interpolate_bilinear_lonlat

astropy_healpix.interpolate_bilinear_lonlat(lon, lat, values, order='ring')[source]

Interpolate values at specific longitudes/latitudes using bilinear interpolation

Parameters:

lon, lat : Quantity

The longitude and latitude values as Quantity instances with angle units.

values : ndarray

Array with the values in each HEALPix pixel. The first dimension should have length 12 * nside ** 2 (and nside is determined automatically from this).

order : { ‘nested’ | ‘ring’ }

Order of HEALPix pixels

Returns:

result : float ndarray

The interpolated values