-
Notifications
You must be signed in to change notification settings - Fork 6
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
Use Jdaviz for quick look analysis #139
Comments
Example: https://github.com/havok2063/standalone_jdaviz And cc @bmorris3 |
Hello and thank you for your interest! Jdaviz is developed by STScI. Please contact STScI Help Desk if you have further concerns or questions. |
We explored this at .Astro12 with @dr-rodriguez , @bmorris, and @havok2063. We think it's possible and a good idea to integrate I started a jdaviz-sandbox branch to mess around in. Dependencies:
(More later...) |
Some extra notes: Running solara requires a python file with some specifications (see kelle#1) Some key issues to sort out:
|
Chatted with @bmorris3 today and we discussed the option of adding a button which launches a jupyter notebook and loads the spectra and jdaviz rather than trying to embed jdaviz into the website. (Brett, please correct me if I'm misunderstanding what the launch button does.) @dr-rodriguez , thoughts? |
I have no objections to that approach and it'll probably be easier that way than trying to integrate to our existing interface (or change it with the extra requirements). |
Do you know how to do it? |
I don't, but I imagine the questions above from #139 (comment) would be relevant, particularly if we decide to stick with the solara prototype we were able to do at dotAstro |
Launching it from a UI button should be okay to do, I'm more worried about the load times and the server being overloaded. It already struggles if having to load more than a few results pages co-currently. |
@dr-rodriguez To clarify @kelle's comment: my pitch for a workaround to avoid running jdaviz on your server is: - write a template jupyter notebook that contains the few jdaviz calls necessary to visualize SIMPLE spectra Benefits to this approach:
We already do this on MAST. If you view a data product via jdaviz@MAST, you can click a button in the upper right which says: |
Ah yes, that makes sense, sounds like a good plan! |
So it's less that we offer a visualization and more that we provide a downloadable notebook? I guess that's fine, but it seems to defeat the purpose of the website interface. |
We discussed this as a very simple and very attainable fallback to the webapp, if less desirable. If the webapp approach takes too much work or is too flaky, this will be easier and will work. |
The Bokeh spectra viewer could be replaced with the JDAViz viewer. This may be beneficial since JDAViz is much more interactive.
The text was updated successfully, but these errors were encountered: