Skip to content

Commit 47dbbf5

Browse files
authored
Merge pull request #32 from CMB-S4/tube_rot
Rotate LAT wafers differently depending on type
2 parents 9c49d91 + 55ac60c commit 47dbbf5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

s4sim/hardware/config.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,12 @@ def sim_nominal():
12691269
woff[ttyp] += 1
12701270
break
12711271
off += 1
1272-
tb["wafer_angle"] = [-90.0 for tw in range(1)] # Degrees
1272+
if ttyp == "CHLAT_HF" or ttyp == "SPLAT_HF":
1273+
# These are hex wafers
1274+
tb["wafer_angle"] = [-90.0 for tw in range(1)] # Degrees
1275+
else:
1276+
# These are rhombi-hex wafers
1277+
tb["wafer_angle"] = [0.0 for tw in range(1)] # Degrees
12731278
if tindx < 170:
12741279
# CHLAT platescale
12751280
tb["platescale"] = 0.003964

0 commit comments

Comments
 (0)