跳转到主要内容

用于扩展发射图像注册的包

项目描述

天文学图像注册方法

(针对扩展发射,而非恒星图像!)

文档: http://image-registration.rtfd.org

用法

  • pip install image_registration
  • git clone https://github.com/keflavich/image_registration
from image_registration import chi2_shift
from image_registration.fft_tools import shift
import image_registration

#Generate Sample Image
image = image_registration.tests.make_extended(100)
offset_image = image_registration.tests.make_offset_extended(image, 4.76666, -12.33333333333333333333333, noise=0.1)

#Get Fused Image
xoff, yoff, exoff, eyoff = chi2_shift(image, offset_image)
corrected_image2 = shift.shiftnd(offset_image, (-yoff, -xoff))

要求

安装以下版本的包以复制此存储库

  • FITS_tools==0.2
  • matplotlib==3.4.2
  • astropy==4.2.1

对于以下包,应使用最新版本

  • scipy
  • pytest

要在conda中复制,可以使用存储库中提供的environment.yml

致谢

还实现了http://solarmuri.ssl.berkeley.edu/~welsch/public/software/cross_cor_taylor.pro

Zenodo Bitdeli badge

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

image_registration-0.2.9.tar.gz (2.8 MB 查看哈希值)

上传时间: 源代码

构建发行版

image_registration-0.2.9-py3-none-any.whl (65.6 kB 查看哈希值)

上传时间: Python 3

由以下支持