Changeset 399 in Sophya for trunk/Poubelle/archTOI.old/pisteetoile.cc
- Timestamp:
- Sep 1, 1999, 6:27:56 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/pisteetoile.cc
r397 r399 211 211 double* pPiste =PhDiodPiste+Prepulselong-1; 212 212 213 // On demande deux échantillons à 2Vrms214 for (int i= -1; i<(PhDiodTabLong-Prepulselong-1); i++, pPiste++) {213 // On demande deux échantillons à seuilgachette Vrms 214 for (int i=0; i<(PhDiodTabLong-Prepulselong); i++, pPiste++) { 215 215 if (fabs(*pPiste)>(SeuilGachette*Vrms)) 216 216 if (fabs(*(pPiste+1))>SeuilGachette*Vrms) { 217 217 gachette=true; 218 iSeuil=Prepulselong +i;218 iSeuil=Prepulselong-1+i; 219 219 break; 220 220 } … … 274 274 275 275 // On stocke les resultats 276 TIndex=indexDebutPiste+ Prepulselong+MaxIndex+tmaxfit;276 TIndex=indexDebutPiste+MaxIndex+tmaxfit; 277 277 // cout << "tindex " << TIndex << " " <<indexDebutPiste<<" " <<Prepulselong << " " <<MaxIndex << " " << tmaxfit << "\n"; 278 278 X2Min=0.;
Note:
See TracChangeset
for help on using the changeset viewer.