You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docsrc/source/basics.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ All functions in DeerLab use the same units: all distances are in units of **nan
8
8
Distance distributions
9
9
*********************************
10
10
11
-
A distance distribution `P(r)` between two spins is represented by a pair of vectors: a distance vector ``r`` (in nanometers) and a vector of densities ``P`` (in inverse nanometers). The distance vector ``r`` can have linearly or non-linearly increasing values, but must have positive non-zero values. The elements ``P[i]`` are the distance distribution values at ``r[i]`` and are posiive or zero. Outside of the range defined by ``r``, the distribution ``P`` is assumed to be zero, i.e. the distribution is truncated to the range ``r``. The distance distribution ``P`` is normalized such that the integral over the range of the provided ``r`` equals one:
11
+
A distance distribution `P(r)` between two spins is represented by a pair of vectors: a distance vector ``r`` (in nanometers) and a vector of densities ``P`` (in inverse nanometers). The distance vector ``r`` can have linearly or non-linearly increasing values, but must have positive non-zero values. The elements ``P[i]`` are the distance distribution values at ``r[i]`` and are positive or zero. Outside of the range defined by ``r``, the distribution ``P`` is assumed to be zero, i.e. the distribution is truncated to the range ``r``. The distance distribution ``P`` is normalized such that the integral over the range of the provided ``r`` equals one:
Copy file name to clipboardexpand all lines: docsrc/source/changelog.rst
+39-39
Original file line number
Diff line number
Diff line change
@@ -108,32 +108,32 @@ Release ``v1.0.0`` - December 2022
108
108
109
109
.. rubric:: ``fit``
110
110
111
-
- |enhancement| The function now returns a full uncertainty quantification for the normalization factor of any model parameter with a normalization condition (:pr:`372`).
112
-
- |efficiency| |api| Removes the automatic computation of the ``modelUncert`` output containing the propagated uncertainty estimate of the model's response (:pr:`401`). This significantly speeds up the runtime of the function by disabling the automatic propagation of uncertainty to the model's response which could take from several seconds to several minutes in complex models (:issue:`391`).
111
+
- |enhancement| The function now returns a full uncertainty quantification for the normalization factor of any model parameter with a normalization condition (:pr:`372`).
112
+
- |efficiency| |api| Removes the automatic computation of the ``modelUncert`` output containing the propagated uncertainty estimate of the model's response (:pr:`401`). This significantly speeds up the runtime of the function by disabling the automatic propagation of uncertainty to the model's response which could take from several seconds to several minutes in complex models (:issue:`391`).
113
113
114
114
115
115
.. rubric:: ``dipolarkernel``
116
116
117
-
- |feature| Implements multi-spin dipolar pathways up to three-spin interactions (:pr:`385`). The function takes now a list of distance vectors ``[r1,r2,...,rQ]`` for multi-spin kernels.
118
-
- |feature| Expands the function to be able to account for arbitrary experimental time coordinates (:pr:`385`). Now a list of time vectors ``[t1,t2,...,tD]`` can be specified to construct a D-dimensional dipolar kernel.
119
-
- |enhancement| : Refactors most code in the function (:pr:`385`). THe code should now be more logically ordered using mathematical symbols for clearer equations.
120
-
- |api| Introduces a new and clearer syntax for defining dipolar pathways (:pr:`385`). Now, instead of specifying a list of pathways, where each pathway is a list of values (being the amplitude, refocusing time, and harmonic in that order), now pathways are specified as a list of dictionaries, e.g. ``pathways = [{'amp':0.5}, 'reftime':0, 'harmonic':1]``.
121
-
- |feature| |efficiency| Adds a new optional argument ``tinterp`` to construct a dipolar kernel for a pathway and interpolate other pathways from that one (:pr:`393`).
117
+
- |feature| Implements multi-spin dipolar pathways up to three-spin interactions (:pr:`385`). The function takes now a list of distance vectors ``[r1,r2,...,rQ]`` for multi-spin kernels.
118
+
- |feature| Expands the function to be able to account for arbitrary experimental time coordinates (:pr:`385`). Now a list of time vectors ``[t1,t2,...,tD]`` can be specified to construct a D-dimensional dipolar kernel.
119
+
- |enhancement| : Refactors most code in the function (:pr:`385`). THe code should now be more logically ordered using mathematical symbols for clearer equations.
120
+
- |api| Introduces a new and clearer syntax for defining dipolar pathways (:pr:`385`). Now, instead of specifying a list of pathways, where each pathway is a list of values (being the amplitude, refocusing time, and harmonic in that order), now pathways are specified as a list of dictionaries, e.g. ``pathways = [{'amp':0.5}, 'reftime':0, 'harmonic':1]``.
121
+
- |feature| |efficiency| Adds a new optional argument ``tinterp`` to construct a dipolar kernel for a pathway and interpolate other pathways from that one (:pr:`393`).
122
122
123
123
.. rubric:: ``dipolarbackground``
124
124
125
-
- |feature| Implements multi-spin dipolar pathways up to three-spin interactions (:pr:`385`).
126
-
- |feature| Expands the function to be able to account for arbitrary experimental time coordinates (:pr:`385`). Now a list of time vectors ``[t1,t2,...,tD]`` can be specified to construct a D-dimensional dipolar background function.
127
-
- |api| Introduces the same new syntax for defining dipolar pathways as in ``dipolarkernel`` (:pr:`385`).
125
+
- |feature| Implements multi-spin dipolar pathways up to three-spin interactions (:pr:`385`).
126
+
- |feature| Expands the function to be able to account for arbitrary experimental time coordinates (:pr:`385`). Now a list of time vectors ``[t1,t2,...,tD]`` can be specified to construct a D-dimensional dipolar background function.
127
+
- |api| Introduces the same new syntax for defining dipolar pathways as in ``dipolarkernel`` (:pr:`385`).
128
128
129
129
130
130
.. rubric:: ``correctphase``
131
131
132
-
- Adds a new optional argument ``offset`` to enable a numerical optimization of the phase while accounting for a non-zero imaginary component offset (:issue:`392`, :pr:`395`).
132
+
- Adds a new optional argument ``offset`` to enable a numerical optimization of the phase while accounting for a non-zero imaginary component offset (:issue:`392`, :pr:`395`).
133
133
134
134
.. rubric:: ``snlls``
135
135
136
-
- Adds an optional argument ``modeluq`` to enable /disable the model uncertainty propagation (:pr:`401`).
136
+
- Adds an optional argument ``modeluq`` to enable /disable the model uncertainty propagation (:pr:`401`).
137
137
138
138
Release ``v0.14.5`` - December 2022
139
139
------------------------------------------
@@ -143,12 +143,12 @@ Release ``v0.14.5`` - December 2022
143
143
144
144
.. rubric:: ``fit``
145
145
146
-
- |fix| Expose the ``cores`` option of ``bootstrap_analysis`` to parallelize bootstrap analysis from the ``fit`` function (:pr:`387`).
147
-
- |fix| Correct behavior of masking during fitting (:pr:`394`). When using the ``mask`` option of the ``fit`` function, certain steps such as noise estimation and goodness-of-fit assessment were not taking into account the mask during the analysis.
146
+
- |fix| Expose the ``cores`` option of ``bootstrap_analysis`` to parallelize bootstrap analysis from the ``fit`` function (:pr:`387`).
147
+
- |fix| Correct behavior of masking during fitting (:pr:`394`). When using the ``mask`` option of the ``fit`` function, certain steps such as noise estimation and goodness-of-fit assessment were not taking into account the mask during the analysis.
148
148
149
149
.. rubric:: ``bootstrap_analysis``
150
150
151
-
- |fix| Fix error prompted when analyzing scalar variables (:pr:`402`).
151
+
- |fix| Fix error prompted when analyzing scalar variables (:pr:`402`).
152
152
153
153
154
154
@@ -163,11 +163,11 @@ Release ``v0.14.4`` - August 2022
163
163
164
164
.. rubric:: ``fit``
165
165
166
-
- |fix| Added multiple missing optional keyword arguments to the documentation of the function (:pr:`367`).
166
+
- |fix| Added multiple missing optional keyword arguments to the documentation of the function (:pr:`367`).
167
167
168
168
.. rubric:: ``dd_randcoil``
169
169
170
-
- |fix| Fixed the erronously switched descriptions of the model parameters (:pr:`361`).
170
+
- |fix| Fixed the erronously switched descriptions of the model parameters (:pr:`361`).
171
171
172
172
173
173
@@ -296,52 +296,52 @@ Release ``v0.14.0`` - April 2022
296
296
297
297
.. rubric:: ``bootstrap_analysis``
298
298
299
-
- |efficiency| Added a new keyword argument ``memorylimit`` to specify the maximal memory used by the bootstrap analysis (by default 8GB). If the total analysis is expected to exceed the memory limit, the function will abort the execution (:issue:`200`, :pr:`238`).
299
+
- |efficiency| Added a new keyword argument ``memorylimit`` to specify the maximal memory used by the bootstrap analysis (by default 8GB). If the total analysis is expected to exceed the memory limit, the function will abort the execution (:issue:`200`, :pr:`238`).
300
300
301
301
.. rubric:: ``dipolarkernel``
302
302
303
-
- |feature| Added a new option `complex` to request the complex-valued dipolar kernel to simulate the out-of-phase contributions to the dipolar signals (:pr:`258`).
304
-
- |efficiency| Added a new keyword argument ``memorylimit`` to specify the maximal memory used by the dipolar kernel (by default 8GB). If the dipolar kernel is expected to exceed the memory limit, the function will abort the execution (:issue:`200`, :pr:`238`).
305
-
- |fix| Prompts error if wrong method is selected when specifying a limited excitation bandwidth (:issue:`181`, :pr:`183`).
303
+
- |feature| Added a new option `complex` to request the complex-valued dipolar kernel to simulate the out-of-phase contributions to the dipolar signals (:pr:`258`).
304
+
- |efficiency| Added a new keyword argument ``memorylimit`` to specify the maximal memory used by the dipolar kernel (by default 8GB). If the dipolar kernel is expected to exceed the memory limit, the function will abort the execution (:issue:`200`, :pr:`238`).
305
+
- |fix| Prompts error if wrong method is selected when specifying a limited excitation bandwidth (:issue:`181`, :pr:`183`).
306
306
307
307
.. rubric:: ``bg_models``
308
308
309
-
- |feature| Implemented the time-dependent phase shifts for all the built-in physical background models, namely ``bg_hon3d_phase``, ``bg_hom3dex_phase``, and ``bg_homfractal_phase`` (:pr:`258`).
310
-
- |enhancement| Changed the implementation of ``bg_hom3dex`` (:pr:`258`). This avoids the use of tabulated pre-calculated values. Accordingly the utility functions ``calculate_exvolume_redfactor`` and ``load_exvolume_redfactor`` have been removed.
311
-
- |fix| Improved the implementation and behavior of the ``bg_homfractal`` model (:pr:`258`).
309
+
- |feature| Implemented the time-dependent phase shifts for all the built-in physical background models, namely ``bg_hon3d_phase``, ``bg_hom3dex_phase``, and ``bg_homfractal_phase`` (:pr:`258`).
310
+
- |enhancement| Changed the implementation of ``bg_hom3dex`` (:pr:`258`). This avoids the use of tabulated pre-calculated values. Accordingly the utility functions ``calculate_exvolume_redfactor`` and ``load_exvolume_redfactor`` have been removed.
311
+
- |fix| Improved the implementation and behavior of the ``bg_homfractal`` model (:pr:`258`).
312
312
313
313
.. rubric:: ``diststats``
314
314
315
-
- |fix| Fixed the behavior when dealing with distributions with arbitrary integral values
315
+
- |fix| Fixed the behavior when dealing with distributions with arbitrary integral values
316
316
317
317
.. rubric:: ``selregparam``
318
318
319
-
- |enhancement| Implemented a general LSQ solver as backend to adapt to different regularized optimization problem structures.
320
-
- |enhancement| Generalized the linear least-squares solver. (:pr:`216`).
321
-
- |enhancement| In the ``brent`` mode, the search range is no longer selected from the min/max of ``regparamrange`` output, but from a new keyword argument ``searchrange`` set by default to ``[1e-8,1e2]``. The default values were chosen as the statistical means of Monte-Carlo simulations of the min/max values of ``regparamrange``'s output for typical 4-pulse DEER kernels (:pr:`232`).
322
-
- |enhancement| In the ``grid`` mode, the grid-values are passed by the pre-existing keyword argument ``candidates``. By default, if not specified, a grid will be generated from the ``searchrange`` argument (:pr:`232`).
319
+
- |enhancement| Implemented a general LSQ solver as backend to adapt to different regularized optimization problem structures.
320
+
- |enhancement| Generalized the linear least-squares solver. (:pr:`216`).
321
+
- |enhancement| In the ``brent`` mode, the search range is no longer selected from the min/max of ``regparamrange`` output, but from a new keyword argument ``searchrange`` set by default to ``[1e-8,1e2]``. The default values were chosen as the statistical means of Monte-Carlo simulations of the min/max values of ``regparamrange``'s output for typical 4-pulse DEER kernels (:pr:`232`).
322
+
- |enhancement| In the ``grid`` mode, the grid-values are passed by the pre-existing keyword argument ``candidates``. By default, if not specified, a grid will be generated from the ``searchrange`` argument (:pr:`232`).
323
323
324
324
.. rubric:: ``UQResult``
325
325
326
-
- |fix| Ensures non-negativity of estimated parameter uncertainty probability density functions.
327
-
- |enhancement| Improve the behavior of ``UQresult.propagate()`` for bootstrapped uncertainty results. Now, instead of propagating bootstrapped uncertainty via the estimated covariance matrix, the uncertainty is propagated by bootstrapping from the bootstrapped uncertainty distributions (:pr:`218`).
328
-
- |fix| Fix behavior of the bootstrap median (:pr:`254`).
329
-
- |fix| Suppress multiple ``DeprecationWarning`` warnings during uncertainty calculations (:pr:`255`).
330
-
- |fix| Fix error prompt when requesting private methods such as ``__deepcopy__`` (:issue:`301`, :pr:`303`).
326
+
- |fix| Ensures non-negativity of estimated parameter uncertainty probability density functions.
327
+
- |enhancement| Improve the behavior of ``UQresult.propagate()`` for bootstrapped uncertainty results. Now, instead of propagating bootstrapped uncertainty via the estimated covariance matrix, the uncertainty is propagated by bootstrapping from the bootstrapped uncertainty distributions (:pr:`218`).
328
+
- |fix| Fix behavior of the bootstrap median (:pr:`254`).
329
+
- |fix| Suppress multiple ``DeprecationWarning`` warnings during uncertainty calculations (:pr:`255`).
330
+
- |fix| Fix error prompt when requesting private methods such as ``__deepcopy__`` (:issue:`301`, :pr:`303`).
331
331
332
332
.. rubric:: ``correctphase``
333
333
334
-
- |fix| Implement a fully vectorized analytical solution, resulting in a 30-150x speedup (:pr:`256`, :pr:`279`).
335
-
- |api| Eliminate the ``phase='posrealint'`` and ``phase='negrealint'`` options (:pr:`279`).
334
+
- |fix| Implement a fully vectorized analytical solution, resulting in a 30-150x speedup (:pr:`256`, :pr:`279`).
335
+
- |api| Eliminate the ``phase='posrealint'`` and ``phase='negrealint'`` options (:pr:`279`).
336
336
337
337
.. rubric:: ``deerload``
338
338
339
-
- |fix| Raise warning instead of exception when parsing lines without key-value pairs (:pr:`256`). This avoid errors when trying to load BES3T files with PulseSPEL scripts edited in different OS systems.
339
+
- |fix| Raise warning instead of exception when parsing lines without key-value pairs (:pr:`256`). This avoid errors when trying to load BES3T files with PulseSPEL scripts edited in different OS systems.
340
340
341
341
.. rubric:: ``whitegaussnoise``
342
342
343
-
- |api| Renamed the argument ``level`` to ``std`` for clarity (:pr:`276`).
344
-
- |api| Make the argument ``std`` a required positional argument and no longer provide a default value (:pr:`276`).
343
+
- |api| Renamed the argument ``level`` to ``std`` for clarity (:pr:`276`).
344
+
- |api| Make the argument ``std`` a required positional argument and no longer provide a default value (:pr:`276`).
0 commit comments