Skip to content

Roman "database access dynamic" notebook#171

Open
sedonaprice wants to merge 2 commits into
spacetelescope:mainfrom
sedonaprice:roman-database-access-coord-transform
Open

Roman "database access dynamic" notebook#171
sedonaprice wants to merge 2 commits into
spacetelescope:mainfrom
sedonaprice:roman-database-access-coord-transform

Conversation

@sedonaprice

Copy link
Copy Markdown
Contributor

Implementation of a Roman "database access dynamic" notebook, demonstrating how define spatial selections in user-specified coordinate frames and "dynamically" (with new spherical region support in astropy/regions, and an accompanying helper function) translate that to the database coordinate frame (ICRS) to query (Roman) catalog, and visualize the result.

This notebook includes an example with both astroquery and TAP (as currently the astroquery case is fairly slow).

(Note: this example can be streamlined in the future, when astroquery is backed by TAP/postgres, when both astroquery & TAP have support for polygon spatial regions, and when "lazy queries" are supported in astroquery that enable specification of relational constraints.)

Developed following the user story https://github.com/eteq/roman-vision/blob/main/database-access-dynamic.md

Draft of Roman "database access dynamic" notebook, demonstrating how define spatial selections in user-specified coordinate frames and "dynamically" (with new spherical region support in astropy/regions, and an accompanying helper function) translate that to the database coordinate frame (ICRS) to query (Roman) catalog, and visualize the result. Includes an example with both astroquery and TAP, as currently the astroquery case is fairly slow.

(This example can be streamlined when astroquery is backed by TAP/postgres, when both astroquery & TAP have support for polygon spatial regions, and when "lazy queries" are supported in astroquery that enable specification of relational constraints.)

Developed following the user story https://github.com/eteq/roman-vision/blob/main/database-access-dynamic.md
@sedonaprice sedonaprice marked this pull request as ready for review June 13, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant