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

Batch fitting options #2077

Open
astellhorn opened this issue Jun 15, 2022 · 1 comment
Open

Batch fitting options #2077

astellhorn opened this issue Jun 15, 2022 · 1 comment
Labels
Enhancement Feature requests and/or general improvements

Comments

@astellhorn
Copy link
Contributor

This request should be reviewed by magnetic SANS experts!

Science:

  • For magnetic SANS, rocking curves need to be handled as function of angle omega. I(Q,omega) is recorded, where omega is the rocking angle. Rocking curves are obtained by rotating the sample through the Bragg condition. In principle, I(Q,omega) can be either:

Foreseen procedure:

  • load data I(Qx,Qy) for all recorded omega (may be a hundred files or so...)
  • define a box ("Box Sum")
  • edit slicer parameters
  • choose batch slicing for I(Qx,Qy) for all theta
  • get summed up I(Qx,Qy) (sum over Q in 2D) inside the defined box, plot as function of theta.

Step 1 of this request:
What is requested to add in sasview:

  • add box sum to the batch slicing options
  • add option to plot the result (which is a number, not a 1D or 2D plot), as function of input parameter (e.g. omega) for all batched images together

How to make the box sum:

  • as Sum over all intensities in the defined box (no fitting of gaussian peaks etc.)

Step 2 of this request:

  • add the possibility to handle several boxes to be summed and plotted
    --> see image: e.g. a skyrmion lattice can give several bragg peaks in I(Qx,Qy), all bragg peaks shall be handled the same - for each to define a box, get the sum of I(Qx,Qy), plot sum as function of theta
    --> get as many I(theta) plots as defined boxes.

Step 3 of this request:
add user-defined boxes!
Possibility of: (i) defined seperately via Qx,Qy (ii) mirrored at Qx=0 or Qy=0 line (iii) rotated in (Qx,Qy)

Box slicing for rocking curves

@astellhorn
Copy link
Contributor Author

Comment on step 3.3 ("iii: rotated in (Qx,Qy)")
--> as example: box 1 is defined with a center at phi1, then box 2 shall have a center at phi1+(defined_angle), box 3 a center at phi_1+2*(defined_angle)

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

No branches or pull requests

2 participants