Skip to content

Commit 3d098ee

Browse files
refactor: change prediction default 'nbPoints' value to 256k
1 parent 67c17ac commit 3d098ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/scripts/nmr-cli/src/prediction/parsePredictionCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const predictionOptions: { [key in keyof GenerateSpectrumOptions]: Options } = {
3030
nbPoints: {
3131
type: 'number',
3232
description: 'Number of points',
33-
default: 1024,
33+
default: 2 ** 18, // 256k points
3434
},
3535
lineWidth: {
3636
type: 'number',
@@ -146,7 +146,7 @@ async function predictNMR(options: PredictionArgs): Promise<void> {
146146
solvent,
147147
from,
148148
to,
149-
nbPoints = 1024,
149+
nbPoints = 2 ** 18, // 256K
150150
frequency = 400,
151151
lineWidth = 1,
152152
tolerance = 0.001,

0 commit comments

Comments
 (0)