Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在.csh 中编写代码,并且正在尝试将FITS文件的 bunit 标头从 K (kelvin) 更改为 km/s。我怎样才能做到这一点?
我知道在Python中我会使用 new_fitsfile.header['BUNIT']='km/s',但这在当前的 .csh 代码中不起作用,也不能将其切换为 Python 代码。
如果只需要一次,请交互调用 fv 或 ds9,移动到标题,编辑标题卡并保存结果。
对于通用批处理作业,需要一些在线 FITS 编辑器,例如 fmodhead fmodhead、fthedit 或 my fedithead