taskGNU Astronomy Utilities - Tasks: task #16289, Oversampling in radial profile has...

 
 

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

task #16289: Oversampling in radial profile has incorrect center

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Thu 08 Dec 2022 01:38:16 AM UTC
   
 
Should Start On:  Thu 08 Dec 2022 12:00:00 AM UTC Should be Finished on:  Thu 08 Dec 2022 12:00:00 AM UTC
Category:  Installed scripts Priority:  5 - Normal
Item Group:  Output not reasonable Status:  Cancelled
Privacy:  Public Assigned to:  makhlaghi
Percent Complete:  0% Open/Closed:  Closed
Effort:  0.00

Thu 08 Dec 2022 01:44:25 AM UTC, comment #1: 

This was a bug, but I mistakenly defined it in the tasks! It has been moved to bug #63485 and I am closing this task!

Mohammad Akhlaghi <makhlaghi>
Group administrator
Thu 08 Dec 2022 01:38:16 AM UTC, original submission:  

When the radial profile script is run with '--oversample' that is larger than 1, the central radial annulus will be incorrectly placed on the edge of the original resolution central pixel. But the central over-sampled pixel should be in the center of the original resolution image.

To reproduce the problem, you can run the following commands. When DS9 opens from the last command, zoom-in to the central pixel of the values image and note how the pixel with the smallest value in the apertures image is on the edge of the values image, not its center!


$ echo "1 50 50 1 20 4 0 1 1 1" \
       | astmkprof --mergedsize=99,99 --oversample=1 -oraw.fits

$ astscript-radial-profile raw.fits --oversample=3 --keeptmp \
           --tmpdir=rad-tmp-dir --ds9scale=minmax

$ astscript-fits-view rad-tmp-dir/values.fits rad-tmp-dir/apertures.fits


This bug was found during a discussion with Nafiseh Sedighi.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(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 makhlaghi (Submitted the item)
  • -email is unavailable- added by makhlaghi
  •  

    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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-12-08 makhlaghi StatusIn Progress Cancelled
        Open/ClosedOpen Closed
    2022-12-08 makhlaghi Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code