getSpots function

Get the spot coordinates of spectra