integration: the parallax variance takes its attenuation length from the tables, not from lambda^3
The radial parallax broadening is the variance of the depth at which a photon converts, so it scales with the attenuation length. That length was approximated as photoelectric-dominated and scaled by lambda^3 from a single 13 keV reference per material. For silicon above 10 keV that is within 0.2%, but for CdTe it overstates the attenuation length by up to a factor of two, and by six above the cadmium K edge - which made this variance term 1.9x too large on 750 um CdTe data. Take the length from the same tabulated coefficients the efficiency correction uses. Silicon data is unaffected to within the approximation's own error; CdTe data gets a spot-width variance that matches the sensor it was recorded on. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFEJG6WBQv8th4UJFNe53N
This commit is contained in:
1 parent
efa8ab1221
commit
9b96906150
2 files changed
+9
-5
No files matched your search
@@ -12,20 +12,23 @@
|
||||
#include <tuple>
|
||||
|
||||
#include "../../common/JFJochMath.h" // PI (M_PI is not standard, and MSVC does not define it)
|
||||
#include "../SensorAbsorption.h"
|
||||
|
||||
namespace {
|
||||
|
||||
// Radial parallax broadening as the coefficient of tan^2(2theta), i.e. Var(z)/pixel^2 [px^2].
|
||||
// Copied verbatim from ProfileIntegrate2D: a photon converts at a random depth z (exponential,
|
||||
// attenuation length L, truncated at the sensor thickness), shifting the recorded spot radially by
|
||||
// z*tan(2theta). L is photoelectric-dominated (~lambda^3), so a per-material reference (13 keV) is
|
||||
// scaled by lambda^3; Si and CdTe are the sensors in use.
|
||||
// z*tan(2theta). L comes from the tabulated NIST attenuation coefficients (SensorAbsorption.h); the
|
||||
// lambda^3 approximation this used before is within 0.2% for silicon above 10 keV but overstates
|
||||
// the attenuation length of CdTe by up to a factor of two, and by six above the Cd K edge, which
|
||||
// made this variance 1.9x too large on 750 um CdTe data.
|
||||
double parallax_var_px2(const std::string &material, double thickness_um, double lambda_A, double pixel_um) {
|
||||
if (!(thickness_um > 0.0) || !(pixel_um > 0.0) || !(lambda_A > 0.0))
|
||||
return 0.0;
|
||||
const double L_ref = material == "CdTe" ? 42.6 : 273.0; // attenuation length [um] at 0.953 A
|
||||
const double s = lambda_A / 0.953;
|
||||
const double L = L_ref / (s * s * s);
|
||||
const double L = sensor_absorption::AttenuationLength_um(material, lambda_A);
|
||||
if (!(L > 0.0))
|
||||
return 0.0;
|
||||
const double a = thickness_um / L, e = std::exp(-a);
|
||||
if (1.0 - e <= 0.0)
|
||||
return 0.0;
|
||||
|
||||
Reference in new issue
Block a user