[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: Thu, 7 May 2020 17:46:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

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

I pushed the code here.

But this is far from complete. I created the --inpolygon to store the column
number of RA and DEC columns in the `points` array. But I'm still confused
about how to go through all the rows of RA and DEC column. I get it that the
first for loop in the `table_selection` does this, but it does that for a
single column stored in `tmp`. Therefore, how can I specify the column numbers
stored in `inpolygon` option in gal_data_t in the `table_selection`?

Also, in option.c there seems to be no method which reads only`,` or `:`
separated float values. The CSV string reading option just seems to print the
whole polygon vertices array as-is. In the range option, there is the column
name specified hence the name and float reading option works, but this doesn't
seem to be the case here. So should I change my approach?


Reply to this item at:


  Message sent via Savannah

reply via email to

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