0
$\begingroup$

I have a FITS file, let us say file A. I have another FITS file, file B. File B has a smaller footprint than file A. I want to crop file A in shape of file B. How do I go about doing that?

$\endgroup$
3
  • $\begingroup$ Do both files have the same pixel scale? $\endgroup$
    – Roy Smart
    Commented Oct 12, 2023 at 13:21
  • $\begingroup$ No. They are of different pixel scales. $\endgroup$ Commented Oct 16, 2023 at 6:08
  • $\begingroup$ I think the easiest way is to use the reproject package which I showed you how to use in a previous answer to a question you asked. Does that help? $\endgroup$
    – Roy Smart
    Commented Oct 16, 2023 at 18:37

0

You must log in to answer this question.

Browse other questions tagged .