- sunpy.map.extract_along_coord(smap, coord)¶
Return the value of the image array at every pixel the coordinate path intersects.
For a given coordinate
coord, find all the pixels that cross the coordinate and extract the values of the image array in
smapat these points. This is done by applying Bresenham’s line algorithm between the consecutive coordinates, in pixel space, and then indexing the data array of
smapat those points.