简体   繁体   English

如何在PYTHON中对准用CCD拍摄的星场FIT图像?

[英]How can i align star field FIT images taken with CCD in PYTHON?

I have seven of star field images taken with CCD. 我有七个用CCD拍摄的星场图像。 Extensions of them are FIT. 它们的扩展是FIT。 I'm trying to align them by Python but, i have confused. 我正在尝试通过Python对齐它们,但我感到困惑。 This time is my very first attempt to align images. 这次是我第一次对齐图像。 I found a few module related with alignment of fits images but they seem to me very confusing. 我发现了一些与拟合图像对齐相关的模块,但在我看来它们非常令人困惑。 I need a help. 我需要帮助。

The APLpy module ( https://aplpy.github.io/ ) does what you need to do. APLpy模块( https://aplpy.github.io/ )完成了您需要做的事情。 However, it might not be the most straightforward thing to use for a first-timer. 但是,对于初学者来说,这可能不是最直接的方法。

What I would recommend is using PyRAF, which is a python wrapper for the IRAF data reduction software developed by NOAO (National Optical Astronomy Organization) in the 80's/90's to deal with CCD data reduction. 我建议使用PyRAF,它是由NOAO(国家光学天文学组织)在80年代/ 90年代开发的IRAF数据缩减软件的python包装器,用于处理CCD数据缩减。 You can get pyraf by typing pip install pyraf . 您可以通过键入pip install pyraf来获得pip install pyraf Once you have pyraf, I would recommend following Josh Wallawender's IRAF tutorial ; 一旦有了pyraf,我建议您遵循Josh Wallawender的IRAF教程 skip to Section V ("Basic Reduction Steps for Imaging Data"). 跳至第V节(“成像数据的基本还原步骤”)。 Keep in mind you are using PyRAF, so any IRAF-specific things (sections I-IV) don't necessarily apply to you. 请记住,您正在使用PyRAF,因此任何IRAF专用的内容(第I-IV节)不一定适用于您。 PyRAF is a much easier to use system. PyRAF是一个易于使用的系统。

The specific PyRAF tasks you need are imalign and imcombine. 您需要的特定PyRAF任务是不协调的和不协调的。 You'll also need to give a file with the rough shifts between each image (the help file for imalign is a fantastic resource, btw, and you can access it via epar imalign and clicking on the "Help" button when the GUI pops up). 您还需要提供一个在每个图像之间进行粗略转换的文件(不对齐的帮助文件是一个不错的资源,顺便说一句,您可以通过epar imalign来访问它,并在GUI弹出时单击“帮助”按钮)。

I hope this gives you a starting point. 我希望这可以为您提供一个起点。 There are other ways to do image combining in python, but astropy is kind of finicky for first-time users. 还有其他方法可以在python中进行图像合并,但是对于初次使用的用户来说,astropy有点挑剔。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM