[Top][All Lists]

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

[task #15645] MakeProfiles accept radial profile as input table

From: Mohammad Akhlaghi
Subject: [task #15645] MakeProfiles accept radial profile as input table
Date: Fri, 15 May 2020 16:42:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0


                 Summary: MakeProfiles accept radial profile as input table
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Fri 15 May 2020 09:42:45 PM BST
         Should Start On: Fri 15 May 2020 12:00:00 AM BST
   Should be Finished on: Fri 15 May 2020 12:00:00 AM BST
                Category: MakeProfiles
                Priority: 5 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00



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.


Reply to this item at:


  Message sent via Savannah

reply via email to

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