用于扩展发射图像注册的包
项目描述
天文学图像注册方法
(针对扩展发射,而非恒星图像!)
文档: 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
项目详情
下载文件
下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源分布
image_registration-0.2.9.tar.gz (2.8 MB 查看哈希值)
构建发行版
关闭
image_registration-0.2.9.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 29d12e282a15da4af6d6cc17d86a2b405c42a900e2f1203f2ee128ee4756503f |
|
MD5 | d20f487b9f7f665baaf4eafbca976e83 |
|
BLAKE2b-256 | ab4cb0e43c4c2593a90099ff2bd728467951e9be8f616b792470549ea2ba5936 |
关闭
image_registration-0.2.9-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | ad0365bca38d9e2c57d09d8dfa1abcafbfa2fcb3c4ade35c8356ca64721666db |
|
MD5 | 8b9bd02d21bb3e53263765252e63079b |
|
BLAKE2b-256 | 9da6bf4a592a90b918ce8188dc05eaba241d57b22e8082a299cc49139e193358 |