Changeset 4026 in Sophya for trunk/Cosmo/RadioBeam/specpk.h
- Timestamp:
- Oct 10, 2011, 11:31:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/RadioBeam/specpk.h
r3947 r4026 51 51 { int olev=prtlev_; prtlev_=lev; prtmodulo_=prtmod; return olev; } 52 52 void ComputeFourierAmp(SpectralShape& pk); 53 void ComputeNoiseFourierAmp(Four2DResponse& resp, bool crmask=false); 53 // angscale is a multiplicative factor converting transverse k (wave number) values to angular wave numbers 54 // typically = ComovRadialDistance 55 void ComputeNoiseFourierAmp(Four2DResponse& resp, double angscale=1., bool crmask=false); 56 void ComputeNoiseFourierAmp(Four2DResponse& resp, double f0, double df, double angscale=1.); 57 54 58 // Return the array size 55 59 inline sa_size_t NCells() { return fourAmp.Size(); } … … 65 69 void ComputePkCumul(HProf& hp, double s2cut=0.); 66 70 67 HProf ComputeNoisePk(Four2DResponse& resp, Histo& fracmodok, DataTable& dt, 71 // angscale is a multiplicative factor converting transverse k (wave number) values to angular wave numbers 72 // typically = ComovRadialDistance 73 HProf ComputeNoisePk(Four2DResponse& resp, Histo& fracmodok, DataTable& dt, double angscale=1., 68 74 double s2cut=0., int nbin=256, double kmin=0., double kmax=-1.); 69 75 … … 85 91 PkNoiseCalculator(Four3DPk& pk3, Four2DResponse& rep, double s2cut=100., int ngen=1, const char* tit="PkNoise"); 86 92 93 inline void SetFreqRange(double freq0=835.,double dfreq=0.5) 94 { freq0_=freq0; dfreq_=dfreq; } 95 inline void SetAngScaleConversion(double angscale=1.) 96 { angscale_=angscale; } 87 97 inline void SetS2Cut(double s2cut=100.) 88 98 { S2CUT=s2cut; } … … 95 105 Four3DPk& pkn3d; 96 106 Four2DResponse& frep; 107 double freq0_,dfreq_; 108 double angscale_; 97 109 double S2CUT; 98 110 int NGEN;
Note:
See TracChangeset
for help on using the changeset viewer.