Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Bug fix for old code that somehow didn't get commented out.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert F Cooper committed May 28, 2019
1 parent e585c54 commit 6f9bae8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions DFT-Based-Spacing/fit_fourier_spacing.m
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,14 @@
% [cmap, amap] = firecmap( 0.1882, 0.5608,0.3451, 256);


scaled_confmap = floor(255*(interped_conf_map./sum_map));
scaled_confmap(isnan(scaled_confmap)) = 0;
%scaled_confmap = floor(255*(interped_conf_map./sum_map));
%scaled_confmap(isnan(scaled_confmap)) = 0;

afullmap = zeros(size(scaled_confmap));
%afullmap = zeros(size(scaled_confmap));

for i=1:length(afullmap(:))
afullmap(i) = amap( scaled_confmap(i)+1 );
end
%for i=1:length(afullmap(:))
% afullmap(i) = amap( scaled_confmap(i)+1 );
%end


figure(2);clf; image((interped_conf_map./sum_map)); colormap hot;
Expand Down

0 comments on commit 6f9bae8

Please sign in to comment.