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, latQuantity

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

valuesndarray

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
resultfloat ndarray

The interpolated values