Changeset 25


Ignore:
Timestamp:
09/01/08 16:41:52 (12 years ago)
Author:
meynadie
Message:
 
Location:
pyraw2fits
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pyraw2fits/pyraw2fits.bat

    r13 r25  
    44set MY_PYTHON_ROOT=C:\Python25 
    55 
     6@echo on 
     7 
    68"%MY_PYTHON_ROOT%\python.exe" c:\forge-svn\pyraw2fits\pyraw2fits.py -n %1 
  • pyraw2fits/pyraw2fits.py

    r8 r25  
    1818def raw2fits(InputFilename,headers,comments): 
    1919    OutputFilename = InputFilename.replace('.dat','.fits') 
    20  
     20    print "Converting %s to %s" % (InputFilename, OutputFilename) 
     21     
    2122    NX = 2160 
    2223    NY = 2053 
     
    2829    except IOError : 
    2930        print "Impossible d'ouvrir l'image" 
    30         # exit (1) 
     31        exit (1) 
    3132 
    3233    # Creation de l'array d'entiers non signés + byteswap 
Note: See TracChangeset for help on using the changeset viewer.