taskGNU Astronomy Utilities - Tasks: task #15645, MakeProfiles accept radial profile...

 
 

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

task #15645: MakeProfiles accept radial profile as input table

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Fri 15 May 2020 08:42:45 PM UTC
   
 
Should Start On:  Thu 14 May 2020 11:00:00 PM UTC Should be Finished on:  Thu 14 May 2020 11:00:00 PM UTC
Category:  MakeProfiles Priority:  5 - Normal
Item Group:  Enhancement Status:  Done
Privacy:  Public Assigned to:  makhlaghi
Percent Complete:  100% Open/Closed:  Closed
Effort:  0.00

Tue 10 Nov 2020 06:32:58 PM UTC, comment #2: 

This new feature has been added in Commit 0289aeeeddf so I am closing this task. See the commit message and added documentation for more ;-).

As always, the latest Gnuastro that has this feature and its updated book is available in the links below:

http://akhlaghi.org/gnuastro.pdf
http://akhlaghi.org/gnuastro-latest.tar.lz

Mohammad Akhlaghi <makhlaghi>
Group administrator
Mon 18 May 2020 08:27:08 AM UTC, comment #1: 

That would be a super useful feature for a lot of people!

Raul Infante-Sainz <infantesainz>
Group Member
Fri 15 May 2020 08:42:45 PM UTC, original submission:  

Currently MakeProfiles has a special 'radial' profile for putting the radius of each pixel compared to a given center. This can be used to build any arbitrary radial profile with a custom program.

But to make things simple for the users, it would be good if the user could give a table as input and MakeProfiles would look at that table to put the respective values in the built profile.

The table would have three columns with the first two identifying the interval and the third identifying the value. For example this table:


# Column 1: Lower [pixels,f64] Interval's lower-limit (inclusive)
# Column 2: Larger [pixels,f64] Intervals larger-limit (exclusive)
# Column 3: Value [arbitrary,f64] Value to use for pixels in this interval
0.0   0.5      1
0.5   1.0      2
1.0   1.5      3
1.5   2.0      4
2.0   2.5      5
2.5   3.0      6


MakeProfiles will then accept this table as a value to a new option, like '--radial-profile'. When reaching a 'radial' profile, it will use the values given in this table to fill the profile. For example like this:


astmkprof catalog.fits --radial-profile=profile.txt


An alternative may be to allow a file name in the actual input catalog instead of a raw 'radial' profile. When it is confronted, MakeProfiles will assume its a table and open it for using as profile values. This second proposal is more general and can allow many profiles in one final image.

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
  • -email is unavailable- added by infantesainz (Posted a comment)
  • -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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-10 makhlaghi StatusNone Done
        Percent Complete0% 100%
        Assigned toNone makhlaghi
        Open/ClosedOpen Closed
        Carbon-Copy- Added -email is unavailable-
    2020-05-15 makhlaghi Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code