Merging FITS Images with Python & Astropy

  • Context: Python 
  • Thread starter Thread starter mahya
  • Start date Start date
  • Tags Tags
    Images Python
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
mahya
Messages
7
Reaction score
0
Hello everyone,

I would like to know how I can combine two FITS images (which are continuum maps of two sources) in python using astropy.

Bests
 
Physics news on Phys.org
Hello mahya

If this is a homework question it should be posted in "Homework" section.

In any case, take a look here at http://www.astropy.org/astropy-tutorials/FITS-images.html. Knowing how to open FITS files and load data you then can do various manipulations using arrays.