[mcstas-users] [EXTERNAL] Re: SANSCurve type component for I(qx, qy) instead of I(q)?

Wildgruber, Christoph U. wildgrubercu at ornl.gov
Tue Apr 28 14:17:39 CEST 2020

Hi Peter,

I’ll definitely look again more carefully :-)

Besides that my strategy is to get a younger person here excited
to learn how to write a McStas component…

Thanks so much,


On 28 Apr 2020, at 03:24, Peter Kjær Willendrup <pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>> wrote:

Hi Uli,

On 27 Apr 2020, at 23.07, Wildgruber, Christoph U. <wildgrubercu at ornl.gov<mailto:wildgrubercu at ornl.gov>> wrote:

I might not be looking hard enough but I don’t think there is a SANS
sample component similar to SANSCurve (which uses I(q) as an input file)
that can handle I(qx, qy).

If anybody can point me in the right direction or has a component like that
to share it would be greatly appreciated!

For that sort of functionality I would be looking in the direction of the SASview (SASmodels really) sample http://www.mcstas.org/download/components/samples/SasView_model.html which does include models that are 2D in q. (It may also be that one of Henrich Frielinghaus’ contributed sample components has a similar feature?)

The limitations of the SasView_model sample are that
a) I am not entirely sure the absolute normalisation is completely correct
b) One needs to recompile when shifting between models

Should you decide to implement one yourself instead, such a model would of course always be welcome as a contribution. ;-)



Peter Kjær Willendrup
Forskningsingeniør, Specialkonsulent
Næstformand for DTU Fysik LSU

DTU Physics


Technical University of Denmark


Department of Physics
Building 307
DK-2800 Kongens Lyngby
Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20200428/318a6655/attachment-0001.html>

More information about the mcstas-users mailing list