neutrons / Qikr

QIKR instrument simulation
Apache License 2.0
0 stars 1 forks source link

Reflectivity sample component #1

Open yxqd opened 5 years ago

yxqd commented 5 years ago

This is a python based sample component. The sample is a 2D surface with a center at (0,0,0), a norm along y axis, and a size in the xz-plane (size_x, size_z). The neutron will be scattered according to a reflectivity curve R(Q), which will be given as a python function, where Q is a numpy array.

Implementation (hint: use the "monitor" component as the starting point)

Test:

yxqd commented 5 years ago

Test is not fully done yet. @Fahima-Islam, could you please pick this up when you got time? Thanks