Changeset 557 for trunk


Ignore:
Timestamp:
05/21/12 09:43:05 (12 years ago)
Author:
lelod
Message:

correction erreur cresamsu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cresamsu.pro

    r556 r557  
    335335moytbliss=smooth(moytb,5) 
    336336correction=moytbliss-mean(moytbliss[21:30]) 
    337 print, correction 
     337;print, correction 
    338338 
    339339 
     
    391391            endif 
    392392         endfor 
    393          ind=where(fov eq 1) 
    394          tb1[ind]=tbinit[ind] ;-correction[0] 
    395             ind=where(fov ge fovmax,bigfov) 
    396             if bigfov ne 0 then begin 
    397                tb1[ind]=tbinit[ind] ;-correction[fovmax-1] 
    398             endif 
    399             print,'effet de la correction' 
    400             print,'moyenne, min, max',mean(tb1-tbinit),min(tb1-tbinit),max(tb1-tbinit) 
     393         ind=where(fov eq 1,smallfov) 
     394         if smallfov ne 0 then begin 
     395            tb1[ind]=tbinit[ind] ;-correction[0] 
     396         endif 
     397         ind=where(fov ge fovmax,bigfov) 
     398         if bigfov ne 0 then begin 
     399            tb1[ind]=tbinit[ind] ;-correction[fovmax-1] 
     400         endif 
     401;         print,'effet de la correction' 
     402;         print,'moyenne, min, max',mean(tb1-tbinit),min(tb1-tbinit),max(tb1-tbinit) 
    401403 
    402404         for i=0,nn-1 do begin 
Note: See TracChangeset for help on using the changeset viewer.