[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.
<https://github.com/sachinkumarsingh092/gnuastro/tree/task-table-inpolygon>
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:
<https://savannah.gnu.org/task/?14639>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [task #14639] Table arithmetic operator to find rows within given region,
Sachin Kumar Singh <=
- [task #14639] Table arithmetic operator to find rows within given region, Mohammad Akhlaghi, 2020/05/07
- [task #14639] Table arithmetic operator to find rows within given region, Sachin Kumar Singh, 2020/05/08
- [task #14639] Table arithmetic operator to find rows within given region, Mohammad Akhlaghi, 2020/05/08
- [task #14639] Select rows that are within a given polygon, Mohammad Akhlaghi, 2020/05/09
- [task #14639] Select rows that are within a given polygon, Mohammad Akhlaghi, 2020/05/09
- [task #14639] Select rows that are within a given polygon, Sachin Kumar Singh, 2020/05/10
- [task #14639] Select rows that are within a given polygon, Mohammad Akhlaghi, 2020/05/10