glue-viz / glue

Linked Data Visualizations Across Multiple Files
http://glueviz.org
Other
740 stars 153 forks source link

Add regiondata #2442

Closed jfoster17 closed 1 year ago

jfoster17 commented 1 year ago

Add RegionData and ExtendedComponent Types

Description

This is a replacement for #2373 which provides just the glue-core pieces of that PR and some additional improvements. As a standalone piece it doesn't do very much, but it provides the underlying architecture so that Viewers can be extended to deal with regions-as-data.

The pieces here are:

Some additions over #2373 are that this no longer requires us to allow_pickle in np.load and it properly round-trips through session files, albeit with a bit of a hack to get the ComponentIDs to be all correct.

Closes #2351 , #2086 , #1686

jfoster17 commented 1 year ago

@astrofrog -- I think this is ready now. I would love to get it merged in before opening the PRs for adding RegionData to the viewers.