function [fid,pars]=loadfid(infile,parfile)
%%Usage: [fid,pars]=loadfile(infile,parfile)
%%reads a pts, re, im ascii array 
%%generated by bin2ascii
%%and a parfile generated with genpar
	fid=load(infile);
	pars=load(parfile);
	t=linspace(0,(1/(pars(1)/(pars(2)/2))),pars(2)/2);
	fid=[t' fid(:,2) fid(:,3)];
end
