0001 subplot(211)
0002 plot(d.antenna0.roach1.LL)
0003 subplot(212)
0004 plot(d.antenna0.roach1.switchstatus)
0005
0006
0007
0008 d=read_arcSouth('15-Jan-2013:12:30:00','15-Jan-2013:13:00:00')
0009 d=read_arcSouth('15-Jan-2013:14:20:00','15-Jan-2013:14:50:00')
0010 d=read_arcSouth('15-Jan-2013:15:00:00','15-Jan-2013:15:20:00')
0011
0012
0013 d=read_arcSouth('19-Jan-2013:12:00:00','19-Jan-2013:12:20:00')
0014
0015
0016 BU2Kelvin=2700;
0017
0018
0019
0020
0021
0022 LL1=d.antenna0.roach1.LL-d.antenna0.roach1.load2;
0023 RR1=d.antenna0.roach1.RR-d.antenna0.roach1.load1;
0024 LL2=d.antenna0.roach2.LL-d.antenna0.roach2.load2;
0025 RR2=d.antenna0.roach2.RR-d.antenna0.roach2.load1;
0026
0027
0028 close all
0029
0030
0031
0032 LLcomb = [LL1 LL2];
0033 RRcomb = [RR1 RR2];
0034
0035
0036
0037
0038 LLmean=mean(LLcomb,2);
0039 RRmean=mean(RRcomb,2);
0040
0041 indextt=[1:12000];
0042 indextt2=[1000:1200];
0043
0044 subplot(211)
0045 plot(RRmean(indextt))
0046 title('RR')
0047 grid on
0048
0049 subplot(212)
0050 plot(LLmean(indextt))
0051 title('LL')
0052 grid on
0053
0054
0055
0056
0057
0058
0059 ndOnindex=logical(bitand(d.antenna0.roach1.switchstatus,1));
0060 ndOffindex=logical(~(bitand(d.antenna0.roach1.switchstatus,1)));
0061
0062 figure
0063 plot(RRmean(ndOnindex,:))
0064
0065 LLmeanK=LLmean./BU2Kelvin;
0066 RRmeanK=RRmean./BU2Kelvin;
0067
0068 binLLmean=bin(LLmeanK,100);
0069 binRRmean=bin(RRmeanK,100);
0070
0071 subplot(211)
0072 plot(binRRmean(1:1.750e3))
0073 title('RR')
0074 grid on
0075
0076 subplot(212)
0077 plot(binLLmean(1:1.750e3))
0078 title('LL')
0079 grid on
0080
0081 noiseOnL=mean(LLmeanK(ndOnindex));
0082 noiseOffL=mean(LLmeanK(ndOffindex));
0083
0084 noiseOnR=mean(RRmeanK(ndOnindex));
0085 noiseOffR=mean(RRmeanK(ndOffindex));
0086
0087 figure
0088 subplot(211)
0089 plot(binRRmean(1:1.650e3))
0090 title('RR')
0091 grid on
0092
0093 subplot(212)
0094 plot(binLLmean(1:1.650e3))
0095 title('LL')
0096 grid on
0097
0098
0099 figure
0100 plot(binRRmean(indextt2))
0101 hold all
0102 plot(binLLmean(indextt2))
0103
0104
0105 stdR= std(binRRmean(indextt2))
0106 stdL = std(binLLmean(indextt2))
0107
0108
0109 freq=generatePowerSpectrav2(utc,LLmean(indextt))
0110
0111 loglog(freq(:,2),freq(:,1))
0112
0113 1.8
0114
0115
0116 stdRa=std(RRmeanK(indextt))
0117 stdLa=std(LLmeanK(indextt))
0118
0119 subplot(211)
0120 plot(1000.*(RRmeanK(indextt)-mean(RRmeanK(indextt))))
0121 title(['RR :' texlabel('sigma') '=' num2str(1000.*stdRa) ' mK'])
0122 ylabel('mK')
0123 xlabel('Sample 100Hz')
0124 grid on
0125
0126 subplot(212)
0127 plot(1000.*(LLmeanK(indextt)-mean(LLmeanK(indextt))))
0128 title(['LL :' texlabel('sigma') '=' num2str(1000.*stdLa) ' mK'])
0129 ylabel('mK')
0130 xlabel('Sample 100Hz')
0131 grid on
0132
0133
0134 print('-depsc','ThermalNoised_26K.eps')
0135
0136
0137
0138 stdRa=std(RRmeanK(indextt))
0139 stdLa=std(LLmeanK(indextt))