GNU Astronomy Utilities - Tasks: task #14505, Create rectangular profiles
You are not allowed to post comments on this tracker with your current authentication level.
task #14505: Create rectangular profiles
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Mon 08 May 2017 01:51:30 PM UTC | ||
Should Start On: | Sun 07 May 2017 10:00:00 PM UTC | Should be Finished on: | Sun 07 May 2017 10:00:00 PM UTC |
Category: | MakeProfiles | Priority: | 5 - Normal |
Item Group: | Enhancement | Status: | Postponed |
Privacy: | Public | Assigned to: | None |
Percent Complete: | 0% | Open/Closed: | Open |
Effort: | 0.00 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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
Powered by Savane 3.13-4448.
Corresponding source code
In some situations (mainly for masking), it is desirable to make rectangular/square profiles. Currently MakeProfiles only makes elliptical/circular profiles and making rectangular profiles to it should be very easy.
The elliptical profiles are also built in a rectangluar box, so for a rectangular profile, we can just fill the box with a fixed value and don't have to give different values to the pixels within it.
As for the parameters, the center of the rectangle can be defined in the X and Y columns of the catalog. The width (along the first FITS axis) can be defined in the `r' column (radius for elliptical profiles) and the axis ratio column can be used to determine the height (axis ratio will be defined by width/height, or just read it as height when we have a rectangular profile). Currently we can ignore the position angle, but later we can also include the position angle to build an rotated rectangular profile.