Skip to content

Commit

Permalink
MNT #252 similar code OK
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian authored Sep 10, 2019
1 parent e6e8d0b commit 6439e6a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apstools/synApps/calcout.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class UserCalcoutDevice(Device):
calcout9 = Cpt(CalcoutRecord, 'userCalcOut9')
calcout10 = Cpt(CalcoutRecord, 'userCalcOut10')

def reset(self):
def reset(self): # lgtm [py/similar-function]
"""set all fields to default values"""
self.calcout1.reset()
self.calcout2.reset()
Expand Down Expand Up @@ -280,8 +280,9 @@ def setup_gaussian_calcout(calcout, ref_signal, center=0, width=1, scale=1, nois
noise=noise)


def setup_lorentzian_calcout(calcout, ref_signal,
center=0, width=1, scale=1, noise=0.05):
def setup_lorentzian_calcout(calcout, ref_signal,
center=0, width=1,
scale=1, noise=0.05): # lgtm [py/similar-function]
"""
setup calcout record for noisy Lorentzian
Expand Down

0 comments on commit 6439e6a

Please sign in to comment.