Skip to content

Update Field.txt #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 22 additions & 18 deletions examples/MVLinac/Field.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Field.txt contains specific source and geometry parameters.
# Field.txt contains parameter values for a specific geometry. In this example, the
# beam is collimated to 20 cm x 20 cm at the machine isocenter at 100 cm SAD.
#
# The parameters settings in this file override parameter settings in the files in the
# includeFile statement below and in LinacDefaults.txt.
#
Expand All @@ -18,10 +20,10 @@
# SAD: Source axis distance (distance from nominal source position to isocenter)
# ^IEC_G/RotY_G: IEC gantry rotation angle
# ^IEC_B/RotZ_B: IEC secondary collimator (jaw and MLC) rotation angle
# JawTravelAxis: Direction of jaw travel, along IEC_B axis Xb or Yb
# LeafTravelAxis: Direction of leaf travel, along IEC_B axis Xb or Yb
# ^NegativeFieldSetting: Jaw or MLC leaf position on negative side, projected to isocenter
# ^PositiveFieldSetting: Jaw or MLC leaf position on positive side, projected to isocenter
# Jaw/RotZ: Jaw orientation, dependent on direction of jaw travel along IEC_B
# MLC/RotZ: MLC orientation, dependent on direction of leaf travel along IEC_B
# ^NegativeFieldSetting: Jaw or MLC leaf position on negative side (IEC X1), projected to isocenter
# ^PositiveFieldSetting: Jaw or MLC leaf position on positive side (IEC X2), projected to isocenter
# LeafWidths: Width of each leaf as projected to isocenter, same width on opposing bank
#
# Source parameters, including...
Expand Down Expand Up @@ -60,24 +62,26 @@ i:Ts/ShowHistoryCountAtInterval = 100000
dc:Ge/IEC_G/RotY_G = 0. deg
d:Ge/IEC_G/RotY = -1 * Ge/IEC_G/RotY_G deg

# IEC collimator rotation angle (in the same sense of RotZ)
# IEC collimator rotation angle (in the opposite sense of RotZ)
dc:Ge/IEC_B/RotZ_B = 0. deg
d:Ge/IEC_B/RotZ = 1 * Ge/IEC_B/RotZ_B deg
d:Ge/IEC_B/RotZ = -1 * Ge/IEC_B/RotZ_B deg

# Asymmetric jaw field settings along IEC coordinates Xb or Yb, projected to isocenter
s:Ge/Jaw/JawTravelAxis = "Y" # Jaw travel axis, "X" or "Y"
dc:Ge/Jaw/NegativeFieldSetting = -20. cm
dc:Ge/Jaw/PositiveFieldSetting = 20. cm
# Asymmetric jaw field settings along IEC coordinates X or Y, projected to isocenter
# Default 20 cm wide field at plane of isocenter (at SAD)
dc:Ge/Jaw/NegativeFieldSetting = -10 cm #Field setting along negative IEC_B axis
dc:Ge/Jaw/PositiveFieldSetting = 10 cm #Field setting along positive IEC_B axis
d:Ge/Jaw/RotZ = Ge/Jaw/JawRotZforTravelAlongIECX deg # Set to JawRotZforTravelAlongIECX or JawRotZforTravelAlongIECY

# MLC leaf widths and positions, projected to isocenter
s:Ge/MLC/LeafTravelAxis = "X" # MLC leaf travel "X" or "Y"
dv:Ge/MLC/LeafWidths = 42 5. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 5. cm
# 10 cm x 20 cm field, the field setting for each leaf is that as projected at isocenter
dv:Ge/MLC/NegativeFieldSetting = 42 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. -5. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. cm
dv:Ge/MLC/PositiveFieldSetting = 42 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. cm
# MLC orientation, leaf widths and positions, projected to isocenter
# Default 20 cm wide, 50 cm long field at plane of isocenter (at SAD) with all leaves open
d:Ge/MLC/RotZ = Ge/MLC/MLCRotZforTravelAlongIECY deg # Set to MLCRotZforTravelAlongIECX or MLCRotZforTravelAlongIECY
# MLC orientation, leaf widths and positions, projected to isocenter for 20 cm x 50 cm field
# IEC leaf number depends on direction of leaf motion: For Xb leaf 1 is first, Yb leaf 1 is last
dv:Ge/MLC/LeafWidths = 42 5. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 5. cm
dv:Ge/MLC/NegativeFieldSetting = 42 -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. -10. cm
dv:Ge/MLC/PositiveFieldSetting = 42 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. 10. cm

# Patient and couch field-dependent components
# IEC couch rotation angle (in the opposite sense of RotZ)
dc:Ge/IEC_S/RotZ_S = 0.0 deg
d:Ge/IEC_S/RotZ = -1 * Ge/IEC_S/RotZ_S deg