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

LUMO Toolbox: Introducing a loading function for 2D layouts and Improving Graph Responsiveness #24

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Giuseppe-1993
Copy link

@Giuseppe-1993 Giuseppe-1993 commented May 31, 2024

This version of the DOTHUB toolbox introduces a series of new features in the LUMO_toolbox subfolder. These are:

  1. Loading: A load button has been added to the bottom-left corner of the GUI, enabling the user to load an existing 2D layout in .SD format. A function called Load2Dfile handles the following:
  • It presents a warning dialog box if there is a mismatch between the specified number of tiles and the number contained in the loaded file, prompting the user to choose whether to proceed.
  • The 2D positions of the tiles are estimated from the sources and detectors array available in the loaded file. The rotation is handled by a separate function called DOTHUB_LUMOcomputeRotations. Simple trigonometry is used to estimate the angle between the initial vector (from the centre of the tile to source A) and the loaded one (from the centre of the tile to the rotated source A).
  1. Responsiveness: Based on user feedback, the text for sources and detectors (e.g., S1, S2, …) has been removed. Instead, for clarity, the number of each tile is introduced. This change improves the responsiveness of the graph, allowing users to zoom in and move around the graph more easily.

LumoUser and others added 6 commits May 16, 2024 14:38
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

Successfully merging this pull request may close these issues.

1 participant