bugGNU Astronomy Utilities - Bugs: bug #63026, Warp translation adds one extra...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #63026: Warp translation adds one extra pixel even if it is not requested

Submitter:  Raul Infante-Sainz <infantesainz>
Submitted:  Wed 07 Sep 2022 01:46:40 PM UTC
 
Category:  Warp Severity:  3 - Normal
Item Group:  Output not reasonable Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Wed 07 Sep 2022 01:46:40 PM UTC, original submission:  

The option '--translate' of Warp does not do what the user expect. When asked to translate only in the x-axis, it also translates the y-axis. To easily reproduce the problem consider the lines below:

Create an image to play with.

astmkprof --kernel gaussian,1,2 --output img.fits

Translate along the x-axis 1 pixel (tx=1), and check the dimensions. The result shows that also the y-axis has changed

tx=1
ty=0
astwarp img.fits --translate $tx,$ty --output warped_$tx-$ty.fits
astfits warped_$tx-$ty.fits

By modifying tx and ty other options can be explored. Interestingly, when using tx=ty=0, the result is correct.

Raul Infante-Sainz <infantesainz>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by infantesainz (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

     

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.10