Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Parameter survey viewer #2492

Open
wpotrzebowski opened this issue Apr 20, 2023 · 2 comments
Open

Parameter survey viewer #2492

wpotrzebowski opened this issue Apr 20, 2023 · 2 comments
Labels
Enhancement Feature requests and/or general improvements Magnetic SANS

Comments

@wpotrzebowski
Copy link
Contributor

wpotrzebowski commented Apr 20, 2023

As requested during the magnetic SANS meeting (Lund, Apr 20, 2023):

Is your feature request related to a problem? Please describe.
The idea is to implement a viewer that allows 1D/2D/3D visualization based on parameters written as metadata

Describe the solution you'd like
Steps:

  1. Reading a file with the metadata (Note: some of the entries are missing Utilizing Metadata from NXcanSAS data files #2083)
  2. We can use Tools menu to add another option for Parameter Survey
  3. In the Parameter Survey dialog we should be able to choose, which parameters we want to plot and if should be 1D, 2D or 3D? One should be able to freely choose, which parameters to put on what axes.
  4. Plot the function
  5. Different saving options: images (in different formats), projections (write to data file e.g. txt or send to fitting)

Additional context
Implemented 3D orientation viewer may be used for this purpose
We consider single NXCanSAS file with a mega array that contains all intensity values and metadata, however that's not what currently facilities do. We may therefore need to provide additional tool for users for merging multiple files.
We should be able to adjust z scale and turn on and off interpolations/smoothing on the plots
It may also be nice to be able to save movie to file

Examples what to plot
I(Qx, Qy, T)
I(Qx, Qy, angle)
I(Q, T, angle)
--> typically, intensity as 4th dimension

@wpotrzebowski wpotrzebowski added the Enhancement Feature requests and/or general improvements label Apr 20, 2023
@astellhorn
Copy link
Contributor

As an example, Lisa DeBeer-Schmitts group already has a 3D visualization option of a freely chosen parameter set that is written based on python and using canSAS

@ldschmitt
Copy link

Examples:
IvsQ_cont
image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Enhancement Feature requests and/or general improvements Magnetic SANS
Projects
None yet
Development

No branches or pull requests

3 participants