[SCIDB-81] select objects in a circular/rectangular region Created: 26/Mar/20 Updated: 17/Aug/20 Resolved: 17/Aug/20 |
|
| Status: | Done |
| Project: | Science Database |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | Masayuki Tanaka | Assignee: | michitaro |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | hscMap module |
| Reviewers: | Masayuki Tanaka |
| Description |
|
hscMap can give users IDs of clicked objects on hscMap. Instead of clicking individual objects, let users select objects in a circular/rectangular region. |
| Comments |
| Comment by michitaro [ 18/May/20 ] |
|
I think this issue should be in elip 'hscMap module'. |
| Comment by michitaro [ 19/May/20 ] |
|
We can access fov and rectangular selection through `.fov` and `.`rect_selection` like so: import hscmap w = hscmap.Window() print(w.fov.cone_sql()) print(w.rect_selection.sql()) |
| Comment by michitaro [ 30/Jun/20 ] |
|
Tanaka-san said at slack: About one of your tasks to pick objects from a circular/rectangular region. Let me explain step by step. |
| Comment by michitaro [ 01/Jul/20 ] |
|
I think the requirements of this issue can be covered by this issue. To select objects spatially is task of numpy or SQL rather than hscMap's one.
res = hscdata.sql.query('SELECT...')
where = (10 <= res.ra) & (11 < res.ra)
res = res[where]
https://pfspipe.ipmu.jp/jira/browse/SCIDB-82 provides more visual method to select objects. |
| Comment by michitaro [ 17/Aug/20 ] |
|
This issue can be closed because it can be covered with "clickable object catalog", so we can close this ticket. |