sample_at_coords

sunpy.map.sample_at_coords(smap, coordinates)[source]

Samples the data in a map at given series of coordinates. Uses nearest-neighbor interpolation of coordinates in map, as it effectively uses array indexing.

Parameters
Returns

numpy.array – A numpy.array corresponding to the data obtained from the map, at the input coordinates.