Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scope question: "table selection" regions? #229

Open
keflavich opened this issue Dec 5, 2018 · 3 comments
Open

Scope question: "table selection" regions? #229

keflavich opened this issue Dec 5, 2018 · 3 comments
Assignees

Comments

@keflavich
Copy link
Contributor

In discussion about how to save Glue selections, @eteq raised the possibility of serializing data selection. Currently, regions is only intended to identify regions on the sky and maybe associated with spectral depth. Maybe we want to be able to serialize region selections associated with table columns? I think that sort of selection would fall under astropy.regions eventually, but we probably don't want to expand the scope of this repository just yet.

@keflavich
Copy link
Contributor Author

cc @astrofrog since this is gluey

@cdeil
Copy link
Member

cdeil commented May 16, 2019

@keflavich - Can you clarify what you mean?

If you have a table with positions, then a region selection results in a boolean mask with True / False for each row if the position is inside or outside. You can store this mask as a new column in the table, that's a kind of serialisation of the selection.

Probably I misunderstand completely - what kind of object is the "selection"? Is it a separate object or attached to the Table or Region object? Can you give a minimal example what we might want to add?

@cdeil cdeil added this to the wishlist milestone May 16, 2019
@cdeil cdeil added the question label May 16, 2019
@keflavich
Copy link
Contributor Author

I think the idea was to allow coordinate-like selections on a table, e.g., a region in V-U vs V space in a color-magnitude diagram. So if you used "brushing" selection as in glue, you could serialize that.

@larrybradley larrybradley removed this from the wishlist milestone Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants