Loading pysen/plot/fliplotlib.py +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ def plot_flipper_curve(axs, name='fpi', **kwargs): curve = tof_curve(flipper, lmax, delam, points=points, sample_to_source=L1, freq=freq, b_ext=B_ext, rewind=5) curve = np.roll(curve, shift) curve = np.roll(curve, int(shift)) scurve = curve*flipper.current(lmax)*scale p = axs.plot(scurve,'-', lw=1, label='calc %s' % name) if compare is not None: Loading pysen/revision.py +2 −2 Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ PySEN revision module """ import sys __version__ = "2.1.0.dev8" __date__ = "Mar 10, 2026" __version__ = "2.1.0.dev9" __date__ = "Mar 12, 2026" def version(full=False): "get pysen version number" Loading pysen/ui/nsegui.py +17 −10 Original line number Diff line number Diff line Loading @@ -3,6 +3,8 @@ Application main entry point/runner. """ try: from qtpy import QtWidgets from pysen.ui.NSEMainWindow import MainWindow Loading @@ -13,3 +15,8 @@ def nsegui(): main_window = MainWindow() main_window.show() app.exec_() except ImportError: def nsegui(): "dummy gui app" print("qt not found") Loading
pysen/plot/fliplotlib.py +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ def plot_flipper_curve(axs, name='fpi', **kwargs): curve = tof_curve(flipper, lmax, delam, points=points, sample_to_source=L1, freq=freq, b_ext=B_ext, rewind=5) curve = np.roll(curve, shift) curve = np.roll(curve, int(shift)) scurve = curve*flipper.current(lmax)*scale p = axs.plot(scurve,'-', lw=1, label='calc %s' % name) if compare is not None: Loading
pysen/revision.py +2 −2 Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ PySEN revision module """ import sys __version__ = "2.1.0.dev8" __date__ = "Mar 10, 2026" __version__ = "2.1.0.dev9" __date__ = "Mar 12, 2026" def version(full=False): "get pysen version number" Loading
pysen/ui/nsegui.py +17 −10 Original line number Diff line number Diff line Loading @@ -3,6 +3,8 @@ Application main entry point/runner. """ try: from qtpy import QtWidgets from pysen.ui.NSEMainWindow import MainWindow Loading @@ -13,3 +15,8 @@ def nsegui(): main_window = MainWindow() main_window.show() app.exec_() except ImportError: def nsegui(): "dummy gui app" print("qt not found")