Loading pysen/plot/nseplotlib.py +2 −2 Original line number Diff line number Diff line Loading @@ -539,7 +539,7 @@ def plot_echo(hdfile, iecho=None, **kwargs): try: _ = fit_echo_current(cur[:nph], (y[:nph], ey[:nph]), spectrum, lam0=lam0, phase0=phase0, phasesens=phasesens, incoherent=incoherent) incoherent=incoherent, global_fit=True) except RuntimeError as exc: log.warning("fit error: tau=%gns %s", tau0, exc) continue Loading Loading @@ -613,7 +613,7 @@ def plot_echo(hdfile, iecho=None, **kwargs): res = fit_echo_current(cur[:nph], (y[:nph], ey[:nph]), spectrum, lam0=lam0, phase0=phase0, phasesens=phasesens, phase_pf=phase_ef0, incoherent=incoherent) incoherent=incoherent, global_fit=False) (phase_ef, phase_err), (xef, yef), res = res fres = 2*res['amplitude'][0]/(upave - dnave) #if abs(fres)<min_amp: Loading pysen/revision.py +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ PySEN revision module import sys __version__ = "2.1" __release__ = "b9" __date__ = "May 28, 2025" __date__ = "May 29, 2025" def version(full=False): "get pysen version number" Loading Loading
pysen/plot/nseplotlib.py +2 −2 Original line number Diff line number Diff line Loading @@ -539,7 +539,7 @@ def plot_echo(hdfile, iecho=None, **kwargs): try: _ = fit_echo_current(cur[:nph], (y[:nph], ey[:nph]), spectrum, lam0=lam0, phase0=phase0, phasesens=phasesens, incoherent=incoherent) incoherent=incoherent, global_fit=True) except RuntimeError as exc: log.warning("fit error: tau=%gns %s", tau0, exc) continue Loading Loading @@ -613,7 +613,7 @@ def plot_echo(hdfile, iecho=None, **kwargs): res = fit_echo_current(cur[:nph], (y[:nph], ey[:nph]), spectrum, lam0=lam0, phase0=phase0, phasesens=phasesens, phase_pf=phase_ef0, incoherent=incoherent) incoherent=incoherent, global_fit=False) (phase_ef, phase_err), (xef, yef), res = res fres = 2*res['amplitude'][0]/(upave - dnave) #if abs(fres)<min_amp: Loading
pysen/revision.py +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ PySEN revision module import sys __version__ = "2.1" __release__ = "b9" __date__ = "May 28, 2025" __date__ = "May 29, 2025" def version(full=False): "get pysen version number" Loading