diff options
author | Thomas White <taw@physics.org> | 2019-09-05 15:28:31 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-09-05 15:28:31 +0200 |
commit | 4640801af015f6eb46f12d17b22f8c0767a0091e (patch) | |
tree | 8613b401716b9e33e76a0517fc9f9edeed01f4ee /libcrystfel/src/geometry.h | |
parent | 9fb94994155948fdc7c1f3034e4e628bad32484d (diff) |
Allow the polarsation correction to be completely disabled
Diffstat (limited to 'libcrystfel/src/geometry.h')
-rw-r--r-- | libcrystfel/src/geometry.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/geometry.h b/libcrystfel/src/geometry.h index db3c0fe8..0a403a9c 100644 --- a/libcrystfel/src/geometry.h +++ b/libcrystfel/src/geometry.h @@ -97,8 +97,12 @@ enum gparam { struct polarisation { double fraction; /**< Polarisation fraction (0 to 1) */ + double angle; /**< Angle of electron beam, radians, clockwise from * horizontal when looking along beam */ + + int disable; /**< If set, don't even correct for the polarisation + * of the diffracted beam (1 - 0.5sin^2(2theta)) */ }; |