Ignore:
Timestamp:
Sep 1, 1999, 5:35:17 PM (26 years ago)
Author:
ansari
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/pisteetoile.cc

    r395 r397  
    116116//      if(!isAlive()) return;
    117117        indexDebutPiste=InDebutPiste;
     118        //      cout << "fill " << indexDebutPiste << "\n";
    118119        int* PhDiod=PhDiodArray;
    119120        int* pDataC=pData;
     
    130131        for(int i=0; i<nbdata; i++, PPhDiod++,pDataC++) *PPhDiod=(*pDataC);
    131132        indexDebutPiste+=nbdata;
     133        //      cout << "push " << nbdata << " " << indexDebutPiste << "\n";
    132134        return;
    133135}
     
    153155                if(testEtoile) {
    154156                // On emballe une etoile.
     157                  //              cout << "star " << setprecision(10) << TIndex << "\n";
    155158                        LastEtoile.FitForme=SuccesAFine;
    156159                        LastEtoile.X2Calc=X2Min;
     
    206209        gachette=false;
    207210        short iSeuil=0;
    208         double* pPiste =PhDiodPiste+Prepulselong;
     211        double* pPiste =PhDiodPiste+Prepulselong-1;
    209212       
    210213// 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++) {
    212215                if (fabs(*pPiste)>(SeuilGachette*Vrms))
    213216                        if (fabs(*(pPiste+1))>SeuilGachette*Vrms) {
     
    272275//      On stocke les resultats
    273276                TIndex=indexDebutPiste+Prepulselong+MaxIndex+tmaxfit;
    274                
     277                //              cout << "tindex " << TIndex << " " <<indexDebutPiste<<" " <<Prepulselong << " " <<MaxIndex << " " << tmaxfit << "\n";
    275278                X2Min=0.;
    276279                SuccesAFine=false;
Note: See TracChangeset for help on using the changeset viewer.