Ticket #1374 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

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

comment:1 Changed 10 years ago by Martyn Gigg

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

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++.

comment:2 Changed 10 years ago by Nick Draper

  • Status changed from closed to verify

moved to verify

comment:3 Changed 10 years ago by Mathieu Doucet

  • Status changed from verify to verifying
  • Tester set to Mathieu Doucet

comment:4 Changed 10 years ago by Mathieu Doucet

  • Status changed from verifying to closed

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2221

Note: See TracTickets for help on using tickets.