Skip to content

Commit

Permalink
Update pyeqd2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chris201706 authored Jun 26, 2017
1 parent f8b52d3 commit 170aba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyeqd2.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, filepath):
print("––New instance of Class RTDose has been initiated.")
else:
raise ValueError("Input file is not of modality 'RTDOSE'.(Returning False.)")
def make_EQD2(self, fn, abratio):
def make_eqd2(self, fn, abratio):
self.pixelarray, self.scalefactor = dcm_to_eqd2(self.pixelarray, self.scalefactor, self.precision, self.signedness, self.raw_maxval, fn, abratio)
def multiply(self, factor):
self.pixelarray, self.scalefactor = dcm_multiply(self.pixelarray, self.scalefactor, self.precision, self.signedness, self.raw_maxval, factor)
Expand All @@ -53,7 +53,7 @@ def export(self):
a.plot()
a.make_eqd2(8,3)
a.multiply(8)
a.make_EQD2(1,3)
a.make_eqd2(1,3)
a.export()
\Test '''

Expand Down

0 comments on commit 170aba2

Please sign in to comment.