Giter Site home page Giter Site logo

image_registration's Introduction

Image Registration Methods for Astronomy

(intended for extended emission, not stellar images!)

Documentation: http://image-registration.rtfd.org

Usage

  • pip install image_registration or
  • 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))

Requirements:

Install the following version of the packages to replicate this repository:

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

For the following packages latest version should work:

  • scipy
  • pytest

To replicate in conda you can use environment.yml given in repository

Acknowledgments:

Also implements http://solarmuri.ssl.berkeley.edu/~welsch/public/software/cross_cor_taylor.pro

Zenodo

Bitdeli badge

image_registration's People

Contributors

keflavich avatar jakirkham avatar bsipocz avatar shakeebmurtaza avatar andrewgiessel avatar bitdeli-chef avatar back2yes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.