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

Simplified startup in Firefly notebook #5

Open
stargaser opened this issue May 21, 2018 · 0 comments
Open

Simplified startup in Firefly notebook #5

stargaser opened this issue May 21, 2018 · 0 comments

Comments

@stargaser
Copy link
Contributor

With the w_2018_20 build of lsst_distrib, the display_firefly backend and firefly_client.FireflyClient can be initialized much more easily, thanks to code updates and environment variables now provided.

import lsst.afw.display as afw_display
afw_display.setDefaultBackend('firefly')
display1 = afw_display.getDisplay(frame=1)

A link will be displayed for the user to open up the Firefly viewer in another browser tab.

The underlying instance of FireflyClient can be accessed like this:

fc = display1._client

This startup procedure avoids the need to discuss servers or channels.

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

1 participant