Commit fdbabf70 authored by Sebastian Lenz's avatar Sebastian Lenz 💻

remove pump_axis and probe_axis regardless if specra were previously loaded (Fixes #1)

parent 9dffa284
......@@ -113,10 +113,10 @@ end
axes(handles.axSpectrum);
cla;
handles = rmfield( handles, 'probe_axis' );
handles = rmfield( handles, 'pump_axis' );
if ~handles.firstDat
handles = rmfield( handles, 'delays' );
handles = rmfield( handles, 'probe_axis' );
handles = rmfield( handles, 'pump_axis' );
handles = rmfield( handles, 'data_fit_full' );
handles = rmfield( handles, 'actual_delays' );
handles = rmfield( handles, 'sizex' );
......@@ -147,8 +147,6 @@ 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);
......
function version = lsa_version()
version ='0.1.2';
version ='0.1.3';
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment