Proof of concept: color magnitude diagrams from catalogs in Imviz #3093
+613
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This proof of concept PR visualizes a linked color magnitude diagram with an image in Imviz. This was developed during the catalog performance hack day.
This was a two hour hack, and many things could be done correctly if we take up this line of work:
ImvizScatterViewer
was adapted from the LCvizTimeScatterViewer
. We could develop a generic one that LCviz inherits.ScatterViewerState
is directly copied from LCviz. I would have imported it from LCviz, but LCviz imports jdaviz, so the circular imports made that impossible.TableHandler
class here by copying and modifying the LCviz glue translator forlightkurve.LightCurve
objects, which are ultimately a specific kind of astropy table.Demo video
...is too big to embed in GitHub, so watch it via Box: https://stsci.box.com/s/9xzt8367nodxvn15oy9ilohpcot8y7xt
The demo notebook used in the video is located in this PR at
notebooks/concepts/imviz-catalog-viewer.ipynb
.