[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-devel] [task #14639] Program to identify points inside/outside
[gnuastro-devel] [task #14639] Program to identify points inside/outside a region
Sun, 24 Sep 2017 19:26:38 -0400 (EDT)
Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Summary: Program to identify points inside/outside a region
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Mon 25 Sep 2017 01:26:37 AM CEST
Should Start On: Mon 25 Sep 2017 12:00:00 AM CEST
Should be Finished on: Mon 25 Sep 2017 12:00:00 AM CEST
Category: New program
Priority: 5 - Normal
Item Group: Enhancement
Percent Complete: 0%
Assigned to: None
Discussion Lock: Any
Astronomical surveys are limited to a certain area of the sky (which can
usually be represented nicely as the coordinates of a polygon).
While working on a catalog of objects, some of the objects might fall within
the region of the survey we want to study and some might fall outside of it.
It would thus be very useful to have a program in Gnuastro that takes a region
and a catalog of objects and identifies which of the objects are inside (or
outside) that region.
Just as an initial brainstorm the program interface might look like the
$ astregion --region=region.txt catalog.txt
The `region.txt' file could be a standard SAO DS9 region output which is very
commonly used. It will work generally on any coordinate system (as long as the
region and catalog have the same coordinates, like both are RA-Dec). But we
must ensure that it works on RA-Dec coordinates (where the region/polygon
cover pass the equator or celestial pole).
Ofcourse, the input region doesn't have to be a polygon, any user interface
for any shape can be defined. Following ds9's region file convention should be
a good start.
This task was defined during a discussion with Leindert Boogaard.
Reply to this item at:
Message sent via/by Savannah
- [gnuastro-devel] [task #14639] Program to identify points inside/outside a region,
Mohammad Akhlaghi <=