~brenthuisman/postdoc_tools

b8d96aa509ce685b5a851d82a8f7407999235501 — Brent 9 months ago 343c0eb
.
1 files changed, 0 insertions(+), 13 deletions(-)

M gpumcd/rtplan.py
M gpumcd/rtplan.py => gpumcd/rtplan.py +0 -13
@@ 199,19 199,6 @@ class Rtplan():
					#if no perpendicularjaw, then what?
					raise NotImplementedError("No ASYMY jaw found in dicom.")

				print('begin')
				print('fieldedges:')
				print(self.beams[bi][cpi].beamInfo.fieldMin.first)
				print(self.beams[bi][cpi].beamInfo.fieldMin.second)
				print(self.beams[bi][cpi].beamInfo.fieldMax.first)
				print(self.beams[bi][cpi].beamInfo.fieldMax.second)
				print('jaws:')
				print(self.beams[bi][cpi].collimator.perpendicularJaw.j1.first)
				print(self.beams[bi][cpi].collimator.perpendicularJaw.j2.first)
				print(self.beams[bi][cpi].collimator.parallelJaw.j1.first)
				print(self.beams[bi][cpi].collimator.parallelJaw.j2.first)


				# apply field margins
				self.beams[bi][cpi].beamInfo.fieldMin.first -= self.sett.dose['field_margin']*scale
				self.beams[bi][cpi].beamInfo.fieldMin.second -= self.sett.dose['field_margin']*scale