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

raster images not updating when set_channel on matched secondary images #148

Open
kswang1029 opened this issue Jan 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kswang1029
Copy link
Contributor

Test branch: #123
Example script:

    session = test_session_initializer()
    session.overlay.set_view_area(800, 400)
    imgs = session.open_images(["HD163296_CO_2_1_subimage.fits", 
                                "HD163296_13CO_2-1_subimage.fits"])
    imgs[1].set_cube_matching(True)
    imgs[0].set_channel(88)
    #imgs[1].set_channel(60)
    session.save_rendered_view("raster_rendering.png")

With the example above we will see the png image as
raster_rendering

However, if we apply set_channel to imgs[1] (matched image) instead, we will see
raster_rendering

We would expect to see identical png images when we apply set_channel(88) to imgs[0] and set_channel(60) to imgs[1]

@kswang1029 kswang1029 added the bug Something isn't working label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant