magnificationUmPx
- xripl.magnification.magnificationUmPx(innerDiameterPx, stdDevPx=0, innerDiameterUm=500, innerDiameterErrUm=0, printFlag=False)[source]
Get magnification with propagated uncertainty in um/px when given target tube diameter in um, in px, and standard deviation on the diameter in px.
- Parameters
innerDiameterPx (float) – Measured inner diameter of the target tube in pixels.
stdDevPx (float) – Standard deviation on the inner diameter in pixels. Default is zero, for no uncertainty.
innerDiameterUm (float) – Known inner diameter of the target tube in micrometers. Default is set to 500 um, which was the nominal diameter for a Marble VC target.
innerDiameterErrUm (float) – The error/uncertainty (one sigma) on the inner dimaeter of the target tube in micrometers. Default is 0 um.
printFlag (bool) – Flag for printing the calculated magnification. Default is False.