From 09bc5d704b2c428c322bf66e35ffc36196b4fac2 Mon Sep 17 00:00:00 2001 From: edmundxcvi <59712516+edmundxcvi@users.noreply.github.com> Date: Thu, 23 Jun 2022 14:25:32 +0100 Subject: [PATCH 1/2] Fix apparent typo --- deerlab/dipolarmodel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deerlab/dipolarmodel.py b/deerlab/dipolarmodel.py index 51039f56..41089160 100644 --- a/deerlab/dipolarmodel.py +++ b/deerlab/dipolarmodel.py @@ -244,7 +244,7 @@ def Vnonlinear_fcn(*nonlin): # Set other dipolar model specific attributes DipolarSignal.description = 'Dipolar signal model' DipolarSignal.Pmodel = Pmodel - DipolarSignal.Bmodel = Pmodel + DipolarSignal.Bmodel = Bmodel DipolarSignal.Npathways = npathways return DipolarSignal @@ -691,4 +691,4 @@ def ex_ridme(tau1, tau2, pathways=None): harmonics = [harmonics[pathway-1] for pathway in pathways] return ExperimentInfo('RIDME',reftimes,harmonics) -#=============================================================================== \ No newline at end of file +#=============================================================================== From 0b1b9720ea7e7308ef5717213dbf7ff0b2a3160c Mon Sep 17 00:00:00 2001 From: Luis Fabregas Date: Tue, 28 Jun 2022 14:32:29 +0200 Subject: [PATCH 2/2] Remove unused lines --- deerlab/dipolarmodel.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/deerlab/dipolarmodel.py b/deerlab/dipolarmodel.py index 41089160..5c73a42c 100644 --- a/deerlab/dipolarmodel.py +++ b/deerlab/dipolarmodel.py @@ -243,9 +243,6 @@ def Vnonlinear_fcn(*nonlin): # Set other dipolar model specific attributes DipolarSignal.description = 'Dipolar signal model' - DipolarSignal.Pmodel = Pmodel - DipolarSignal.Bmodel = Bmodel - DipolarSignal.Npathways = npathways return DipolarSignal #===============================================================================