Changeset 397 in Sophya
- Timestamp:
- Sep 1, 1999, 5:35:17 PM (26 years ago)
- Location:
- trunk/Poubelle/archTOI.old
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/Makefile
r372 r397 1 1 CXX=cxx 2 2 CFITSIODIR=../cfitsio 3 CPPFLAGS=-O -I$(CFITSIODIR)4 #CPPFLAGS=-g -I$(CFITSIODIR)3 #CPPFLAGS=-O -I$(CFITSIODIR) 4 CPPFLAGS=-g -I$(CFITSIODIR) 5 5 LDLIBS=-L$(CFITSIODIR) -lcfitsio 6 6 archtoi: archtoimain.o archtoi.o archeopsfile.o decompress.o toiiter.o toisvr.o archeops.o \ 7 7 ssthandler.o toiinterpolator.o gpsparser.o asigps.o \ 8 auxinterpgps.o tsid.o 8 auxinterpgps.o tsid.o archparam.o dyffttools.o fft_mayer.o \ 9 formepulse.o pisteetoile.o sstetoile.o transfelec.o 9 10 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm 10 11 archdump: archtoidump.o archeopsfile.o decompress.o archeops.o ssthandler.o … … 28 29 tsid.h 29 30 gpsparser.o: gpsparser.cc gpsparser.h archeops.h archeops_28.h 30 ssthandler.o: ssthandler.cc ssthandler.h archeops.h archeops_28.h31 31 test.o: test.cc archeopsfile.h archeops.h archeops_28.h ssthandler.h \ 32 32 gpsparser.h archtoi.h toisvr.h toiiter.h auxgps.h tsid.h \ … … 41 41 archeops.o: archeops.c archeops_28.c archeops.h archeops_28.h 42 42 decompress.o: decompress.c archeops.h archeops_28.h compress.h 43 transfelec.o: transfelec.cc transfelec.h 44 sstetoile.o: sstetoile.cc sstetoile.h 45 ssthandler.o: ssthandler.cc ssthandler.h archeops.h archeops_28.h \ 46 sstetoile.h pisteetoile.h transfelec.h formepulse.h 47 formepulse.o: formepulse.cc mayer_fft.h dyffttools.h transfelec.h \ 48 formepulse.h ssthardware.h 49 pisteetoile.o: pisteetoile.cc \ 50 /home/usr203/mnt/gnu/OSF1/lib/gcc-lib/alphaev5-dec-osf4.0d/2.8.1/include/math.h \ 51 /home/usr203/mnt/gnu/include/g++/iostream.h archparam.h pisteetoile.h \ 52 sstetoile.h transfelec.h formepulse.h 53 dyffttools.o: dyffttools.cc dyffttools.h 54 fft_mayer.o: fft_mayer.cc mayer_fft.h trigtbl.h 55 archparam.o: archparam.cc archparam.h -
trunk/Poubelle/archTOI.old/archeopsfile.cc
r396 r397 558 558 memcpy(&blockSet->curBlock,&blk2,sizeof(blk2)); 559 559 curKind = block_sst; 560 // cout << "process " << numero_block(&blockSet->curBlock) << "\n"; 560 561 blockSet->sstHandler.ProcessBlock((block_type_sst*)&blockSet->curBlock); 561 562 break; 562 563 } 563 564 case block_sst : { 565 // cout << "process " << numero_block(&blockSet->curBlock) << "\n"; 564 566 blockSet->sstHandler.ProcessBlock((block_type_sst*)&blockSet->curBlock); 565 567 } -
trunk/Poubelle/archTOI.old/pisteetoile.cc
r395 r397 116 116 // if(!isAlive()) return; 117 117 indexDebutPiste=InDebutPiste; 118 // cout << "fill " << indexDebutPiste << "\n"; 118 119 int* PhDiod=PhDiodArray; 119 120 int* pDataC=pData; … … 130 131 for(int i=0; i<nbdata; i++, PPhDiod++,pDataC++) *PPhDiod=(*pDataC); 131 132 indexDebutPiste+=nbdata; 133 // cout << "push " << nbdata << " " << indexDebutPiste << "\n"; 132 134 return; 133 135 } … … 153 155 if(testEtoile) { 154 156 // On emballe une etoile. 157 // cout << "star " << setprecision(10) << TIndex << "\n"; 155 158 LastEtoile.FitForme=SuccesAFine; 156 159 LastEtoile.X2Calc=X2Min; … … 206 209 gachette=false; 207 210 short iSeuil=0; 208 double* pPiste =PhDiodPiste+Prepulselong ;211 double* pPiste =PhDiodPiste+Prepulselong-1; 209 212 210 213 // On demande deux échantillons à 2 Vrms 211 for (int i= 0; i<(PhDiodTabLong-Prepulselong-1); i++, pPiste++) {214 for (int i=-1; i<(PhDiodTabLong-Prepulselong-1); i++, pPiste++) { 212 215 if (fabs(*pPiste)>(SeuilGachette*Vrms)) 213 216 if (fabs(*(pPiste+1))>SeuilGachette*Vrms) { … … 272 275 // On stocke les resultats 273 276 TIndex=indexDebutPiste+Prepulselong+MaxIndex+tmaxfit; 274 277 // cout << "tindex " << TIndex << " " <<indexDebutPiste<<" " <<Prepulselong << " " <<MaxIndex << " " << tmaxfit << "\n"; 275 278 X2Min=0.; 276 279 SuccesAFine=false; -
trunk/Poubelle/archTOI.old/ssthandler.cc
r395 r397 184 184 int jd0 = diodeHistLength-NbSampleBlock; 185 185 186 // cout << "find " << NoFirstSpInBlock << "\n"; 186 187 bool FlagLBlockPerdu=false; 187 188 int ThisBlockNumb=numero_block(blk);
Note:
See TracChangeset
for help on using the changeset viewer.