gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #65106] Out put of the custom-profile in MakeProfile has distortion


From: Mohammad Akhlaghi
Subject: [bug #65106] Out put of the custom-profile in MakeProfile has distortion
Date: Tue, 2 Jan 2024 11:20:10 -0500 (EST)

Follow-up Comment #2, bug#65106 (group gnuastro):

Thanks for reporting this Sepideh! 

The problem is not in MakeProfile, but in the underlying custom table that was
given to it: the resolution (interval covered in each row) of the custom table
was 1 pixel! Therefore, MakeProfiles had to round each pixel's distance to the
nearest pixel, which would cause these artifacts.

To fix this problem, if you used 'astscript-radial-profile', you should add an
'--oversample=5' (for an oversampling of 5). In this way, the interval covered
in each row of the radial profile script will be 1/5th of a pixel. 

To make this more clear in the book, in
[https://git.savannah.gnu.org/cgit/gnuastro.git/commit/?id=df7cd772bf commit
df7cd772b], I added a full script that can help demonstrate the problem. Have
a look at it and let me know if anything is unclear ;-).

Here is a screenshot of the output of that script (notice the edges of the 2D
profiles with different oversampling):

(file #55509)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65106>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]