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

Using Catalog GUI in Ginga using Ginga-Glue plugin #21

Open
pllim opened this issue Aug 16, 2017 · 2 comments
Open

Using Catalog GUI in Ginga using Ginga-Glue plugin #21

pllim opened this issue Aug 16, 2017 · 2 comments

Comments

@pllim
Copy link

pllim commented Aug 16, 2017

Ginga viewer:
http://ginga.readthedocs.io/en/latest/
https://github.com/ejeschke/ginga/

Glue-Ginga plugin:
https://github.com/ejeschke/glue-ginga/

How to use Catalog plugin in Ginga (not well documented yet):
ejeschke/ginga#52
https://github.com/ejeschke/ginga/blob/master/ginga/rv/plugins/Catalogs.py
https://github.com/spacetelescope/stginga/blob/master/stginga/examples/configs/ginga_config.py

Not very sure how to use your custom MAST query in but one possibility is to write your own server class (e.g., see AstropyCatalogServer in https://github.com/ejeschke/ginga/blob/master/ginga/util/catalog.py), utilize MAST API in Astroquery (see http://astroquery.readthedocs.io/en/latest/mast/mast.html), and then use that class in ginga_config.py (example given above).

@scfleming
Copy link
Member

Thanks! This will be neat to experiment with.

@pllim
Copy link
Author

pllim commented Aug 16, 2017

Here are some screen shots of the plugin in action for a cone search of HST Guide Star Catalog 1.2 around selected rectangle for that image shown in the presentation.

screenshot from 2017-08-16 15-37-55

screenshot from 2017-08-16 15-35-23

p.s. If Qt is giving you headache, Ginga plugin is written in a way that is toolkit-agnostic. In fact, Ginga supports both GTK and Qt.

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

No branches or pull requests

2 participants