Changeset 3789 in Sophya for trunk/Cosmo/RadioBeam/lobe.cc
- Timestamp:
- Jun 27, 2010, 4:57:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/RadioBeam/lobe.cc
r3788 r3789 6 6 7 7 8 #include "fftwserver.h" 8 #include "fftwserver.h" 9 #include "matharr.h" 9 10 #include "ctimer.h" 10 11 … … 38 39 conv.setFrequency(f0+kz*df); 39 40 fresp_.setLambda(conv.getLambda()); 41 // cout << " DEBUG*" << kz << " lambda=" << conv.getLambda() << " lambda_ratio_=" << fresp_.lambda_ratio_ << endl; 40 42 ApplyLobeK2D(fresp_, fourAmp, dkx, dky); 41 43 ffts.FFTBackward(fourAmp, slice, true); 42 44 if (kz%20==0) cout << "BeamEffect::ApplyLobe3D() done kz=" << kz << " / a.SizeZ()=" << a.SizeZ() << endl; 43 45 } 46 double mean, sigma; 47 TF min, max; 48 a.MinMax(min, max); 49 MeanSigma(a, mean, sigma); 50 cout << " BeamEffect::ApplyLobe3D() - Result Min=" << min << " Max=" << max 51 << " Mean=" << mean << " Sigma=" << sigma << endl; 44 52 return; 45 53 } … … 64 72 conv.setFrequency(f0+kz*df); 65 73 fresp_.setLambda(conv.getLambda()); 66 Four2DRespRatio rratio( fresp_, rep);74 Four2DRespRatio rratio(rep, fresp_); 67 75 ApplyLobeK2D(rratio, fourAmp, dkx, dky); 68 76 ffts.FFTBackward(fourAmp, slice, true); 69 77 if (kz%20==0) cout << "BeamEffect::Correct2RefLobe() done kz=" << kz << " / a.SizeZ()=" << a.SizeZ() << endl; 70 78 } 79 double mean, sigma; 80 TF min, max; 81 a.MinMax(min, max); 82 MeanSigma(a, mean, sigma); 83 cout << " BeamEffect::Correct2RefLobe() - Result Min=" << min << " Max=" << max 84 << " Mean=" << mean << " Sigma=" << sigma << endl; 71 85 return; 72 86 } … … 74 88 /* --Methode-- */ 75 89 void BeamEffect::ApplyLobeK2D(Four2DResponse& rep, TArray< complex<TF> >& fourAmp, double dkx, double dky) 76 // dx, dy en radians, lambda en metres77 90 { 78 91 double kxx, kyy;
Note:
See TracChangeset
for help on using the changeset viewer.