function [spectra wavevector timevector]=getdata(filename)
	# reads in file and returns data, with times and wavelengths separated into one column vector and one row vector
	spectra=load(filename); # read all data into spectra
	wavevector= spectra(1,2:columns(spectra)); # extract wavelength vector
	timevector= spectra(2:rows(spectra),1); # extract time vector
endfunction
