Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Zeros in the outlier of a rotated image
05-25-2010, 11:04 (This post was last modified: 05-25-2010 11:15 by chyan.)
Post: #1
Zeros in the outlier of a rotated image
Hi all,

I am using SWARP to de-rotate a CCD chip. However, SWARP will enlarge the image after the producing of the coadd.fits. I am wondering is there anyway to keep the size? I know there is a keyword IMAGE_SIZE. My point is that I would like the IMAGE_SIZE keep using "1024,2048" for non-rotated image and "2048,1024" for rotated image. Or can we "trim" the zeros regions?

Chi-hung
Find all posts by this user
Quote this message in a reply
05-25-2010, 13:36
Post: #2
RE: Zeros in the outlier of a rotated image
Hi Chi-hung,

the auto-sizing feature used by default in SWarp is generally inappropriate for specific cases like this one. I would suggest creating a coadd.head ASCII file with the following parameters:

NAXIS2 = 1024
NAXIS1 = 2048
...
END


... and all other WCS parameters (CRPIXj, CDi_j, CTYPEj, CRVALj) with indices swapped.
- Emmanuel.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)