[Top][All Lists]

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

[task #14639] Table arithmetic operator to find rows within given region

From: Sachin Kumar Singh
Subject: [task #14639] Table arithmetic operator to find rows within given region
Date: Tue, 14 Apr 2020 12:57:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0

Follow-up Comment #7, task #14639 (project gnuastro):

So essentially I'm given a column with X and Y coordinates(I think they are
represented in spherical coordinates in the fits files as there are MAGNITUDE,
RA, DEC columns in HDU's when I did an `asttable table.fits -i`, right?). But
for now I assume them to be in rectangular coordinates (X,Y). So we are
roughly given data in the  following format:

X1    |  Y1
X2    |  Y2
.     |  .
.     |  .

As assuming the coordinates are represented in spherical form, then X and Y
are in same rows. 

Now if the data is as above, then to find the region, I simply have to find
the positions of uppermost and lowermost coordinates and eliminate all other
rows, except the ones within the upper and lower limits. Is that right? Am I
missing something?


Reply to this item at:


  Message sent via Savannah

reply via email to

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