Ticket #164 (closed feature: shelved)

Opened 5 years ago

Last modified 13 days ago

X-ray mode for analysis models

Reported by: srkline Owned by: srkline
Priority: major Milestone: Wish List
Component: Analysis Keywords:
Cc: Task:
Blocking:

Description

Quoting "Karen Edler" <K.Edler@…>:

Steve,

Just wondering - would there be any scope for including an "X-ray mode" in the SANS models? We use the models a lot for modelling X-ray data alongside the neutron data but I have to hack the code to put in an extra fudge factor for the X-rays as they are not on an absolute scale unlike the neutron data. For the form factor models this isnt a problem as the volume fraction play this role but on the structure factor models it would be nice to be able to put in known (or at least best guessed) volume fractions and scattering length densities, but have the ability to scale the fit for the X-rays while doing it "properly" for the SANS.

cheers Karen

Change History

comment:1 Changed 4 years ago by srkline

Lots of work to do this - would require re-writing ALL of the model functions that have S(q) and are on absolute scale, to add an extra scale parameter. Ow.

Suggest that the users enter their best guesses for volume fraction and electron densities, and rescale the data prior. Then small errors in the scaling could be absorbed in the SLD(s).

comment:2 Changed 4 years ago by srkline

Can I write a generic wrapper function that will take the SANS function and add an additional scale factor coef[0] to the model? don't want to add the extra scale factor at the end of the coef list, this is sometimes assumed to be the background.

comment:3 Changed 3 years ago by ajj

  • Milestone changed from Analysis Wish List to Wish List

comment:4 Changed 13 days ago by srkline

  • Status changed from new to closed
  • Resolution set to shelved

Analysis items shelved

Note: See TracTickets for help on using tickets.