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?
$\begingroup$
$\endgroup$
3
-
$\begingroup$ Do both files have the same pixel scale? $\endgroup$– Roy SmartCommented Oct 12, 2023 at 13:21
-
$\begingroup$ No. They are of different pixel scales. $\endgroup$– SlightDecoyCommented 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 SmartCommented Oct 16, 2023 at 18:37
Add a comment
|