Skip to content
Snippets Groups Projects
Commit 81857af8 authored by Wu's avatar Wu
Browse files

Fixed style

parent a54844b6
No related branches found
No related tags found
No related merge requests found
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
# Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI, # Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
# NScD Oak Ridge National Laboratory, European Spallation Source # NScD Oak Ridge National Laboratory, European Spallation Source
# & Institut Laue - Langevin # & Institut Laue - Langevin
# SPDX - License - Identifier: GPL - 3.0 +
""" # pylint: disable=invalid-name, anomalous-backslash-in-string, attribute-defined-outside-init
@author Hank Wu, RAL STFC
@date September 11, 2019
"""
from mantid.api import IFunction1D, FunctionFactory from mantid.api import IFunction1D, FunctionFactory
import numpy as np import numpy as np
......
...@@ -29,7 +29,7 @@ class BesselTest(unittest.TestCase): ...@@ -29,7 +29,7 @@ class BesselTest(unittest.TestCase):
self.fail(msg.format(*[str(i) for i in (output, input, expected)])) self.fail(msg.format(*[str(i) for i in (output, input, expected)]))
def test_do_fit(self): def test_do_fit(self):
do_a_fit(np.arange(0.1, 16, 0.2), 'Bessel',guess=dict(A0=0.15, Phi=0.25, Nu=0.25),target=dict(A0=0.1, Phi=0.2, Nu=0.2), atol=0.01) do_a_fit(np.arange(0.1, 16, 0.2), 'Bessel', guess=dict(A0=0.15, Phi=0.25, Nu=0.25), target=dict(A0=0.1, Phi=0.2, Nu=0.2), atol=0.01)
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment