# Script pour lire un fichier FITS avec les donnees FITS FFT_SHRINK et faire des plots de # controle # Appel : ckshrink.pic Directory NumeroFITS delobjs * set DIR $1 set OSIG signal$2 set file $DIR/$OSIG.fits echo '----> ckshrink: Opening file ' $file readfits $file listobjs newh2d C1ri -128.5 128.5 257 -128.5 128.5 257 newh2d C2ri -128.5 128.5 257 -128.5 128.5 257 newh1d C1exp -128.5 128.5 257 newh1d C2exp -128.5 128.5 257 newh1d C1val -128.5 128.5 257 newh1d C2val -128.5 128.5 257 newvec specC1 1024 newvec specC2 1024 rename $OSIG sigdum c++exec \ int C1OFFSET=24; \ int C2OFFSET=2072; \ cout << " ===== Signal Analysis ===== START " << C1OFFSET << " , " << C2OFFSET << endl; \ for(int j=0; j0 "notit nsta blue" disp C2exp 'font=helvetica,roman,14 red' disp C2val 'font=helvetica,roman,14 red' #disp C2ri 'font=helvetica,roman,14 red' plot2d C2ri x y val>0 "notit nsta red" newwin zone 1 2 plot2d specC1 n*250/4096+125 val 1 'blue cpts font=helvetica,roman,14 nsta notit' settitle 'Spec Voie 1 ' ' ' ' blue font=helvetica,bold,16 ' plot2d specC2 n*250/4096+125 val 1 'red cpts font=helvetica,roman,14 nsta notit' settitle 'Spec Voie 2 ' ' ' ' red font=helvetica,bold,16 '