Changeset 5 for corel


Ignore:
Timestamp:
04/07/08 14:57:45 (16 years ago)
Author:
meynadie
Message:

mises à jour diverses

Location:
corel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • corel/corel.py

    r2 r5  
    1515from math import * 
    1616 
    17 from fitgaussian import * 
     17#from fitgaussian import * 
    1818 
    1919VERSION='0.0' 
     
    179179 
    180180 
    181 params = fitgaussian(bloc) 
    182 fit = gaussian(*params) 
    183 (height, x, y, width_x, width_y) = params 
    184 print "Décalage gaussienne : %f %f" % (((x+x_max)-crpix1)*cdelt1+crval1, 
    185                                       ((y+y_max)-crpix2)*cdelt2+crval2) 
     181#params = fitgaussian(bloc) 
     182#fit = gaussian(*params) 
     183#(height, x, y, width_x, width_y) = params 
     184#print "Décalage gaussienne : %f %f" % (((x+x_max)-crpix1)*cdelt1+crval1, 
     185#                                      ((y+y_max)-crpix2)*cdelt2+crval2) 
    186186 
  • corel/params.py

    r2 r5  
    1616 
    1717    if (label=='test'): 
    18         ref='centre_0.fits' 
    19         img='zero.fits' 
     18        ref='zero.fits' 
     19        img='test.fits' 
    2020        liste_points = [[338,432], 
    2121                        [1701,416], 
  • corel/pre.py

    r2 r5  
    3838# Suppresion du fond (version brutale) 
    3939 
    40 scidata -= 7000 
     40scidata -= 2900 
    4141scidata = numpy.where(scidata<0,0,scidata) 
    4242 
Note: See TracChangeset for help on using the changeset viewer.