write an array image and a complete updated header in a new file More...
Public Member Functions | |
def | __init__ |
give an array, the file name you want, eventually an existing header, start, step and type (latest three parameters as lists of same length as dimensions of image) tblData : an array that will be written in table in the fits file. More... | |
write an array image and a complete updated header in a new file
def hermes.pipeline.utilities.writeFits.writeFits.__init__ | ( | self, | |
image, | |||
fileName, | |||
headerN = {} , |
|||
crval = [0] , |
|||
cdelt = [1] , |
|||
ctype = ["default"] , |
|||
nameTable = "" , |
|||
tblData = None |
|||
) |
give an array, the file name you want, eventually an existing header, start, step and type (latest three parameters as lists of same length as dimensions of image) tblData : an array that will be written in table in the fits file.
if headerN is pyfits.header.Header: