-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Exploring reimplementation using bqplot #72
Comments
I think @mwcraig or @astrofrog would have to advise on the |
The bqplot implementation would probably use https://github.com/glue-viz/ipyastroimage as the Mark on the bqplot plot. That can take a numpy array, so I think we can avoid the conversion to another image format. I haven't had a chance to experiment much with https://github.com/glue-viz/ipyastroimage I have a rough draft implementation of a really basic image viewer based on bqplot somewhere, will try to dig it up tomorrow. |
Hi, have you digged up the draft implementation? I would like to have a look! :) |
Found it, will upload soon (it had zero comments and didn't actually quite work 😮) |
Look in this, don't judge the code too harshly 😀 https://gist.github.com/mwcraig/303cfb6e3e970d137e91789245ff259d You will need to change the image you are using, let me know if you need me to send an image. |
@mwcraig , what is the overlap with https://github.com/glue-viz/glue-jupyter ? Maarten seems to be involved in that too. |
@pllim -- not too much from what I understand. Maarten developed ipyastroimage as a more astronomy-centric replacement for the When I asked Tom R. about the api for astrowidgets his response was that glue didn't really have an API for images like that. I don't think it makes much sense to do a ton of work on making new selection tools or trying to generate images with a bunch of linked plots, since glue is focusing on that. I could see adding a glue-based image widget in the future and/or replacing whatever bqplot-based widget developed this summer with something from glue down the road. But my impression is that we would still need to do a fair bit of wrapping because the API here is so much different than what glue provides. |
Looks like they renamed @mwcraig , I see that in your gist above, you had to do some |
Today I spend some time to explore the possibility of using bqplot for implementation, image from FITS has to be convert to other standard format such as PNG, JPEG for it to work, my question is there better to convert FITS to these format?
My current way of converting it is using pillow.
The text was updated successfully, but these errors were encountered: