Python Merging FITS Images with Python & Astropy

  • Thread starter Thread starter mahya
  • Start date Start date
  • Tags Tags
    Images Python
Click For Summary
To combine two FITS images in Python using Astropy, users should first familiarize themselves with how to open and load FITS files, as outlined in the Astropy tutorials. Once the data is loaded, various array manipulations can be performed to combine the images effectively. For homework-related inquiries, it's recommended to post in the designated "Homework" section for more tailored assistance.
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
 
Technology 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.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 11 ·
Replies
11
Views
931
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K