|||
import jdcal
import numpy
import pyfits
import os
import datetime
import time
from array import array
u19700101=62135683200.0
hdulist = pyfits.open('gen_scantable.fits')
hdu1 = hdulist[1]
data = hdu1.data
header = hdu1.header
print header
print data
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-23 02:46
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社