Opened 15 years ago

Closed 14 years ago

#16 closed feature (duplicate)

Addition of couting statistics (simulation) to SASCALC

Reported by: srkline Owned by: kline
Priority: major Milestone: SANS Reduction Wish List
Component: SASCalc Keywords:
Cc: Blocking:


For even more help in planning experiments, data could be simulated for one of a set of scattering functions to give a more realistic view of what the expected result for the experiment would be.

Ideally, one could set SASCALC to a given counfiguration, pick a "sample" (size shape contrast) and count for X seconds - and get Y detector counts. Then either 2d data could be shown, or averaged to 1d with proper statistical erorr bars.

How this is actually implemented could be in several steps.

This is an idea that the PAC has asked for in the past as a tool for all users to assess feasibility and improve experimental design. It would be a valuable teacing tool as well.

Change History (3)

comment:1 Changed 15 years ago by srkline

  • Milestone set to SASCALC_2.0_Beta

comment:2 Changed 14 years ago by srkline

Starting from a 2D model (see Sphere_2D), one could:

calculate the 2D pattern

round to get integer values

add errors [data = round(data + gnoise(sqrt(data)))]

renormalize the total number of counts to the specified number

then average to a "real" data set.

--This works in principle, and just needs to be sketched out for implementation.

comment:3 Changed 14 years ago by srkline

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

merged into #22, since it is the same task

Note: See TracTickets for help on using tickets.