Changeset 3993 in Sophya for trunk/AddOn/TAcq/brprocGain.cc
- Timestamp:
- May 13, 2011, 12:37:14 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/brprocGain.cc
r3992 r3993 185 185 medfiltspecmtx_.Info()["NPAQSUM"] = nbtot_specwin_; 186 186 medfiltspecmtx_.Info()[buff] = nbtot_specwin_; 187 //JEC timeStamp in the day @ millisec: faudra gerer le passage a minuit!188 medfiltspecmtx_.Info()["TIMEWIN"] = (windowTime_.SecondsPart())*1000.;189 190 191 187 if ( nbtot_specwin_ > 0) { 192 188 medfiltspecmtx_.Row(ir) /= (r_4)nbtot_specwin_; 193 189 } 194 190 }//eo loop on channels 191 //JEC timeStamp in the day @ millisec: faudra gerer le passage a minuit! 192 //Reza : getObsTimeSeconds() fournit le temps ecoule en seconde a partir de 0h00 de la date du premier fichier 193 medfiltspecmtx_.Info()["TIMEWIN"] = (windowTime_.SecondsPart())*1000.; 194 if (nbpmoyttfc_>1) { 195 moyfc_/=(double)nbpmoyttfc_; 196 moytt_/=(double)nbpmoyttfc_; 197 } 198 string ikey,ikdesc; 199 ikey="MeanFC"; ikdesc="Mean FrameCounter"; 200 medfiltspecmtx_.Info().SetI(ikey,moyfc_); 201 medfiltspecmtx_.Info().SetComment(ikey,ikdesc); 202 ikey="MeanTT"; ikdesc="Mean TimeTag"; 203 medfiltspecmtx_.Info().SetD(ikey,moytt_); 204 medfiltspecmtx_.Info().SetComment(ikey,ikdesc); 205 195 206 char nfile[64]; 196 207 string flnm; … … 206 217 //increment the file index 207 218 nummedianfile_++; 219 220 if (dtpms_!=NULL) FillPwrTmDTable(mspecmtx_); 208 221 209 222 //reset the matirx 210 223 medfiltspecmtx_ = (r_4)(0.); 211 212 224 //reset counter 213 225 nbtot_specwin_ = 0; 226 moyfc_=moytt_=0.; 227 nbpmoyttfc_=0; 214 228 215 229 return;
Note:
See TracChangeset
for help on using the changeset viewer.