Commit 5931d96d authored by Daniel Brown's avatar Daniel Brown

Fixing transmission misalignments for mirrors

parent a5118ee4
......@@ -168,8 +168,11 @@ void compute_mirror_bayer_helms_knm(mirror_t *mirror, double nr1, double nr2) {
, mirror->knm_q.qxt2_11
, mirror->knm_q.qyt2_11
, knm_BH->k11
, BETA_SCALE * mirror->beta_x, BETA_SCALE * mirror->beta_y
, nr1, MR11, mirror->knm_flags);
, BETA_SCALE * mirror->beta_x
, BETA_SCALE * mirror->beta_y
, nr1
, MR11
, mirror->knm_flags);
}
if (CALC_MR_KNM(mirror,22)) {
......@@ -179,8 +182,11 @@ void compute_mirror_bayer_helms_knm(mirror_t *mirror, double nr1, double nr2) {
, mirror->knm_q.qxt2_22
, mirror->knm_q.qyt2_22
, knm_BH->k22
, BETA_SCALE * mirror->beta_x, -BETA_SCALE * mirror->beta_y
, nr2, MR22, mirror->knm_flags);
, BETA_SCALE * mirror->beta_x
, -BETA_SCALE * mirror->beta_y
, nr2
, MR22
, mirror->knm_flags);
}
if (CALC_MR_KNM(mirror,12) && CALC_MR_KNM(mirror,21)) {
......@@ -189,18 +195,22 @@ void compute_mirror_bayer_helms_knm(mirror_t *mirror, double nr1, double nr2) {
, mirror->knm_q.qxt2_12
, mirror->knm_q.qyt2_12
, knm_BH->k12
, nr1/nr2*BETA_SCALE * mirror->beta_x
, -nr1/nr2*BETA_SCALE * mirror->beta_y
, nr2, MR12, mirror->knm_flags);
, (1 - nr1/nr2) * mirror->beta_x
, (1 - nr1/nr2) * mirror->beta_y
, nr2
, MR12
, mirror->knm_flags);
_mirror_compute_bayer_helms_sub_call(mirror->knm_q.qxt1_21
, mirror->knm_q.qyt1_21
, mirror->knm_q.qxt2_21
, mirror->knm_q.qyt2_21
, knm_BH->k21
, nr2/nr1*BETA_SCALE * mirror->beta_x
, nr2/nr1* BETA_SCALE * mirror->beta_y
, nr1, MR21, mirror->knm_flags);
, (1 - nr2/nr1) * mirror->beta_x
, (1 - nr2/nr1) * mirror->beta_y
, nr1
, MR21
, mirror->knm_flags);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment