Allow loading of the reference viewer from a script
See original GitHub issueI have some data which is not in FITS files but I would like to load into the reference viewer, it’s multidim data, I have a dict and a 4D array. I would really like to be able to do something like:
from ginga.main import ReferenceViewer
r = ReferenceViewer()
r.main(data, header)
Looking at the code for the reference viewer this looks like it might be a little bit of a fiddle, do you have any suggestions?
(FWIW, the data is loaded independently of the header from a raw binary file, so a reader would be a major pain as well)
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Reference Viewer | Unreal Engine Documentation
The Reference Viewer will display a graph of references for all assets in that folder. For more information about the Content Browser, see...
Read more >Developing with Ginga — ginga v3.4.1
To start the plugin from within the reference viewer, use the Plugin Manager bar just below the color and readout bars. Use the...
Read more >Event Viewer | Addressables | 1.18.19 - Unity - Manual
The window shows when your application loads and unloads assets and displays the reference counts of all Addressables system operations.
Read more >Finding references in your code - Visual Studio (Windows)
Press the Enter key on a reference, or double-click it, to go to it in code. On the right-click menu (context menu) of...
Read more >Demystifying Soft Object References | Inside Unreal - YouTube
This week Christian Allen will provide an overview of Hard & Soft Object references in Blueprints, why the differences are important to know ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The notebook I listed shows how to connect to the reference viewer running the usual plugins. I just used a notebook to put together the “client” example.
@Cadair, python 3 issue I referred to above is fixed. Assuming you started the
RC
plugin (from the plugins menu or when starting ginga just add--modules=RC
) you can do what you are asking with:There is more info in the manual page for the RC plugin