Home > pointing > makePlotsMoon.m

makePlotsMoon

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 [s w] = unix('ls --color=never -lh /home/cbass');
0002 
0003 entVals = strfind(w, '.fit');
0004 
0005 for m=1:length(entVals)
0006   entry{m} = w(entVals(m)-15:entVals(m)+3);
0007 end
0008 
0009 eloff = -2:0.15:2.01;
0010 azoff = -2:0.15:2.01;
0011 
0012 keyboard;
0013 index = 1;
0014 fullMap = [];
0015 for m=1:length(eloff)
0016   thisRow = [];
0017   for n=1:length(azoff)
0018     eval(sprintf('thisFits = fitsread2(''/home/cbass/%s'');', entry{index}));
0019 thisFits(thisFits<0) = nan;
0020 thisFits(thisFits>50) = nan;
0021     thisRow = [thisRow thisFits];
0022     tf(:,:,n) = thisFits;
0023     index  = index+1;
0024   end
0025   imagesc(thisRow);
0026   eval(sprintf('title(''Elevation Row %d: %2.2f'');', m, eloff(m)));
0027   meanRowAz(m) = mean(tf(:));
0028 colorbar;
0029 
0030 pause(1);
0031 end
0032 
0033 keyboard;

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005