nmr-processing 6.0.6 → 6.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,7 @@ function signals2DToZ(signals, options = {}) {
|
|
|
7
7
|
const peaks = signals.reduce((acc, { x, y }) => {
|
|
8
8
|
acc.x.push(x.delta);
|
|
9
9
|
acc.y.push(y.delta);
|
|
10
|
-
acc.z.push(
|
|
10
|
+
acc.z.push(1e6);
|
|
11
11
|
return acc;
|
|
12
12
|
}, { x: [], y: [], z: [] });
|
|
13
13
|
width = ensureXYNumber(width);
|
|
@@ -4,7 +4,7 @@ export function signals2DToZ(signals, options = {}) {
|
|
|
4
4
|
const peaks = signals.reduce((acc, { x, y }) => {
|
|
5
5
|
acc.x.push(x.delta);
|
|
6
6
|
acc.y.push(y.delta);
|
|
7
|
-
acc.z.push(
|
|
7
|
+
acc.z.push(1e6);
|
|
8
8
|
return acc;
|
|
9
9
|
}, { x: [], y: [], z: [] });
|
|
10
10
|
width = ensureXYNumber(width);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nmr-processing",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.7",
|
|
4
4
|
"description": "Pure functions allowing to process NMR spectra.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"@types/jest": "^27.4.0",
|
|
42
42
|
"cheminfo-build": "^1.1.11",
|
|
43
43
|
"cheminfo-types": "^0.9.1",
|
|
44
|
-
"eslint": "^8.
|
|
44
|
+
"eslint": "^8.8.0",
|
|
45
45
|
"eslint-config-cheminfo-typescript": "^10.3.0",
|
|
46
46
|
"jest": "^27.4.7",
|
|
47
47
|
"jest-matcher-deep-close-to": "^3.0.2",
|
|
48
48
|
"md5": "^2.3.0",
|
|
49
49
|
"ml-array-median": "^1.1.6",
|
|
50
|
-
"nmr-xy-testdata": "^0.
|
|
50
|
+
"nmr-xy-testdata": "^0.5.0",
|
|
51
51
|
"openchemlib": "^7.4.3",
|
|
52
52
|
"prettier": "^2.5.1",
|
|
53
53
|
"rimraf": "^3.0.2",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"ml-peak-shape-generator": "^4.0.2",
|
|
74
74
|
"ml-simple-clustering": "^0.1.0",
|
|
75
75
|
"ml-sparse-matrix": "^2.1.0",
|
|
76
|
-
"ml-spectra-processing": "^
|
|
76
|
+
"ml-spectra-processing": "^9.0.0",
|
|
77
77
|
"ml-tree-set": "^0.1.1",
|
|
78
78
|
"openchemlib-utils": "^1.8.0",
|
|
79
79
|
"spectrum-generator": "^6.0.2"
|