Skip to content

Add Experimental GUI Tool for Quick XRT Data Preview #345

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

ntrueba
Copy link
Collaborator

@ntrueba ntrueba commented Apr 24, 2025

This PR introduces a new extension to XRTpy that provides an experimental graphical interface ("Gooey") for quickly previewing and accessing XRT observations.

While this code is not directly part of the core XRTpy package at this stage, it aligns well with XRT data analysis workflows and could serve as a lightweight tool for users to rapidly view available observations without downloading and manually inspecting each file.

The current implementation is a work in progress and not yet fully tested. We're exploring the best path forward, including whether this should remain a standalone utility or eventually integrate into XRTpy more formally.

@nabobalis nabobalis marked this pull request as draft May 6, 2025 20:23
@joyvelasquez joyvelasquez self-requested a review May 6, 2025 22:24
@joyvelasquez joyvelasquez added this to the 0.6.0 milestone May 6, 2025
@joyvelasquez joyvelasquez added enhancement New feature or request notebook Working on jupyter notebooks Examples Affects the example gallery labels May 6, 2025
@nabobalis
Copy link
Member

So the title of the PR and the description implies that this is a test and not something that will be merged into XRTPy. Is that the case or is the goal of this pull request to add a basic MPL GUI to the XRTPy code base?

While I am not a maintainer of XRTPy, I do have major misgivings at merging over 1500 lines of Python code which are not tested in any meaningful way. I strongly suggest that this becomes a separate package and not add more work for the sole maintainer of XRTPy.

@joyvelasquez
Copy link
Contributor

joyvelasquez commented May 20, 2025

Hi @nabobalis , thank you for taking the time to review and raise these important points.

You’re absolutely right—the current version of the PR reflects work that is still in progress. @ntrueba is implementing new functionality that isn’t directly part of the core XRTpy software, but is related to XRT and potentially useful alongside XRTpy. This is also part of his process in getting more familiar with GitHub for the first time and understanding broader software development workflows.

We’re planning to meet this week to discuss next steps, including how to properly test, document, and determine the best path for integration—whether as part of XRTpy or as a standalone package.

We really appreciate your feedback and suggestions. We'll take them into account as we finalize the direction for this work.

@joyvelasquez joyvelasquez changed the title XRTpy gooey test Add Experimental GUI Tool for Quick XRT Data Preview May 20, 2025

#hdul2.writeto(filen,overwrite=overwrite)

def date_to_meta(xrt_download_list):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def date_to_meta(xrt_download_list):
def _date_to_meta(xrt_download_list):

If there's a function that is not intended for end users, then we can start the name with an underscore to indicate that it is private.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Examples Affects the example gallery notebook Working on jupyter notebooks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants