...
 
Commits (2)
......@@ -58,7 +58,7 @@ function lineshape_analysis_OpeningFcn(hObject, eventdata, handles, varargin)
% Choose default command line output for lineshape_analysis
handles.output = hObject;
set(handles.lVersion, 'String', 'Version: 0.1.0');
set(handles.lVersion, 'String', ['Version: ', lsa_version]);
% This sets up the initial plot - only do when we are invisible
% so window can get raised using lineshape_analysis.
......@@ -147,6 +147,8 @@ for i = 2:size(data2,1)
end
end
handles.delays = size(data2,1)/(pixel+1);
handles = rmfield( handles, 'probe_axis' );
handles = rmfield( handles, 'pump_axis' );
handles.probe_axis(:) = squeeze(data2(1:pixel,1));
handles.pump_axis(:) = squeeze(data2(pixel+1,2:end));
handles.data_fit_full = zeros(handles.delays,pixel,size(data2,2)-1);
......
......@@ -453,7 +453,7 @@ end
savefile = fopen([path, file], 'w');
fprintf(savefile,'# FFCF-data\n');
fprintf(savefile,'# lineshape-analysis\n');
fprintf(savefile,['# lineshape-analysis v',lsa_version,'\n']);
fprintf(savefile,'# Author: Sebastian Lenz\n');
fprintf(savefile,'#\n');
fprintf(savefile,'# experimental file: %s%s\n',handles.savedata.path, handles.savedata.input);
......
function version = lsa_version()
version ='0.1.1';
end