更新时间:2023-12-01 08:47:07
最后,他们发布了一个更新的库,该库允许以人工方式修改表扩展名!
Finally they released an updated library that allows the modification of a table extension in a human way!
FITSIO 的最新版本.您可以轻松添加带有如下代码的列:
Last release of FITSIO. You can easily add a column with a code looking like the following:
import fitsio
from fitsio import FITS,FITSHDR
...
fits = FITS('file.fits','rw')
fits[-1].insert_column(name = 'newcolumn', data = mydata) # add the extra column
fits.close()