Ticket #1374 (closed: fixed)
Reflectometry: polarisation correction
Reported by: | Nick Draper | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Iteration 24 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: | Mathieu Doucet |
Description
I am implementing a polarisation correction where the maths goes something like this
D=Pp*(1.0+rho) nIp=(Ip*(rho*Pp+1.0)+Ia*(Pp-1.0))/D nIa=(Ip*(rho*Pp-1.0)+Ia*(Pp+1.0))/D
In this case Ip and Ia are workspaces containing data while rho and Pp are polynomials that have been calculated from calibration data My problem with this particular set of equations is that I cannot create rho and Pp easily as I can't generate a workspace of a given length filled with 1.0s. Currently I take a workspace and use python to set all the values.
Change History
Note: See
TracTickets for help on using
tickets.
Rob has found that the Scale algorithm will do what he wants and as he has many correction functions doesn't think that we need to implement each in C++.