Skip to content

protocol-types#

Abort#

Intentionally fail/abort the schedule execution

Properties#

message?#

optional message?: string;

Optional message describing why the schedule was aborted


AcquisitionMetadata#

Metadata about an acquisition run

Properties#

accumulationStrategy#

accumulationStrategy: AccumulationStrategy;

How scans were accumulated

dataDomain#

dataDomain: DataDomain;

Data characteristics

deviceProvider#

deviceProvider: string;

deviceType#

deviceType: string;

Device state during acquisition

dimensionality#

dimensionality: number;

1D, 2D, 3D, etc.

estimatedSnr?#

optional estimatedSnr?: number;

Quality metrics

nmr?#

optional nmr?: NmrAcquisitionParameters;

NMR acquisition parameters read from an imported vendor file; unset for live acquisitions.

nuclei#

nuclei: string;

Comma-separated short nucleus labels the scan observes, e.g. "H1,C13". Stamped by the importer: a listed scan is stripped of its data, so this is what survives for the browser.

numChannels#

numChannels: number;

numScans#

numScans: number;

Number of individual scans acquired

processingSteps#

processingSteps: ProcessingStep[];

Processing history

sequenceMode#

sequenceMode: SequenceDefinitionMode;

sequenceName#

sequenceName: string;

Sequence information


Analysis#

Properties#

code#

code: string;

Dirty?#

optional Dirty?: AnalysisDirtyFlags;

Unified save/load system

IsBuiltin#

IsBuiltin: boolean;

Built-in preset flag (semi-hidden, indicates read-only system preset)

name#

name: string;

scanSet#

scanSet: ScanSetEntry[];

Multi-scan analysis working set (identities only). Persists with the project so the selected scans are restored on restart.

series#

series: SeriesDefinition | undefined;

Series settings for the working set (variable, regions, model).

workbench#

workbench: boolean;

Whether the multi-scan workbench layout is enabled for this analysis.


AnalysisDirtyFlags#

Properties#

analysis#

analysis: boolean;

Analysis changed


AnalystCommentary#

Commentary attributed to the analyst rather than to the data. A message rather than a bare string so that later additions (sign-off, review date) extend the {{analyst.*}} namespace without another Project field.

Properties#

notes#

notes: string;

Any#

Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
  ...
}

Example 2: Pack and unpack a message in Java.

Foo foo = ...;
Any any = Any.pack(foo);
...
if (any.is(Foo.class)) {
  foo = any.unpack(Foo.class);
}
// or ...
if (any.isSameTypeAs(Foo.getDefaultInstance())) {
  foo = any.unpack(Foo.getDefaultInstance());
}

Example 3: Pack and unpack a message in Python.

foo = Foo(...)
any = Any()
any.Pack(foo)
...
if any.Is(Foo.DESCRIPTOR):
  any.Unpack(foo)
  ...

Example 4: Pack and unpack a message in Go

 foo := &pb.Foo{...}
 any, err := anypb.New(foo)
 if err != nil {
   ...
 }
 ...
 foo := &pb.Foo{}
 if err := any.UnmarshalTo(foo); err != nil {
   ...
 }

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON#

The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:

package google.profile;
message Person {
  string first_name = 1;
  string last_name = 2;
}

{
  "@type": "type.googleapis.com/google.profile.Person",
  "firstName": <string>,
  "lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):

{
  "@type": "type.googleapis.com/google.protobuf.Duration",
  "value": "1.212s"
}

Properties#

typeUrl#

typeUrl: string;

A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted).

In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:

  • If no scheme is provided, https is assumed.
  • An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error.
  • Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)

Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one.

Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.

value#

value: Uint8Array;

Must be a valid serialized protocol buffer of the above specified type.


ApodizationSettings#

Properties#

adaptiveLineBroadening?#

optional adaptiveLineBroadening?: boolean;

Whether the exponential line broadening is measured from the data instead of being read from line_broadening.

When on, the consumer transforms the FID once without a window, measures the natural line width of the lines it shows, and takes a fixed fraction of that width as the broadening. line_broadening is then ignored and must be shown as overridden rather than hidden. When the signal carries no line whose width can be measured -- pure noise, an empty or degenerate FID -- the consumer falls back to line_broadening unchanged.

Only the exponential window is affected; gaussian_sigma and gb_hz are read exactly as before.

Carries explicit presence so "the user switched it off" stays distinguishable from "never set". Unset means false: switching it on changes the broadening of every spectrum, so it is opt-in.

enabled?#

optional enabled?: boolean;

Whether to apply apodization. Unset means true.

gaussianSigma#

gaussianSigma: number;

Sigma for the gaussian window (0-0.5 range). UNIT: dimensionless - a fraction of the total acquisition time, not Hz. gb_hz carries the physical equivalent.

gbHz?#

optional gbHz?: number;

Physical gaussian broadening. UNIT: Hz. Takes precedence over gaussian_sigma when set.

lineBroadening?#

optional lineBroadening?: number;

Line broadening for the exponential window. UNIT: Hz (physical).

Carries explicit presence: 0 Hz is a meaningful choice (no broadening, required for qNMR) and must stay distinguishable from "never set". Unset means the nucleus-aware value: 1 Hz for 1H and 19F, 3 Hz for 13C and 2H, 5 Hz for 15N, 2 Hz for 31P.

shapeParameter#

shapeParameter: number;

Alpha/beta parameter for kaiser/tukey windows

windowType#

windowType: ApodizationSettings_WindowType;

Type of window function


AtomEvidenceItem#

Properties#

agrees#

agrees: boolean;

experiment#

experiment: VerificationExperiment;

observedPpm#

observedPpm: number;

predictedPpm?#

optional predictedPpm?: number;

Unset for a correlation, which has no prediction of its own.

signalId#

signalId: string;

z#

z: number;

AtomVerification#

Properties#

ambiguous#

ambiguous: boolean;

Another site fits the same signal as well: the data at hand cannot tell them apart.

atomIndex#

atomIndex: number;

element#

element: string;

evidence#

evidence: AtomEvidenceItem[];

predictedCPpm?#

optional predictedCPpm?: number;

predictedHPpm?#

optional predictedHPpm?: number;

protons#

protons: number;

status#

status: AtomVerificationStatus;

AxisAlignment#

Experiments are referenced separately; each 2D axis is moved onto the 1D spectra before reading.

Properties#

experiment#

experiment: VerificationExperiment;

matched#

matched: number;

partnerOffsetPpm#

partnerOffsetPpm: number;

The carbon axis (HSQC, HMBC) or the second proton axis (COSY).

protonOffsetPpm#

protonOffsetPpm: number;

AxisMetadataEntry#

Per-axis metadata declared by the user on the Start node.

Properties#

dimension#

dimension: number;

0 = direct, 1 = indirect

nucleus#

nucleus: Nucleus;

parameterName#

parameterName: string;

For PARAMETER role: "nu_cpmg", "tau", etc.

role#

role: AxisRole;

BaselineCorrectionSettings#

Properties#

asymmetry?#

optional asymmetry?: number;

Asymmetry parameter p for the ALS family.

edgeFraction?#

optional edgeFraction?: number;

Fraction of the spectrum at each edge used by the EDGE method and by the edge-anchored fallbacks (0-0.5).

enabled?#

optional enabled?: boolean;

Whether to apply automatic baseline correction. Unset means false: a correctly phased spectrum rarely needs one and every estimator can bias integrals.

excludeRegions#

excludeRegions: BaselineCorrectionSettings_ExclusionRegion[];

Added to the spans the pipeline derives itself, never replacing them. Excluding everything leaves nothing to fit: consumers must say so, not fall back silently.

imaginaryMethod?#

optional imaginaryMethod?: BaselineCorrectionSettings_ImaginaryMethod;

Explicit presence: AUTO shares its number with the proto3 default.

iterations?#

optional iterations?: number;

Maximum solver iterations for the ALS family. Values < 1 are invalid.

maskSigma?#

optional maskSigma?: number;

Signal-mask threshold in robust noise sigma. Points with |y - median| > mask_sigma * sigma are excluded from the fit.

method?#

optional method?: BaselineCorrectionSettings_BaselineMethod;

Baseline correction method.

Carries explicit presence: POLYNOMIAL shares its number with the proto3 default, so "the user chose polynomial" is distinguishable from "never set" only through the optional marker. Consumers must test method is None rather than comparing against POLYNOMIAL, and unset means ARPLS. A value outside this enum must be reported to the user and replaced with ARPLS, never substituted silently.

polynomialOrder?#

optional polynomialOrder?: number;

Polynomial order for the polynomial and masked-polynomial methods.

Carries explicit presence: 0 is a meaningful choice and means constant offset removal. Unset means 1.

smoothnessDecades?#

optional smoothnessDecades?: number;

Whittaker smoothness, in decades of lambda (7-12, centre 10). The effective lambda is length-normalised by the consumer as 10**smoothness_decades * (N / 16384)**4, because the second-difference penalty is taken over sample index.


BaselineCorrectionSettings_ExclusionRegion#

A ppm span bridged across rather than fitted, dilated either side by the smoother's response length. The fit is identical whatever the span holds: a solvent peak, a water hump, a span an earlier stage emptied.

Properties#

endPpm#

endPpm: number;

label?#

optional label?: string;

Display only; the fit does not read it.

startPpm#

startPpm: number;

Order does not matter; the consumer sorts them.


ChemometricAnalysisRequest#

Runs over the project's analysis scan set when scans is empty. A scan is named by project and id, since the working set may span projects.

Properties#

clustering?#

optional clustering?: ChemometricClusteringOptions;

colourAttribute#

colourAttribute: string;

Sample attribute the frontend is colouring by, echoed back for the report.

pca?#

optional pca?: ChemometricPcaOptions;

Each block is optional; omit one to skip that analysis.

scans#

scans: ScanSetEntry[];

spec#

spec: ChemometricMatrixSpec | undefined;

stocsy?#

optional stocsy?: ChemometricStocsyOptions;

ChemometricAnalysisResponse#

Properties#

colourAttribute#

colourAttribute: string;

error#

error: string;

fieldErrors#

fieldErrors: ChemometricFieldError[];

Why a run was refused, per setting; error still carries the joined text.

hierarchical?#

optional hierarchical?: ChemometricHierarchicalResult;

kmeans?#

optional kmeans?: ChemometricKMeansResult;

matrix#

matrix: ChemometricMatrixSummary | undefined;

pca?#

optional pca?: ChemometricPcaResult;

skipped#

skipped: string[];

Scans that were requested but could not contribute, with the reason.

statuses#

statuses: ChemometricAnalysisStatus[];

One per requested analysis.

stocsy?#

optional stocsy?: ChemometricStocsyResult;

success#

success: boolean;

ChemometricAnalysisStatus#

Properties#

analysis#

analysis: ChemometricAnalysisKind;

message#

message: string;

Localised; names the reason and what to do. Empty when the state is OK.

minimumSamples#

minimumSamples: number;

Spectra the analysis needs, and spectra the matrix had; set for SKIPPED_TOO_FEW.

samples#

samples: number;

state#

state: ChemometricAnalysisState;

ChemometricClusteringOptions#

Properties#

kmeansK#

kmeansK: number;

Also run k-means at this k; 0 skips it.

kmeansSeed#

kmeansSeed: number;

linkage#

linkage: ChemometricLinkage;

metric#

metric: ChemometricDistanceMetric;

nClusters#

nClusters: number;

Cut the tree into this many clusters; 0 leaves it uncut.


ChemometricComponent#

Properties#

cumulativeVarianceRatio#

cumulativeVarianceRatio: number;

explainedVariance#

explainedVariance: number;

explainedVarianceRatio#

explainedVarianceRatio: number;

Fraction of total variance, 0..1.

index#

index: number;

loadings#

loadings: number[];

Weights on the ppm axis, length n_variables; a peak here is a resonance driving the separation.

singularValue#

singularValue: number;

ChemometricDendrogram#

Dendrogram line segments, shaped so the renderer needs no tree walk.

Properties#

dcoord#

dcoord: number[];

Row-major [n_merges][4] merge heights.

icoord#

icoord: number[];

Row-major [n_merges][4] x coordinates, in leaf-position units.

leafOrder#

leafOrder: number[];

Sample indices in left-to-right display order.

nMerges#

nMerges: number;

ChemometricExclusion#

A chemical-shift window removed from the matrix before analysis.

Properties#

highPpm#

highPpm: number;

label#

label: string;

Why it was removed, carried through to the report.

lowPpm#

lowPpm: number;

ChemometricFieldError#

A request setting the selection cannot honour. The run is refused when any is present.

Properties#

code#

code: string;

Stable code, e.g. "clusters_too_many", for renderers that phrase it themselves.

field#

field: string;

"components", "clusters", "kmeans_k" or "normalisation".

message#

message: string;

Localised; names the field, the reason and the fix.


ChemometricHierarchicalResult#

Properties#

assignments#

assignments: number[];

Cluster index per sample, length n_samples; empty when the tree was not cut.

copheneticCorrelation#

copheneticCorrelation: number;

Agreement between the tree and the original distances; below ~0.7 the tree is a poor summary of them.

cutHeight#

cutHeight: number;

dendrogram#

dendrogram: ChemometricDendrogram | undefined;

linkage#

linkage: ChemometricLinkage;

metric#

metric: ChemometricDistanceMetric;

nClusters#

nClusters: number;

ChemometricKMeansResult#

Properties#

assignments#

assignments: number[];

inertia#

inertia: number;

k#

k: number;

metric#

metric: ChemometricDistanceMetric;

silhouette#

silhouette: number;

Mean silhouette width, -1..1; NaN is sent as 0 with valid_silhouette false.

silhouettePerSample#

silhouettePerSample: number[];

validSilhouette#

validSilhouette: boolean;

ChemometricMatrixSpec#

Every preprocessing decision behind a matrix. These change which components appear at all, so they are echoed back with each result rather than assumed.

Properties#

binWidthPpm#

binWidthPpm: number;

exclusions#

exclusions: ChemometricExclusion[];

normalisation#

normalisation: ChemometricNormalisation;

ppmMax#

ppmMax: number;

ppmMin#

ppmMin: number;

Analysed range; when both are 0 the overlap of all input spectra is used.

referenceHighPpm#

referenceHighPpm: number;

referenceLowPpm#

referenceLowPpm: number;

Required by CHEMOMETRIC_NORMALISATION_REFERENCE_REGION, ignored otherwise.

scaling#

scaling: ChemometricScaling;

ChemometricMatrixSummary#

The built matrix, without the bulk intensities: those stay on the backend and only the derived results are shipped.

Properties#

excludedBins#

excludedBins: number;

nSamples#

nSamples: number;

nVariables#

nVariables: number;

ppm#

ppm: number[];

Bin centres, ppm, length n_variables, descending.

samples#

samples: ChemometricSample[];

spec#

spec: ChemometricMatrixSpec | undefined;

What was actually applied, which may differ from what was requested.


ChemometricPcaOptions#

Properties#

nComponents#

nComponents: number;

ChemometricPcaResult#

Properties#

centred#

centred: boolean;

False when the matrix was not mean-centred, which changes how PC1 reads.

components#

components: ChemometricComponent[];

hotellingT2#

hotellingT2: number[];

Per-sample diagnostics, length n_samples.

nComponents#

nComponents: number;

qResiduals#

qResiduals: number[];

scores#

scores: number[];

Row-major [n_samples][n_components] sample coordinates.

t2Limit95#

t2Limit95: number;

ChemometricSample#

One row of the matrix, identified so the frontend can label and colour it.

Properties#

attributes#

attributes: {
[key: string]: string;
};

Sample metadata (group, class, batch) available for colouring score plots.

Index Signature#
[key: string]: string

label#

label: string;

normalisationFactor#

normalisationFactor: number;

Divisor the normalisation applied to this row.

project#

project: string;

scanId#

scanId: string;

ChemometricStocsyOptions#

Properties#

alpha#

alpha: number;

Two-sided significance level; 0 means the backend default of 0.05.

driverPpm#

driverPpm: number;

ChemometricStocsyResult#

Height is covariance, colour is |r|. Plotting correlation as height instead produces a flat band of near-1 noise and is how this figure gets misread.

Properties#

alpha#

alpha: number;

correlation#

correlation: number[];

Pearson r against the driver, length n_variables; this is the colour.

covariance#

covariance: number[];

Covariance with the driver, length n_variables; this is the trace height.

driverIndex#

driverIndex: number;

driverPpm#

driverPpm: number;

Bin centre actually used, which is the bin nearest the request.

nSamples#

nSamples: number;

requestedPpm#

requestedPpm: number;

rThreshold#

rThreshold: number;

Smallest |r| significant at the requested alpha for this sample count.

significant#

significant: boolean[];

True where |r| clears r_threshold, length n_variables.


CodeSequence#

Properties#

src#

src: string;

ComplexAmplitude#

Properties#

imaginary#

imaginary: number;

real#

real: number;

ComplexPhaseOutput#

Wrapper to hold either signal or spectrum

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

ComponentVerification#

Properties#

atoms#

atoms: AtomVerification[];

componentIndex#

componentIndex: number;

Index into the sample's components, or into the request's structures when it named any.

conflicts#

conflicts: VerificationConflict[];

name#

name: string;

reason#

reason: string;

reasonArgs#

reasonArgs: {
[key: string]: string;
};
Index Signature#
[key: string]: string

score#

score: number;

Calibrated on held-out correct-vs-isomer pairs: the probability the structure is right.

smiles#

smiles: string;

verdict#

verdict: VerificationVerdict;

ComputeQNMRResponse#

Properties#

error#

error: string;

result#

result: QNMRResult | undefined;

success#

success: boolean;

systemSuitability#

systemSuitability: QNMRSystemSuitability | undefined;

Travels with the result so a caller never shows a number without its caveats.


Concentration#

Properties#

unit#

unit: ConcentrationUnit;

value#

value: number;

Condition#

Conditional branching — routes execution to true or false path

Properties#

expression?#

optional expression?: string;

For EXPRESSION type: expression string to evaluate

negate#

negate: boolean;

Invert the condition result

type#

type: ConditionType;

ConnectDevice#

Connect to a device before running sequences

Properties#

deviceType#

deviceType: string;

Device type (e.g., "nmr_spectrometer", "nmr_magnet")

fakeMode#

fakeMode: boolean;

Whether to enable fake mode

params#

params: 
  | {
[key: string]: any;
}
  | undefined;

Connection parameters (device-specific)

provider#

provider: string;

Device provider (e.g., "core", "spintrack")


CovarianceSettings#

Properties#

enabled?#

optional enabled?: boolean;

Unset means false. A derived correlation matrix, not a measured spectrum: keep it a separate trace, never write it back, never integrate or quantify from it.

magnitude?#

optional magnitude?: boolean;

As DiagonalSymmetrizationSettings.magnitude.

mode?#

optional mode?: CovarianceSettings_CovarianceMode;

Unset behaves as COVARIANCE_MODE_DIRECT.

squareRoot?#

optional squareRoot?: boolean;

Matrix square root, restoring intensities to the parent's scale. Unset: true.


CrossPeakAssignment#

Assignment of one observed 2D cross-peak to a PAIR of molecular atoms. The 1D PeakAssignment names one atom; every field here is one of its fields twice.

Atom indices address the same graph PeakAssignment does -- the implicit-hydrogen molecule, where a proton is named by the heavy atom bearing it.

Properties#

bondDistance#

bondDistance: number;

Bonds from the proton to the partner nucleus: 1 HSQC, 2-3 HMBC, 3 COSY, 0 on a homonuclear diagonal peak, -1 where the evidence is through space.

confidence?#

optional confidence?: number;

0.0-1.0. Absent for a manual assignment, exactly as on PeakAssignment.

distanceAngstrom?#

optional distanceAngstrom?: number;

Shortest H...H distance over the conformer ensemble, angstroms. NOESY and ROESY only, and absent when the geometry could not be embedded.

editId?#

optional editId?: string;

The EDIT_KIND_ASSIGN entry this came from; that entry is the durable copy.

f1AtomIndex#

f1AtomIndex: number;

Indirect (F1) axis: the heteronucleus for HSQC/HMBC/HETCOR, or the partner proton's heavy atom for COSY/TOCSY/NOESY/ROESY.

f1AtomSymbol#

f1AtomSymbol: string;

f1ParentAtomIndex?#

optional f1ParentAtomIndex?: number;

f2AtomIndex#

f2AtomIndex: number;

Direct (F2) axis, always 1H here: the heavy atom bearing the observed proton, with f2_parent_atom_index repeating it.

f2AtomSymbol#

f2AtomSymbol: string;

f2ParentAtomIndex?#

optional f2ParentAtomIndex?: number;

manual#

manual: boolean;

Set when a user made or corrected this by hand, which must win over the automatic pass on every later run.

observedF1Ppm#

observedF1Ppm: number;

observedF2Ppm#

observedF2Ppm: number;

peakId#

peakId: string;

PeakInfo2D.peak_id: the identity and not the coordinates, because two crosspeaks closer together than the client's rounding are otherwise equal.

predictedF1Ppm#

predictedF1Ppm: number;

predictedF2Ppm#

predictedF2Ppm: number;

rule#

rule: string;

The evidence rule that admitted this pair, e.g. "hsqc_1_bond", "hmbc_3_bond", "noe_through_space". For display and for support.

shiftErrorF1Ppm?#

optional shiftErrorF1Ppm?: number;

shiftErrorF2Ppm?#

optional shiftErrorF2Ppm?: number;

CrossPeakAssignmentConflict#

A call the engine refuses to make silently.

Properties#

detail#

detail: string;

kind#

kind: CrossPeakAssignmentConflict_Kind;

peakIds#

peakIds: string[];

CrossPeakAssignments#

Every cross-peak assignment for one scan, and what was NOT explained.

Per SCAN rather than per sample, unlike NucleusAssignments, because a crosspeak identity is a position in one scan's peak list.

Properties#

assignments#

assignments: CrossPeakAssignment[];

conflicts#

conflicts: CrossPeakAssignmentConflict[];

diagnostics#

diagnostics: {
[key: string]: number;
};
Index Signature#
[key: string]: number

experimentType#

experimentType: ExperimentType;

globalScore?#

optional globalScore?: number;

Fit of the whole peak list to this structure, 0.0-1.0. Low is what a run on the WRONG molecule looks like, however healthy the confidences seem.

scanId#

scanId: string;

smiles#

smiles: string;

Mirrored so a report can be redrawn without resolving the compound again.

timestampUnix#

timestampUnix: number;

unassignedAtomIndices#

unassignedAtomIndices: number[];

Atoms the experiment should have shown and nothing was assigned to.

unassignedPeakIds#

unassignedPeakIds: string[];

Crosspeaks no atom pair explains: solvent, impurity, t1 noise, or a wrong structure. Reported, never quietly dropped.


CustomSolvent#

Custom solvent specification (user-defined)

Properties#

name#

name: string;

nucleus#

nucleus: Nucleus;

referencePpm#

referencePpm: number;

Device#

Generic device with capabilities

Properties#

capabilities#

capabilities: string[];

connectionParams#

connectionParams: 
  | {
[key: string]: any;
}
  | undefined;

Last used connection params (saved in project)

deviceType#

deviceType: string;

displayName#

displayName: string;

provider#

provider: string;

serial#

serial: string;

settings#

settings: 
  | {
[key: string]: any;
}
  | undefined;

supportedOps#

supportedOps: string[];

Operation IDs supported by this device


DeviceBranch#

A single device branch — connects to a device and runs steps

Properties#

deviceType#

deviceType: string;

Device type (e.g., "nmr_relaxometer", "gateway_proxy")

displayName#

displayName: string;

Display name for UI/logging

params#

params: 
  | {
[key: string]: any;
}
  | undefined;

Connection parameters (device-specific, includes gatewayName for remote)

provider#

provider: string;

Device provider (e.g., "core", "spintrack", "gateway")

stepIds#

stepIds: string[];

IDs of steps in this branch (executed sequentially within the branch)


DiagonalSymmetrizationSettings#

Properties#

enabled?#

optional enabled?: boolean;

Unset means false: this discards real asymmetry and is a display convenience, not a correction. Refuse a plane whose axes record different nuclei, loudly.

magnitude?#

optional magnitude?: boolean;

Work on magnitudes rather than the signed real part. Unset follows the plane's F1 acquisition mode: magnitude when not phase sensitive, signed real otherwise.

method?#

optional method?: DiagonalSymmetrizationSettings_SymmetrizationMethod;

Unset behaves as SYMMETRIZATION_METHOD_MINIMUM.


DiffusionData#

PFG diffusion (DOSY) acquisition parameters. delta/Delta/gamma are kept because the b-values written onto the indirect axis cannot be recomputed without them.

Properties#

bigDeltaS#

bigDeltaS: number;

Diffusion time Delta, seconds

bValues#

bValues: number[];

Stejskal-Tanner diffusion weighting per increment, s/m^2

deltaS#

deltaS: number;

Gradient pulse duration delta, seconds

experimentType#

experimentType: string;

Experiment type: "DOSY", "STE", "LED", ...

gammaRadST#

gammaRadST: number;

Gyromagnetic ratio used for the b-value calculation, rad/s/T

gradientStrengths#

gradientStrengths: number[];

Raw gradient amplitudes as acquired, G/cm

solvent#

solvent: string;

Solvent name as recorded, for the viscosity lookup.

temperatureK#

temperatureK: number;

Sample temperature, Kelvin; 0 when the acquisition recorded none.


DisplaySettings#

Display settings for spectroscopy data visualization

Properties#

autoConvertToPpm#

autoConvertToPpm: boolean;

Whether to automatically convert to PPM when reference frequency is available

frequencyDisplayUnit#

frequencyDisplayUnit: FrequencyUnit;

Preferred unit for frequency axis display

peakDetection?#

optional peakDetection?: PeakDetectionSettings;

Peak detection and analysis settings

peakDetection2d?#

optional peakDetection2d?: PeakDetectionSettings;

2D panel settings, kept in Hz; only min_height_ratio, min_distance_hz and adaptive apply.

referenceFrequencyHz?#

optional referenceFrequencyHz?: number;

Reference frequency in Hz for PPM calculations If not set, uses the spectrum's reference_frequency_hz


Distance#

Properties#

unit#

unit: LinearUnit;

value#

value: number;

Duration#

Properties#

duration#

duration: number;

unit#

unit: TimeUnit;

Enhancement2DSettings#

Frequency-domain 2D stages that change what the user is looking at rather than correcting it. Every one is off unless enabled; never turn one on from a heuristic.

Properties#

covariance#

covariance: CovarianceSettings | undefined;

diagonalSymmetrization#

diagonalSymmetrization: 
  | DiagonalSymmetrizationSettings
  | undefined;

jresTilt#

jresTilt: JresTiltSettings | undefined;

t1NoiseSuppression#

t1NoiseSuppression: T1NoiseSuppressionSettings | undefined;

ExportResults#

Properties#

failOnError#

failOnError: boolean;

Off: failures are logged and the run goes on.

fileName#

fileName: string;

Stem with {schedule}, {sample}, {scan}, {date}, {time}, {execution}; empty uses the default.

folder#

folder: string;

Created when missing.

includePeakCsv#

includePeakCsv: boolean;

includeReport#

includeReport: boolean;

reportTemplateId#

reportTemplateId: string;

reportTemplateName#

reportTemplateName: string;

Resolved by id first, then by name; both empty uses the project's current template.

webhookCredentialId#

webhookCredentialId: string;

Secret headers live in the profile's encrypted credential store, never in the schedule.

webhookHeaders#

webhookHeaders: {
[key: string]: string;
};

Non-secret only: these are stored in the schedule file.

Index Signature#
[key: string]: string

webhookTimeoutSeconds#

webhookTimeoutSeconds: number;

webhookUrl#

webhookUrl: string;

Empty sends nothing.


FFTSettings#

Properties#

~~applyWindow~~#

applyWindow: boolean;
Deprecated#
  • has no effect; apodization is configured in ApodizationSettings.
Deprecated#

method?#

optional method?: FFTSettings_FFTMethod;

FFT computation method.

Carries explicit presence: REAL shares its number with the proto3 default, so "the user chose real" is distinguishable from "never set" only through the optional marker. Consumers must test method is None, not the truthiness of the value or of this message.


Float64Parts#

Exact storage for raw amplitudes that are neither integers nor float32 values.

Properties#

imag#

imag: number[];

real#

real: number[];

Frequency#

Properties#

frequency#

frequency: number;

unit#

unit: FrequencyUnit;

GenerateReport#

Properties#

autoSave?#

optional autoSave?: boolean;

format?#

optional format?: string;

pdf, html, docx

templateName?#

optional templateName?: string;

Generator#

Properties#

fidConfig?#

optional fidConfig?: GeneratorFidConfig;

formulaConfig?#

optional formulaConfig?: GeneratorFormulaConfig;

globalConstants#

globalConstants: {
[key: string]: number;
};
Index Signature#
[key: string]: number

metadata#

metadata: {
[key: string]: string;
};
Index Signature#
[key: string]: string

mode#

mode: GeneratorMode;

noise?#

optional noise?: GeneratorNoiseConfig;

noiseSeed?#

optional noiseSeed?: number;

timeAxis#

timeAxis: GeneratorTimeAxisConfig | undefined;

GeneratorFidComponent#

Properties#

complexAmplitude?#

optional complexAmplitude?: ComplexAmplitude;

decayConstant?#

optional decayConstant?: number;

frequency#

frequency: Frequency | undefined;

phase?#

optional phase?: number;

realAmplitude?#

optional realAmplitude?: number;

GeneratorFidConfig#

Properties#

components#

components: GeneratorFidComponent[];

referenceFrequencyHz?#

optional referenceFrequencyHz?: number;

GeneratorFormulaConfig#

Properties#

constants#

constants: {
[key: string]: number;
};
Index Signature#
[key: string]: number

formula#

formula: string;

GeneratorNoiseConfig#

Properties#

level#

level: number;

parameters#

parameters: {
[key: string]: number;
};
Index Signature#
[key: string]: number

relative#

relative: boolean;

targetSnrDb?#

optional targetSnrDb?: number;

type#

type: GeneratorNoiseType;

GeneratorTimeAxisConfig#

Properties#

duration#

duration: Duration | undefined;

samplingRate#

samplingRate: Frequency | undefined;

GraphSequence#

Properties#

axisMetadata#

axisMetadata: AxisMetadataEntry[];

blocks#

blocks: string;

compileVersion#

compileVersion: number;

Version of the editor's step compiler that wrote steps; 0 = before versioning. A newer compiler can change what an old graph runs, so the editor tells the user once.

experimentType#

experimentType: ExperimentType;

Experiment metadata (set via Start node UI, serialized by sequenceTransformer)

fallbackDeviceType#

fallbackDeviceType: string;

Virtual device type for offline node filtering (fallback when no device connected)

nScans#

nScans: number;

phaseCycle#

phaseCycle: boolean;

steps#

steps: {
[key: string]: any;
}[];

Operations are now serialized BaseOp instances (JSON)

Index Signature#
[key: string]: any

variables#

variables: {
[key: string]: number;
};
Index Signature#
[key: string]: number

GroupDelaySettings#

Properties#

enabled?#

optional enabled?: boolean;

Whether to remove the digital-filter group delay (Bruker GRPDLY / DSPFVS+DECIM). Defaults to true at every consumer. The delay is a known acquisition constant and is applied directly, never searched for.

overridePoints?#

optional overridePoints?: number;

Manual override for the group delay, in FID points (may be fractional). Unset means the value published in the signal metadata by the ingest path is used.


Int32Parts#

Exact storage for vendor integers that fit in int32 (int16/int32 FIDs).

Properties#

imag#

imag: number[];

real#

real: number[];

scale?#

optional scale?: number;

When set, each amplitude is its integer times this factor, in float64 (a file's declared scaling, e.g. JCAMP-DX FACTOR). Unset: the integers are the amplitudes.


Int64Parts#

Exact storage for vendor integers beyond int32 (magnitude below 2^53).

Properties#

imag#

imag: number[];

real#

real: number[];

scale?#

optional scale?: number;

As Int32Parts.scale.


IntegrationRegion#

A named spectral region for quantitative integration. Used in metabolomics workflows to track metabolite concentrations across multiple spectra.

Properties#

color#

color: string;

CSS color string (e.g., "#2196f3"). Empty = auto-assigned.

endPpm#

endPpm: number;

Region end in ppm (F2 for 2D)

endPpmF1?#

optional endPpmF1?: number;

F1 end in ppm (2D only, absent for 1D)

name#

name: string;

Human-readable label (e.g., "CH₂ methyl")

source#

source: string;

"" for a region a user defined; "vendor" for one read from the data file at import (Bruker intrng, Nanalysis $INTEGRALS_MANUAL_REGIONS).

startPpm#

startPpm: number;

Region start in ppm (F2 for 2D)

startPpmF1?#

optional startPpmF1?: number;

F1 start in ppm (2D only, absent for 1D)


Interpretation#

Analyst's reading of the data: what was seen, what it means, what it cannot support. Split into three fields rather than one because a report template typically places them in separate sections.

Properties#

limitations#

limitations: string;

observations#

observations: string;

summary#

summary: string;

JCouplingList#

Properties#

valuesHz#

valuesHz: number[];

JresTiltSettings#

Properties#

emitProjection?#

optional emitProjection?: boolean;

Also emit the skyline projection onto F2 as a 1D trace. Unset means false.

enabled?#

optional enabled?: boolean;

Unset means false. The 45-degree shear is correct only for a J-resolved acquisition and must not be applied to a correlation experiment.

force?#

optional force?: boolean;

Shear on the measured slope even when the alignment fails detection. Unset means false: a plane that is not J-resolved is left alone.

symmetrizeF1?#

optional symmetrizeF1?: boolean;

Symmetrise about F1 = 0 after tilting (conventional JRES practice). Unset means true; read only when enabled is true.


LaboratoryFeature#

Laboratory feature for correlating NMR measurements with reference values. Used in calibration workflows and QC applications.

Properties#

category#

category: string;

Category of the feature (e.g., "Temperature", "Mass", "Concentration", "Chemistry", "Volume")

featureType#

featureType: string;

Specific feature type within the category Examples: "Empirical Temperature", "Total Mass", "Molar Concentration", "Viscosity"

unit#

unit: string;

Unit of measurement (e.g., "°C", "g", "mol/L", "Pa·s")

value#

value: number;

Measured or target value


LoadAsCurrentOutput#

Wraps the carried-over input value (signal or spectrum).

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

LogMessage#

Properties#

key#

key: string;

The i18n key the message was rendered from, and its parameters, so a popup can carry an action.

level#

level: LogLevel;

message#

message: string;

params#

params: {
[key: string]: string;
};
Index Signature#
[key: string]: string

showPopup?#

optional showPopup?: boolean;

time#

time: Date | undefined;

Mass#

Properties#

unit#

unit: MassUnit;

value#

value: number;

MoleculeOverlay#

Persistent placement of the molecule structure overlaid on a scan's plot. Coordinates are fractions of the PLOT AREA (0..1), so the placement is resolution-independent and renders identically on the live plot and in reports.

Properties#

rotationDeg#

rotationDeg: number;

size#

size: number;

overlay box edge length, fraction of plot-area WIDTH

smiles#

smiles: string;

SMILES cached here so the report renderer can draw the molecule without a PubChem round-trip. Source of truth for the molecule remains the sample's compound_formula; this mirrors the resolved value.

visible#

visible: boolean;

manual "show molecule on canvas" toggle

x#

x: number;

overlay box top-left, fraction of plot-area width

y#

y: number;

overlay box top-left, fraction of plot-area height


MultiDevice#

Fan-out execution across multiple devices in parallel. Each branch connects to a different device and runs its steps independently.

Properties#

branches#

branches: DeviceBranch[];

Device branches — executed in parallel via thread pool

fakeMode#

fakeMode: boolean;

Whether to enable fake mode for all devices


NDAxis#

Properties#

coordinates#

coordinates: number[];

Coordinate values along this axis

dimensionType#

dimensionType: DimensionType;

Type of dimension

frequencyUnit?#

optional frequencyUnit?: FrequencyUnit;

label#

label: string;

Human-readable label (e.g., "t1", "t2", "f1", "f2")

nucleus#

nucleus: Nucleus;

Which isotope this axis tracks (UNSPECIFIED for parameter axes)

parameterName#

parameterName: string;

For PARAMETER axes: what parameter (e.g., "nu_cpmg", "tau", "gradient")

parameterUnit#

parameterUnit: string;

For PARAMETER axes whose unit the oneof cannot express (e.g. "G/cm", "s/m²", "K"), with the oneof left unset; empty otherwise.

referenceFrequencyHz?#

optional referenceFrequencyHz?: number;

role#

role: AxisRole;

Physical role of this axis

spatialUnit?#

optional spatialUnit?: LinearUnit;

timeUnit?#

optional timeUnit?: TimeUnit;

NDComplexArray#

Properties#

float64Parts?#

optional float64Parts?: Float64Parts;

imagData#

imagData: number[];

int32Parts?#

optional int32Parts?: Int32Parts;

int64Parts?#

optional int64Parts?: Int64Parts;

realData#

realData: number[];

float32 storage: processed data, raw data that is float32 already, and every array written before exact existed. Empty when exact is set.

shape#

shape: number[];

Shape of the N-dimensional array


NmrAcquisitionParameters#

What an NMR data file records about its acquisition; unset means the file did not record it. Scan count and pulse program name live in AcquisitionMetadata.num_scans and sequence_name.

Properties#

acquiredAt#

acquiredAt: string;

Acquisition start as recorded, ISO 8601, with the UTC offset only when the file gives one.

auditTrail#

auditTrail: string;

Vendor audit trail text (Bruker audita.txt), verbatim.

comment#

comment: string;

decoupledNuclei#

decoupledNuclei: string[];

Decoupled / secondary channel nuclei, channel order.

decouplingProgram#

decouplingProgram: string;

Decoupling program, e.g. Bruker CPDPRG2 "waltz16".

dimensions#

dimensions: NmrDimension[];

dummyScans?#

optional dummyScans?: number;

excitationPowerDb?#

optional excitationPowerDb?: number;

Excitation pulse power level in the vendor's dB convention: Bruker PL1, Varian tpwr.

excitationPowerW?#

optional excitationPowerW?: number;

Excitation pulse power, watts: Bruker PLW1.

excitationPulseUs?#

optional excitationPulseUs?: number;

Excitation pulse width, microseconds: Bruker P1, Varian pw.

fieldStrengthT?#

optional fieldStrengthT?: number;

Magnetic field, tesla, only where the file states it (JCAMP ##.FIELD, JEOL field_strength).

flipAngleDeg?#

optional flipAngleDeg?: number;

importFormatVersion#

importFormatVersion: number;

Data-format version of the source_format importer that read the file; 0 when it was read before versions were stamped. A lower version than the importer's current one means re-import.

instrumentModel#

instrumentModel: string;

Model / console, e.g. "Avance III 500 NMR spectrometer", "Spinsolve 80 Carbon".

instrumentName#

instrumentName: string;

Spectrometer name as configured on site (Bruker INSTRUM, Varian systemname).

instrumentSerial#

instrumentSerial: string;

lockNucleus#

lockNucleus: string;

operator#

operator: string;

parameterLists#

parameterLists: NmrParameterList[];

probe#

probe: string;

processing#

processing: NmrProcessing[];

processingAuditTrail#

processingAuditTrail: string;

Vendor processing audit trail (Bruker pdata auditp.txt), verbatim.

pulseProgramSource#

pulseProgramSource: string;

Full pulse program text as it ran, when the dataset carries it.

receiverGain?#

optional receiverGain?: number;

relaxationDelayS?#

optional relaxationDelayS?: number;

Recycle delay, seconds: Bruker D1, Varian d1.

shiftReference#

shiftReference: string;

Chemical shift reference as the file states it, e.g. JCAMP ##.SHIFT REFERENCE "INTERNAL, TMS, 1, 0.0".

shims#

shims: {
[key: string]: number;
};

Shim currents by coil name, in the vendor's units.

Index Signature#
[key: string]: number

software#

software: string;

Acquisition software and version, e.g. "TopSpin 3.6.2", "VnmrJ 4.2".

solvent#

solvent: string;

Solvent as the file names it; the mapped solvent is on the sample.

sourceFormat#

sourceFormat: string;

Import handler that read the file, e.g. "bruker", "jcamp_dx".

sourceName#

sourceName: string;

Name of the file or experiment folder the scan was read from (never an absolute path).

spinRateHz?#

optional spinRateHz?: number;

temperatureK?#

optional temperatureK?: number;

title#

title: string;

vendor#

vendor: string;

Instrument manufacturer, e.g. "Bruker", "JEOL", "Varian", "Magritek".

vendorParameters#

vendorParameters: {
[key: string]: string;
};

Every scalar parameter the file carries, verbatim and keyed by the vendor's own name.

Index Signature#
[key: string]: string

NmrDimension#

One acquired dimension as the instrument recorded it. Direct dimension first.

Properties#

acquiredPoints?#

optional acquiredPoints?: number;

Points as the vendor counts them; Bruker TD counts real and imaginary separately.

acquisitionTimeS?#

optional acquisitionTimeS?: number;

Direct dimension: acquisition time. Indirect: maximum evolution time. Seconds.

baseFrequencyMhz?#

optional baseFrequencyMhz?: number;

Spectrometer base frequency for this nucleus, MHz: Bruker BF1.

carrierOffsetHz?#

optional carrierOffsetHz?: number;

Carrier offset from the base frequency, Hz: Bruker O1.

carrierPpm?#

optional carrierPpm?: number;

Carrier position, ppm, where the file states it.

nucleus#

nucleus: string;

Mass-number-first label, e.g. "1H", "13C".

observeFrequencyMhz?#

optional observeFrequencyMhz?: number;

Carrier (transmitter) frequency, MHz: Bruker SFO1, Varian sfrq, JEOL x_freq.

quadratureMode#

quadratureMode: string;

Indirect quadrature scheme as recorded: "States-TPPI", "Echo-Antiecho", "QF", ...

spectralWidthHz?#

optional spectralWidthHz?: number;

NmrParameterList#

Per-increment values of an arrayed or pseudo-2D acquisition, in increment order.

Properties#

name#

name: string;

Vendor name of the list: "difflist", "vdlist", "vclist", "tau", ...

unit#

unit: string;

Unit of values: "G/cm", "s", or empty for a dimensionless count.

values#

values: number[];

NmrProcessing#

Processing the vendor software stored with the data, per dimension; not what this app applies.

Properties#

gaussianBroadening?#

optional gaussianBroadening?: number;

leftEdgePpm?#

optional leftEdgePpm?: number;

Chemical shift of the first (leftmost) point, ppm: Bruker OFFSET.

lineBroadeningHz?#

optional lineBroadeningHz?: number;

phase0Deg?#

optional phase0Deg?: number;

phase1Deg?#

optional phase1Deg?: number;

referenceFrequencyMhz?#

optional referenceFrequencyMhz?: number;

Spectrum reference frequency, MHz: Bruker SF.

referenceShiftHz?#

optional referenceShiftHz?: number;

Shift applied by referencing, Hz: Bruker SR.

sineBellShift?#

optional sineBellShift?: number;

size?#

optional size?: number;

Transform size: Bruker SI, Varian fn.

windowFunction#

windowFunction: string;

Window as the vendor names it: "EM", "GM", "SINE", "QSINE", "none", ...


NMRSample#

Properties#

peakAssignments#

peakAssignments: NucleusAssignments[];

Peak-to-atom assignments computed from shift prediction Multiple entries for different nuclei (1H, 13C, etc.)

pluginData#

pluginData: {
[key: string]: Uint8Array<ArrayBufferLike>;
};

Plugin-managed sample-specific data (e.g., T1/T2 measurements for this sample) Plugins store msgpack-serialized data keyed by plugin ID Example: plugin_data["nmr_tuning"] = msgpack bytes of NmrSampleData

Index Signature#
[key: string]: Uint8Array<ArrayBufferLike>

shiftReference?#

optional shiftReference?: ShiftReference;

solventRef#

solventRef: SolventReference | undefined;

Structured solvent reference (predefined or custom with PPM)


Notify#

Send a notification to the user during schedule execution

Properties#

message#

message: string;

Notification message text

playSound#

playSound: boolean;

Whether to play an audible beep

severity#

severity: string;

Severity level: "info", "success", "warning", "error"


NucleusAssignments#

Collection of peak assignments for a specific nucleus

Properties#

assignments#

assignments: PeakAssignment[];

Individual peak-to-atom assignments

nucleus#

nucleus: string;

Nucleus type: "1H" or "13C"

timestampUnix#

timestampUnix: number;

Timestamp of when assignment was computed

tolerancePpm#

tolerancePpm: number;

Tolerance used for assignment (ppm)


OpAlign#

Properties#

in?#

optional in?: OpAlignInputs;

out?#

optional out?: OpAlignOutputs;

OpAlignInputs#

Properties#

method#

method: AlignmentMethod;

Alignment method

referencePpm#

referencePpm: number;

Target PPM for reference peak alignment (used with ALIGN_REFERENCE)

searchWindowPpm#

searchWindowPpm: number;

PPM window around target to search for peak (used with ALIGN_REFERENCE)

spectrum#

spectrum: SpectrumND | undefined;

OpAlignOutputs#

Properties#

spectrum#

spectrum: SpectrumND | undefined;

OpAxisReduce#

Properties#

in?#

optional in?: OpAxisReduceInputs;

out?#

optional out?: OpAxisReduceOutputs;

OpAxisReduceInputs#

Properties#

axis#

axis: AxisReduceAxis;

operation#

operation: AxisReduceOperation;

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

OpAxisReduceOutputs#

Properties#

signal?#

optional signal?: SignalND;

Output is 1D (same type as input)

spectrum?#

optional spectrum?: SpectrumND;

OpBaselineRemove#

Properties#

in?#

optional in?: OpBaselineRemoveInputs;

out?#

optional out?: OpBaselineRemoveOutputs;

OpBaselineRemoveInputs#

Properties#

asymmetry?#

optional asymmetry?: number;

Asymmetry p for the ALS family.

axis#

axis: BaselineRemoveAxis;

edgeFraction?#

optional edgeFraction?: number;

Edge window as a fraction of the spectrum (0-0.5).

iterations?#

optional iterations?: number;

Maximum solver iterations for the ALS family.

maskSigma?#

optional maskSigma?: number;

Signal-mask threshold in robust noise sigma.

method#

method: BaselineCorrectionSettings_BaselineMethod;

The baseline method list is shared with project.BaselineCorrectionSettings - there is exactly one such list.

polynomialOrder?#

optional polynomialOrder?: number;

Polynomial order for POLYNOMIAL / MASKED_POLY.

smoothnessDecades?#

optional smoothnessDecades?: number;

Whittaker smoothness in decades of lambda (7-12, centre 10); length-normalised by the consumer.

spectrum#

spectrum: SpectrumND | undefined;

OpBaselineRemoveOutputs#

Properties#

spectrum#

spectrum: SpectrumND | undefined;

OpComplexPhase#

Properties#

in?#

optional in?: OpComplexPhaseInputs;

out?#

optional out?: OpComplexPhaseOutputs;

OpComplexPhaseInputs#

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

unit#

unit: PhaseUnit;

Phase unit (moved from attrs)

unwrap#

unwrap: boolean;

Whether to unwrap the phase (remove 2π discontinuities)


OpComplexPhaseOutputs#

Properties#

phase#

phase: ComplexPhaseOutput | undefined;

OpCurrentSignal#

Properties#

in?#

optional in?: OpCurrentSignalInputs;

out?#

optional out?: OpCurrentSignalOutputs;

OpCurrentSignalInputs#


OpCurrentSignalOutputs#

Properties#

signal#

signal: SignalND | undefined;

OpCurrentSpectrum#

Properties#

in?#

optional in?: OpCurrentSpectrumInputs;

out?#

optional out?: OpCurrentSpectrumOutputs;

OpCurrentSpectrumInputs#


OpCurrentSpectrumOutputs#

Properties#

spectrum#

spectrum: SpectrumND | undefined;

OpenProject#

Properties#

path#

path: string;

OpFFT#

Properties#

in?#

optional in?: OpFFTInputs;

out?#

optional out?: OpFFTOutputs;

OpFFTInputs#

Properties#

method#

method: FFTMethod;

FFT method (moved from attrs)

signal#

signal: SignalND | undefined;

FFT works with 1D or 2D signals

window#

window: WindowType;

Window/apodization settings (moved from attrs)

windowAdaptiveLb?#

optional windowAdaptiveLb?: boolean;

Whether the exponential line broadening is measured from the signal instead of being read from window_lb. Unset means false. Only the exponential window is affected; when the signal carries no line whose width can be measured the consumer falls back to window_lb.

windowAlpha?#

optional windowAlpha?: number;

Alpha/beta for kaiser/tukey, default 5.0

windowAxis#

windowAxis: WindowAxis;

windowLb?#

optional windowLb?: number;

Window parameters (moved from attrs)

windowSigma?#

optional windowSigma?: number;

Sigma for gaussian (0-0.5), default 0.3


OpFFTOutputs#

Properties#

spectrum#

spectrum: SpectrumND | undefined;

FFT produces spectrum matching input dimensionality


OpInterpolate#

Properties#

in?#

optional in?: OpInterpolateInputs;

out?#

optional out?: OpInterpolateOutputs;

OpInterpolateInputs#

Properties#

method#

method: InterpolateMethod;

Interpolation method

signal?#

optional signal?: SignalND;

sizeF1#

sizeF1: number;

Target size for interpolation

sizeF2#

sizeF2: number;

spectrum?#

optional spectrum?: SpectrumND;

OpInterpolateOutputs#

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

OpLoadAsCurrent#

Properties#

in?#

optional in?: OpLoadAsCurrentInputs;

out?#

optional out?: OpLoadAsCurrentOutputs;

OpLoadAsCurrentInputs#

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

OpLoadAsCurrentOutputs#

Properties#

result#

result: LoadAsCurrentOutput | undefined;

OpMath#

Properties#

in?#

optional in?: OpMathInputs;

out?#

optional out?: OpMathOutputs;

OpMathInputs#

Properties#

operation#

operation: MathOperation;

Operation to perform

scalar#

scalar: number;

Scalar value for scalar operations (pow exponent, etc.)

scalarB?#

optional scalarB?: number;

signalA?#

optional signalA?: SignalND;

signalB?#

optional signalB?: SignalND;

spectrumA?#

optional spectrumA?: SpectrumND;

spectrumB?#

optional spectrumB?: SpectrumND;

OpMathOutputs#

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

OpNumber#

Properties#

in?#

optional in?: OpNumberInputs;

out?#

optional out?: OpNumberOutputs;

OpNumberInputs#

Properties#

value#

value: number;

OpNumberOutputs#

Properties#

value#

value: number;

OpPhaseAutoCorr#

Properties#

in?#

optional in?: OpPhaseAutoCorrInputs;

out?#

optional out?: OpPhaseAutoCorrOutputs;

OpPhaseAutoCorrInputs#

Properties#

axis#

axis: PhaseAutoCorrAxis;

method#

method: PhaseAutoCorrMethod;

Moved from attrs

order?#

optional order?: PhaseCorrectionSettings_PhaseOrder;

Highest polynomial order the estimator may fit. Shares the enum with project.PhaseCorrectionSettings so there is one order vocabulary. PHASE_ORDER_AUTO fits p2 only when it is justified, so it legitimately returns p2 = 0 on spectra whose phase is linear.

Explicitly optional: PHASE_ORDER_AUTO is the zero value, so presence is the only way to distinguish "the user chose AUTO" from "no choice was made". Unset defers to the NUCLEI_PHASE_ORDER environment variable and then to the first-order default; consumers must test for absence rather than truthiness.

spectrum#

spectrum: SpectrumND | undefined;

OpPhaseAutoCorrOutputs#

Properties#

spectrum#

spectrum: SpectrumND | undefined;

OpPhaseCorr#

Properties#

in?#

optional in?: OpPhaseCorrInputs;

out?#

optional out?: OpPhaseCorrOutputs;

OpPhaseCorrInputs#

Properties#

axis#

axis: PhaseCorrAxis;

method#

method: PhaseCorrMethod;

Moved from attrs

p0#

p0: number;

Phase polynomial in degrees, applied as corrected[k] = data[k] * exp(1j(p0 + p1u + p2*u**2)) with u = k/n. p2 = 0 reduces exactly to first-order correction.

p1#

p1: number;

p2#

p2: number;

spectrum#

spectrum: SpectrumND | undefined;

OpPhaseCorrOutputs#

Properties#

spectrum#

spectrum: SpectrumND | undefined;

OpPlot#

Properties#

in?#

optional in?: OpPlotInputs;

out?#

optional out?: OpPlotOutputs;

OpPlotInputs#

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

OpPlotOutputs#


OpPlugin#

Plugin-provided postprocessing operation Allows plugins to define custom postprocessing nodes with arbitrary inputs/outputs

Properties#

attributesJson#

attributesJson: string;

Arbitrary attributes in JSON format Allows plugins to define their own parameter structure

inputsJson#

inputsJson: string;

Input data in JSON format Populated at runtime with actual data from connections

nodeType#

nodeType: string;

Node type within the plugin (e.g., "custom_filter")

outputsJson#

outputsJson: string;

Output data in JSON format Returned by the plugin operation

pluginId#

pluginId: string;

Plugin identifier (e.g., "my-plugin")


OpRawSignal#

Properties#

in?#

optional in?: OpRawSignalInputs;

out?#

optional out?: OpRawSignalOutputs;

OpRawSignalInputs#


OpRawSignalOutputs#

Properties#

signal#

signal: SignalND | undefined;

Raw signal can be 1D or 2D depending on acquisition mode


OpResample#

Properties#

in?#

optional in?: OpResampleInputs;

out?#

optional out?: OpResampleOutputs;

OpResampleInputs#

Properties#

endF1#

endF1: number;

endF2#

endF2: number;

method#

method: InterpolateMethod;

Interpolation method (reuse from interpolate.proto)

pointsF1#

pointsF1: number;

pointsF2#

pointsF2: number;

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

startF1#

startF1: number;

F1 axis resampling parameters

startF2#

startF2: number;

F2 axis resampling parameters


OpResampleOutputs#

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

OpSlice#

Properties#

in?#

optional in?: OpSliceInputs;

out?#

optional out?: OpSliceOutputs;

OpSliceInputs#

Properties#

axis#

axis: SliceAxis;

mode#

mode: SlicePositionMode;

position#

position: number;

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

OpSliceOutputs#

Properties#

signal?#

optional signal?: SignalND;

Output is 1D (same type as input)

spectrum?#

optional spectrum?: SpectrumND;

OpSplitComplex#

Properties#

in?#

optional in?: OpSplitComplexInputs;

out?#

optional out?: OpSplitComplexOutputs;

OpSplitComplexInputs#

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

OpSplitComplexOutputs#

Properties#

abs#

abs: SplitComplexOutput | undefined;

im#

im: SplitComplexOutput | undefined;

re#

re: SplitComplexOutput | undefined;

Outputs use names matching frontend: re, im, abs Each can hold either signal or spectrum depending on input type


OpSuppress#

Properties#

in?#

optional in?: OpSuppressInputs;

out?#

optional out?: OpSuppressOutputs;

OpSuppressInputs#

Properties#

center#

center: number;

Center of the region to suppress (in spectrum frequency units)

method#

method: SuppressionMethod;

Suppression method

spectrum#

spectrum: SpectrumND | undefined;

width#

width: number;

Full width of the region to suppress (in spectrum frequency units)


OpSuppressOutputs#

Properties#

spectrum#

spectrum: SpectrumND | undefined;

OpSymmetrize#

Properties#

in?#

optional in?: OpSymmetrizeInputs;

out?#

optional out?: OpSymmetrizeOutputs;

OpSymmetrizeInputs#

Properties#

spectrum#

spectrum: SpectrumND | undefined;

OpSymmetrizeOutputs#

Properties#

spectrum#

spectrum: SpectrumND | undefined;

OpZeroFill#

Properties#

in?#

optional in?: OpZeroFillInputs;

out?#

optional out?: OpZeroFillOutputs;

OpZeroFillInputs#

Properties#

axis#

axis: ZeroFillAxis;

Axis selection for 2D signals

factor#

factor: number;

Zero-fill factor (multiplier for signal length)

factorT1#

factorT1: number;

For 2D signals, separate factors for each dimension

factorT2#

factorT2: number;

signal#

signal: SignalND | undefined;

toNearest#

toNearest: boolean;

Round to nearest power of 2


OpZeroFillOutputs#

Properties#

signal#

signal: SignalND | undefined;

Page#

Display state only: artwork, peaks and processing stay on the scan.

Properties#

id#

id: string;

independentAxes#

independentAxes: boolean;

layout#

layout: PageLayout;

normalize#

normalize: boolean;

Display scaling only; stored intensities are never changed.

range?#

optional range?: PageRange;

The read-only view's last zoom; unset autoscales. The live plot keeps its own.

scans#

scans: PageScan[];

stackSpacing#

stackSpacing: number;

Stacked lane spacing in reference-peak heights; 0 means 1.

title#

title: string;

Empty derives the title from the scan names.

view#

view: PageTraceView;

PageRange#

Properties#

xEnd#

xEnd: number;

xStart#

xStart: number;

yEnd?#

optional yEnd?: number;

yStart?#

optional yStart?: number;

Pages#

Analysis.scan_set is derived from these and kept in step by the backend.

Properties#

activePageId#

activePageId: string;

Empty while the main scan is on no page.

items#

items: Page[];

PageScan#

Properties#

color#

color: string;

Assigned from the page palette when the scan joins a page.

hidden#

hidden: boolean;

layers#

layers: PageScanLayers | undefined;

scan#

scan: ScanSetEntry | undefined;

PageScanLayers#

What a non-main scan draws besides its line; the main scan follows the plot's own toggles.

Properties#

drawingsHidden#

drawingsHidden: boolean;

Negative so the proto3 default shows drawings.

integrals#

integrals: boolean;

multiplets#

multiplets: boolean;

peaks#

peaks: boolean;

PeakAddPayload#

Properties#

peak#

peak: PeakInfo | undefined;

Template for the new line. Its position comes from the anchor.

peak2d#

peak2d: PeakInfo2D | undefined;

2D form, when the anchor carries an f1 axis.


PeakAnchor#

Where an edit points, in Hz.

Hz and NOT ppm, deliberately: a reference calibration moves every ppm value on the spectrum, and anchoring there would orphan every edit the first time a user set their TMS peak. The ppm fields are informational.

Properties#

f1Hz?#

optional f1Hz?: number;

Indirect-axis position. Its PRESENCE is what makes this anchor 2D, and is how one log serves both 1D and 2D. A 2D anchor never resolves onto a 1D peak, nor the reverse.

f1Ppm?#

optional f1Ppm?: number;

hz#

hz: number;

Position. For a 2D anchor this is the direct (F2) axis.

peakId#

peakId: string;

The peak this was made against, when there was one. A hint that makes an unmoved peak resolve exactly; never the anchor itself, because peak ids do not survive a re-detection.

ppm?#

optional ppm?: number;

Informational only. Never resolved against.


PeakAnnotatePayload#

Properties#

text#

text: string;

PeakAssignment#

Assignment of an observed NMR peak to a molecular atom

Properties#

atomIndex#

atomIndex: number;

Atom index in the molecular structure

atomSymbol#

atomSymbol: string;

Chemical symbol of the atom (H, C, etc.)

confidence?#

optional confidence?: number;

Confidence score for auto-assigned peaks (0.0-1.0); absent for manual assignments

lineNumber?#

optional lineNumber?: number;

The DetectedPeak.line_number this assignment came from, echoed back so the caller can match it to its peak exactly. Absent for manual assignments and for backends that predate the field.

parentAtomIndex?#

optional parentAtomIndex?: number;

For hydrogen atoms: index of the heavy atom this H is bonded to (for visualization)

peakShiftPpm#

peakShiftPpm: number;

Observed peak chemical shift (ppm)

predictedShiftPpm#

predictedShiftPpm: number;

Predicted chemical shift from DFT model (ppm)

shiftErrorPpm?#

optional shiftErrorPpm?: number;

Assignment error: |observed - predicted| (ppm)


PeakAssignPayload#

Bind the anchored crosspeak to a pair of atoms of the known structure. Both indices at -1 clears it, so a correction and a retraction replay in order. With nucleus set it binds the table row (nucleus, f2_atom_index) instead; the row's latest active entry is its whole value.

Properties#

autoConfidence?#

optional autoConfidence?: number;

Set on entries the automatic pass wrote: its confidence, 0-1.

f1AtomIndex#

f1AtomIndex: number;

f2AtomIndex#

f2AtomIndex: number;

Indices into the implicit-hydrogen graph of smiles; a replay must refuse a different molecule rather than mislabel against these numbers.

integral?#

optional integral?: number;

jCouplings?#

optional jCouplings?: JCouplingList;

multiplicity?#

optional multiplicity?: string;

Typed values, shown instead of the measured ones.

nucleus#

nucleus: string;

The row's nucleus, e.g. "1H" or "13C". Empty on a crosspeak binding.

smiles#

smiles: string;

typedPpm?#

optional typedPpm?: number;

A typed shift: bound to the signal it falls on, else kept with no peak.

unassign#

unassign: boolean;

Empties the row; anchor and values are ignored.


PeakDetectionSettings#

Properties#

adaptive#

adaptive: boolean;

Use adaptive noise-based thresholds instead of fixed ratios. When true, min_height_ratio and prominence are ignored; uses SNR-based detection. This auto-detects noise level and finds all peaks significantly above noise.

inferMissingLines#

inferMissingLines: boolean;

Let multiplet analysis synthesise a line the detector did not pick, when the observed intensities are better explained by a pattern with one line unobserved AND the trace carries the predicted intensity at that position. Off unless asked for: an inferred line is a conclusion, not a measurement. Synthesised lines are marked PEAK_ORIGIN_INFERRED and carry no area, so integrals and peak counts are unaffected either way.

integrationWidthHz#

integrationWidthHz: number;

Integration width on each side of peak (Hz). 0 = auto-calculate

learnedThreshold?#

optional learnedThreshold?: number;

Operating point of the learned detector, 0-1. Lower favours recall, higher favours precision. Unset uses the model's own default. Ignored unless method selects the learned detector.

method?#

optional method?: PeakPickingMethod;

Which detector auto mode runs. Only meaningful when adaptive is true; the manual path always uses the fixed ratios above.

Carries explicit presence: PEAK_PICKING_METHOD_LEARNED shares its number with the proto3 default, so "the user chose learned" is distinguishable from "never set" only through the optional marker. Consumers must test method is None, not the truthiness of the value.

minDistanceHz#

minDistanceHz: number;

Minimum distance between peaks in Hz

minHeightRatio#

minHeightRatio: number;

Minimum peak height as ratio of max height (0.0-1.0)

multipletSearchWidthHz#

multipletSearchWidthHz: number;

Search width for multiplet analysis (Hz)

normalizeToPeak#

normalizeToPeak: number;

Index of peak to normalize integrals to (1.00). -1 = no normalization

prominence#

prominence: number;

Minimum prominence (0 = disabled)

skipMultipletAnalysis#

skipMultipletAnalysis: boolean;

Skip multiplet pattern recognition (faster, returns "m" for all peaks)


PeakEdit#

One decision, as it is stored forever.

Properties#

add?#

optional add?: PeakAddPayload;

anchors#

anchors: PeakAnchor[];

Where it points. GROUP carries one per member; most kinds carry one; SET_REFERENCE carries none.

annotate?#

optional annotate?: PeakAnnotatePayload;

assign?#

optional assign?: PeakAssignPayload;

author#

author: string;

Profile name of whoever made it.

batchId#

batchId: string;

One user gesture is one batch, and one batch is one undo entry.

createdAt#

createdAt: string;

RFC 3339, UTC.

disabled#

disabled: boolean;

Soft off-switch. Reverting sets this and appends a compensating entry; nothing is ever erased, so the history still shows what was undone.

editId#

editId: string;

Client-generated uuid. Apply and replay both dedup on it, so a retried request is a no-op rather than a second edit.

kind#

kind: PeakEditKind;

move?#

optional move?: PeakMovePayload;

reason?#

optional reason?: string;

Why. MANDATORY when source is "script", "plugin:" or "vendor" — nobody is standing next to those edits to be asked afterwards; a vendor edit names the file and the list it came from.

revertsEditId?#

optional revertsEditId?: string;

Set on a compensating entry, naming what it undoes.

scope?#

optional scope?: PeakEditScope;

Interval + members, for the group-scoped kinds.

setField?#

optional setField?: PeakSetFieldPayload;

setReference?#

optional setReference?: PeakSetReferencePayload;

setTier?#

optional setTier?: PeakSetTierPayload;

source#

source: string;

"ui" | "script" | "rpc" | "plugin:" | "vendor". A string rather than an enum so a plugin's edit names the plugin, not merely its kind. "vendor": a peak the data file itself listed (Bruker peaklist.xml, JCAMP PEAK TABLE, NMReDATA signals), recorded at import.

ungroup?#

optional ungroup?: PeakUngroupPayload;

PeakEditLog#

The whole log for one scan, as carried on Scan1D/Scan2D.peak_edits.

Properties#

edits#

edits: PeakEdit[];

Every entry ever made, in the order they were made. Append-only.

scanId#

scanId: string;

Scan uuid this log belongs to.

version#

version: number;

Log schema version, so a future migration can tell what it is reading.


PeakEditScope#

What a group-scoped edit (merge, split, integral, pattern, tier) covers.

An Hz INTERVAL plus member peak ids — never a group_id. Group ids are regenerated on every analysis, so an edit keyed on one would orphan every group edit on every reprocess. Both halves are needed: the interval survives re-detection, the ids disambiguate a neighbour that drifted in.

Properties#

endHz#

endHz: number;

f1EndHz?#

optional f1EndHz?: number;

f1StartHz?#

optional f1StartHz?: number;

2D only: the interval on the indirect axis.

memberPeakIds#

memberPeakIds: string[];

Ids of the members the edit was made against.

shiftId#

shiftId: string;

The "shift:hz" identity from shift curation at the time of the edit, for display and cross-referencing. Derived from the interval; never resolved against on its own.

startHz#

startHz: number;

PeakInfo#

Properties#

area#

area: number;

Integrated area

editIds#

editIds: string[];

Every peak edit that contributed to the values above, in application order. Consumers use it to explain any field a user overrode.

frequencyHz#

frequencyHz: number;

Frequency in Hz

frequencyPpm?#

optional frequencyPpm?: number;

Frequency in PPM (if reference available)

groupId?#

optional groupId?: number;

Group ID for multiplet grouping (peaks in same group share this ID)

height#

height: number;

Peak height

index#

index: number;

Index in data array

integrationEndHz#

integrationEndHz: number;

integrationStartHz#

integrationStartHz: number;

Integration bounds (start_hz, end_hz)

jCouplings#

jCouplings: number[];

J-coupling constants in Hz

linewidthHz#

linewidthHz: number;

Linewidth (FWHM) in Hz

linewidthPpm#

linewidthPpm: number;

Linewidth (FWHM) in PPM

multipletConfidence#

multipletConfidence: number;

Confidence of multiplet assignment (0.0-1.0)

multipletPattern#

multipletPattern: string;

Multiplet pattern ("s", "d", "t", "q", "m", etc.)

normalizedArea#

normalizedArea: number;

Normalized area (relative to reference peak)

origin#

origin: PeakOrigin;

Origin: auto-detected or inferred.

peakId#

peakId: string;

Stable identity for this line, so an edit can name it without relying on an array index that renumbers on every analysis. Peaks a user placed carry "edit:"; detected peaks are issued one per analysis.

prominence#

prominence: number;

Peak prominence


PeakInfo2D#

Properties#

editIds#

editIds: string[];

Peak edits that contributed to this crosspeak.

frequencyF1Hz#

frequencyF1Hz: number;

Frequency in F1 (Hz)

frequencyF1Ppm?#

optional frequencyF1Ppm?: number;

Frequency in F1 (PPM, if reference available)

frequencyF2Hz#

frequencyF2Hz: number;

Frequency in F2 (Hz)

frequencyF2Ppm?#

optional frequencyF2Ppm?: number;

Frequency in F2 (PPM, if reference available)

groupId?#

optional groupId?: number;

Group ID for peak grouping (peaks in same group share this ID)

height#

height: number;

Peak height

indexF1#

indexF1: number;

Index in F1 dimension

indexF2#

indexF2: number;

Index in F2 dimension

linewidthF1Hz?#

optional linewidthF1Hz?: number;

FWHM per axis, for the peak's elliptical footprint.

linewidthF1Ppm?#

optional linewidthF1Ppm?: number;

linewidthF2Hz?#

optional linewidthF2Hz?: number;

linewidthF2Ppm?#

optional linewidthF2Ppm?: number;

origin#

origin: PeakOrigin;

Origin: auto-detected or manually placed by user

peakId#

peakId: string;

Stable identity — see PeakInfo.peak_id.

ridgeId?#

optional ridgeId?: string;

Set when this maximum stands on a streak rather than on a resonance: crosspeaks sharing an id sit on one ridge. Same role and same shape as ChemicalShiftGroup.ridge_id — the analysis decides co-linearity and ships the grouping, and consumers must not re-derive it from the coordinates. The crosspeak is LABELLED, never withheld: a streak runs through real correlations, so a user has to be able to see the call and overrule it.

volume?#

optional volume?: number;

Peak volume (if calculated)


PeakMovePayload#

Properties#

toF1Hz?#

optional toF1Hz?: number;

toHz#

toHz: number;

PeakSetFieldPayload#

Properties#

integral?#

optional integral?: number;

jCouplings?#

optional jCouplings?: JCouplingList;

label?#

optional label?: string;

pattern?#

optional pattern?: string;

PeakSetReferencePayload#

Properties#

offsetPpm?#

optional offsetPpm?: number;

A chemical-shift reference move: the axis reads this much higher than acquired. Lines and anchors stay in the acquisition frame; active offsets add up.

referenceFrequencyHz#

referenceFrequencyHz: number;

PeakSetTierPayload#

Properties#

tier#

tier: ShiftTier;

PeakUngroupPayload#

Properties#

boundaryHz#

boundaryHz: number;

MANDATORY, and a frequency rather than a peak: "split at the selected peak" is UI state, gone by the next replay, and cannot be reproduced.


PhaseCorrectionSettings#

Properties#

enabled?#

optional enabled?: boolean;

Whether to apply phase correction at all. Unset means true.

~~method~~#

method: PhaseCorrectionSettings_PhaseCorrectionMethod;
Deprecated#
  • use mode and order.
Deprecated#

mode?#

optional mode?: PhaseCorrectionSettings_PhaseMode;

Unset behaves as PHASE_MODE_AUTO.

order?#

optional order?: PhaseCorrectionSettings_PhaseOrder;

Auto-phase model order.

p0Deg?#

optional p0Deg?: number;

Manual phase constants, degrees. Read when mode == PHASE_MODE_MANUAL.

p1Deg?#

optional p1Deg?: number;

p2Deg?#

optional p2Deg?: number;

Second-order term. The auto-phase default order is selected by the NUCLEI_PHASE_ORDER environment variable.

pivotMode?#

optional pivotMode?: PhaseCorrectionSettings_PivotMode;

Pivot for the first/second order ramp.

pivotPpm?#

optional pivotPpm?: number;

PhaseShiftConfig#

Configuration for phase shift applied to spectrum

Properties#

enabled#

enabled: boolean;

Whether to apply phase shift

method#

method: PhaseShiftMethod;

Phase shift method

p0#

p0: number;

Zero-order phase (constant, in radians)

p1#

p1: number;

First-order phase (linear coefficient)


PlotAnnotation#

Properties#

a#

a: PlotAnnotationPoint | undefined;

b#

b: PlotAnnotationPoint | undefined;

color#

color: string;

fill#

fill: boolean;

fontSize#

fontSize: number;

frame?#

optional frame?: PlotAnnotationFrame;

id#

id: string;

imageSrc#

imageSrc: string;

Embedded raster image data URL; no paths or external resources.

kind#

kind: PlotAnnotationKind;

points#

points: PlotAnnotationPoint[];

rotation#

rotation: number;

text#

text: string;

width#

width: number;

PlotAnnotationFrame#

Reference axis window and CSS dimensions at authoring time. Geometry is kept in this frame, anchored to data and uniformly scaled with the horizontal axis.

Properties#

height#

height: number;

referenceFrequencyHzX#

referenceFrequencyHzX: number;

referenceFrequencyHzY#

referenceFrequencyHzY: number;

width#

width: number;

xEnd#

xEnd: number;

xStart#

xStart: number;

xUnit#

xUnit: string;

yEnd#

yEnd: number;

yStart#

yStart: number;

yUnit#

yUnit: string;

PlotAnnotationPoint#

Properties#

x#

x: number;

y#

y: number;

PlotAnnotations#

User-authored artwork in plot-area fractions. Order is back-to-front.

Properties#

items#

items: PlotAnnotation[];

PlotAxisSettings#

Properties#

grid?#

optional grid?: boolean;

range#

range: number[];

title?#

optional title?: string;

type?#

optional type?: string;

PlotExportSettings#

Properties#

format?#

optional format?: PlotExportFormat;

height?#

optional height?: number;

scale?#

optional scale?: number;

width?#

optional width?: number;

PlotLegendSettings#

Properties#

orientation?#

optional orientation?: PlotLegendOrientation;

show?#

optional show?: boolean;

PlotsConfig#

Properties#

displayModeBar#

displayModeBar: PlotModeBarMode;

doubleClick#

doubleClick: PlotDoubleClickAction;

editable#

editable: boolean;

frameMargins#

frameMargins: number;

locale#

locale: string;

responsive#

responsive: boolean;

scrollZoom#

scrollZoom: boolean;

seriesPalette#

seriesPalette: SeriesPalette;

Colour set for plot series; DEFAULT is the theme's own.

showAxisDragHandles#

showAxisDragHandles: boolean;

showAxisRangeEntryBoxes#

showAxisRangeEntryBoxes: boolean;

theme#

theme: string;

toImageButtonOptions#

toImageButtonOptions: PlotExportSettings | undefined;

PlotsSettings#

Properties#

legend?#

optional legend?: PlotLegendSettings;

title?#

optional title?: string;

traces#

traces: PlotTraceSettings[];

xAxis?#

optional xAxis?: PlotAxisSettings;

yAxis?#

optional yAxis?: PlotAxisSettings;

PlotsSettingsRecord#

Properties#

plots#

plots: {
[key: string]: PlotsSettings;
};
Index Signature#
[key: string]: PlotsSettings

PlotTraceSettings#

Properties#

color?#

optional color?: string;

markerSize?#

optional markerSize?: number;

mode?#

optional mode?: string;

type?#

optional type?: string;

PluginProjectData#

Plugin-specific data stored within projects. Maps plugin_id -> plugin entry (data + version + metadata).

Properties#

plugins#

plugins: {
[key: string]: PluginProjectEntry;
};

Map of plugin_id -> plugin entry

Index Signature#
[key: string]: PluginProjectEntry

PluginProjectEntry#

Per-plugin information stored in a project. All related data for one plugin in a single structure.

Properties#

data#

data: Uint8Array;

Serialized plugin data (MessagePack)

deviceVendors#

deviceVendors: string[];

metadata#

metadata: {
[key: string]: string;
};

Optional metadata (e.g., last_modified, data_schema_version)

Index Signature#
[key: string]: string

required#

required: boolean;

Whether project requires this plugin to function properly

version#

version: string;

Plugin version when data was saved (for compatibility)


Postprocessing#

Properties#

forceRerun#

forceRerun: boolean;

Force rerun - invalidates source data cache before execution Set to true when user explicitly clicks "rerun" button

IsBuiltin#

IsBuiltin: boolean;

Built-in preset flag (semi-hidden, indicates read-only system preset)

layoutJson?#

optional layoutJson?: string;

loadId?#

optional loadId?: string;

name#

name: string;

nodes#

nodes: PostprocessingNode[];

PostprocessingNode#

Properties#

alignSpectrum?#

optional alignSpectrum?: OpAlign;

axisReduce?#

optional axisReduce?: OpAxisReduce;

baselineRemove?#

optional baselineRemove?: OpBaselineRemove;

complexPhase?#

optional complexPhase?: OpComplexPhase;

currentSignal?#

optional currentSignal?: OpCurrentSignal;

currentSpectrum?#

optional currentSpectrum?: OpCurrentSpectrum;

fft?#

optional fft?: OpFFT;

id#

id: string;

inConnections#

inConnections: {
[key: string]: string;
};
Index Signature#
[key: string]: string

interpolate?#

optional interpolate?: OpInterpolate;

loadAsCurrent?#

optional loadAsCurrent?: OpLoadAsCurrent;

math?#

optional math?: OpMath;

New ops

number?#

optional number?: OpNumber;

outConnections#

outConnections: {
[key: string]: string;
};
Index Signature#
[key: string]: string

phaseCorr?#

optional phaseCorr?: OpPhaseCorr;

phaseCorrAuto?#

optional phaseCorrAuto?: OpPhaseAutoCorr;

plot?#

optional plot?: OpPlot;

pluginOp?#

optional pluginOp?: OpPlugin;

rawSignal?#

optional rawSignal?: OpRawSignal;

resample?#

optional resample?: OpResample;

slice?#

optional slice?: OpSlice;

splitComplex?#

optional splitComplex?: OpSplitComplex;

suppressRegion?#

optional suppressRegion?: OpSuppress;

symmetrize?#

optional symmetrize?: OpSymmetrize;

zeroFill?#

optional zeroFill?: OpZeroFill;

PreprocessingSettings#

Properties#

apodization#

apodization: ApodizationSettings | undefined;

Apodization/window function settings

baselineCorrection#

baselineCorrection: BaselineCorrectionSettings | undefined;

Baseline correction settings

enhancement2d#

enhancement2d: Enhancement2DSettings | undefined;

Opt-in 2D enhancement stages. Ignored for 1D data.

fft#

fft: FFTSettings | undefined;

FFT settings

groupDelay#

groupDelay: GroupDelaySettings | undefined;

Digital filter / group delay (GRPDLY) removal settings

phaseCorrection#

phaseCorrection: PhaseCorrectionSettings | undefined;

Phase correction settings

referenceCorrection#

referenceCorrection: 
  | ReferenceCorrectionSettings
  | undefined;

Reference correction settings

solventSuppression#

solventSuppression: SolventSuppressionSettings | undefined;

Solvent suppression settings

zeroFill#

zeroFill: ZeroFillSettings | undefined;

Zero filling settings


ProcessingHistory#

Complete processing history for a signal/spectrum

Properties#

entries#

entries: ProcessingHistoryEntry[];

ProcessingHistoryEntry#

Single processing operation record

Properties#

hostname#

hostname: string;

Machine where operation was performed

operation#

operation: string;

Operation name (e.g., "correct_phase_manual", "numpy.multiply")

parameters#

parameters: {
[key: string]: string;
};

Operation parameters as string key-value pairs

Index Signature#
[key: string]: string

shapeAfter#

shapeAfter: number[];

shapeBefore#

shapeBefore: number[];

Shape info (optional, may be empty for direct numpy ops)

source#

source: string;

Source of the operation Values: "tqt_nmr", "nuclei_preprocessing", "nuclei_postprocessing", "numpy"

timestamp#

timestamp: Date | undefined;

When the operation was performed

username#

username: string;

User who performed the operation


ProcessingStep#

Record of a processing operation applied to data

Properties#

appliedAtUnix#

appliedAtUnix: number;

operation#

operation: ProcessingOperation;

parameters#

parameters: {
[key: string]: string;
};
Index Signature#
[key: string]: string

Project#

Properties#

analysis?#

optional analysis?: Analysis;

currentScan?#

optional currentScan?: Scan;

Currently active scan

description#

description: string;

device?#

optional device?: Device;

Dirty?#

optional Dirty?: ProjectDirtyFlags;

Unified save/load system

displaySettings?#

optional displaySettings?: DisplaySettings;

Display settings for spectroscopy visualization

generator?#

optional generator?: Generator;

~~integrationRegions~~#

integrationRegions: IntegrationRegion[];

DEPRECATED: integration regions moved to Scan.integration_regions. Kept for backward compatibility with existing project files.

Deprecated#

labPack?#

optional labPack?: LabPack;

Set when the project is a guided lab; its progress and sealed answers save with the project.

loadWithPreprocessing?#

optional loadWithPreprocessing?: boolean;

Whether the last scan was loaded with preprocessing (for auto-reload)

Metadata?#

optional Metadata?: ProjectMetadata;

Save metadata

name#

name: string;

origin?#

optional origin?: ProjectOrigin;

Set when the project arrived in a .nuclei file.

pages?#

optional pages?: Pages;

The workspace pages; the analysis working set is derived from them.

plotConfig?#

optional plotConfig?: PlotsConfig;

plotSettings?#

optional plotSettings?: PlotsSettingsRecord;

plugins?#

optional plugins?: PluginProjectData;

Plugin data - extensible storage for plugin entities

postProcessing?#

optional postProcessing?: Postprocessing;

preprocessingSettings?#

optional preprocessingSettings?: PreprocessingSettings;

Preprocessing settings for automatic signal/spectrum processing

profile#

profile: string;

qnmrConfig?#

optional qnmrConfig?: QNMRConfig;

qNMR quantitation configuration

reportNotes?#

optional reportNotes?: ReportNotes;

Analyst's free-text commentary, surfaced in reports as the {{interpretation.}} and {{analyst.}} placeholders. It lives on the project rather than behind its own store so it saves, loads, shares and dirty-tracks through the machinery the project already has.

reportTemplate?#

optional reportTemplate?: ReportTemplate;

revision#

revision: number;

Bumped by the backend on every applied change and stamped on each UpdateProject push. Session-local: never persisted, restarts from zero with the backend.

sample?#

optional sample?: Sample;

schedule?#

optional schedule?: Schedule;

sequence?#

optional sequence?: Sequence;

verifications#

verifications: SampleVerificationRecord[];

Structure verification decisions per sample id; the verification itself is recomputed.


ProjectDirtyFlags#

Properties#

analysis#

analysis: boolean;

Analysis changed

postProcessing#

postProcessing: boolean;

Post-processing changed

project#

project: boolean;

Project changed

reportTemplate#

reportTemplate: boolean;

Report template changed

sample#

sample: boolean;

Sample changed

schedule#

schedule: boolean;

Schedule changed

sequence#

sequence: boolean;

Sequence changed


ProjectMetadata#

Properties#

filePath#

filePath: string;

Where this project is saved

hasUnsavedChanges#

hasUnsavedChanges: boolean;

Quick check for unsaved changes

lastSaved#

lastSaved: number;

Unix timestamp of last save

saveVersion#

saveVersion: string;

Version/hash for conflict detection


ProjectOrigin#

Properties#

executableContentTrusted#

executableContentTrusted: boolean;

Analysis code, sequences and schedules from the file stay blocked until the user trusts them.

importedAt#

importedAt: Date | undefined;

importedBy#

importedBy: string;

packageId#

packageId: string;

signerFingerprint#

signerFingerprint: string;

signerName#

signerName: string;

Claimed by the signer; empty for an unsigned file.

trustedContentKinds#

trustedContentKinds: string[];

Kinds trusted separately from executable_content_trusted, e.g. "page" for a lab pack's custom page.


QNMRAcquisitionConditions#

An unset field means unrecorded, which yields an UNKNOWN check rather than a silent pass.

Properties#

acquisitionTimeS?#

optional acquisitionTimeS?: number;

analyteT1S?#

optional analyteT1S?: number;

clippedFraction?#

optional clippedFraction?: number;

dummyScans?#

optional dummyScans?: number;

excitationPulseUs?#

optional excitationPulseUs?: number;

flipAngleDeg?#

optional flipAngleDeg?: number;

linewidthHz?#

optional linewidthHz?: number;

numScans?#

optional numScans?: number;

observedSnr?#

optional observedSnr?: number;

processedPoints?#

optional processedPoints?: number;

referenceT1S?#

optional referenceT1S?: number;

relaxationDelayS?#

optional relaxationDelayS?: number;

spectralWidthHz?#

optional spectralWidthHz?: number;

QNMRCompound#

Properties#

massMg#

massMg: number;

mass in mg

massUncertaintyMg#

massUncertaintyMg: number;

standard uncertainty of weighing (mg)

molarMass#

molarMass: number;

g/mol

molarMassUncertainty#

molarMassUncertainty: number;

Derived from atomic weights when the structure is known; widen it for salt-form ambiguity.

name#

name: string;

numNuclei#

numNuclei: number;

proton count contributing to the integration region

purityPercent#

purityPercent: number;

100.0 for analyte (unknown), known value for reference

purityUncertaintyPercent#

purityUncertaintyPercent: number;

standard uncertainty of purity (%)

regionName#

regionName: string;

DEPRECATED: single region — use region_names instead

regionNames#

regionNames: string[];

integration regions (integrals are summed)


QNMRConfig#

Properties#

analyte#

analyte: QNMRCompound | undefined;

coverageFactor#

coverageFactor: number;

0 = engine default of 2

method#

method: QNMRMethod;

reference#

reference: QNMRCompound | undefined;

referenceConcentrationMgMl#

referenceConcentrationMgMl: number;

PULCON: the certified concentration of the external reference.

referenceConcentrationUncertaintyMgMl#

referenceConcentrationUncertaintyMgMl: number;

replicatePuritiesPercent#

replicatePuritiesPercent: number[];

feeds the repeatability term

responseFactor#

responseFactor: number;

Electronic reference: integral per transient per unit gain per nucleus per mmol/L.

responseFactorUncertainty#

responseFactorUncertainty: number;

signals#

signals: QNMRSignalShare[];

100 % method: every quantified signal

solventVolumeMl#

solventVolumeMl: number;

for concentration calculation

solventVolumeUncertaintyMl#

solventVolumeUncertaintyMl: number;

transferRelativeUncertainty#

transferRelativeUncertainty: number;

Negative = engine default; 0 asserts the acquisitions are strictly comparable.


QNMRReplicateSummary#

Properties#

count#

count: number;

mean#

mean: number;

relativeStandardDeviationPercent#

relativeStandardDeviationPercent: number;

standardDeviation#

standardDeviation: number;

standardError#

standardError: number;

QNMRResult#

Properties#

analyteIntegral#

analyteIntegral: number;

concentrationMgMl#

concentrationMgMl: number;

concentrationUncertaintyMgMl#

concentrationUncertaintyMgMl: number;

uncertainty on concentration

error#

error: string;

integralRatio#

integralRatio: number;

integrationNoiseEstimate#

integrationNoiseEstimate: number;

noise contribution (informational)

methodApplied#

methodApplied: QNMRMethod;

The method actually applied, so a persisted result cannot misreport how it was obtained.

moleFractionPercent#

moleFractionPercent: number;

100 % method only

purityBudget#

purityBudget: QNMRUncertaintyBudget | undefined;

purityExpandedUncertaintyPercent#

purityExpandedUncertaintyPercent: number;

k=2 expanded uncertainty (95% CI)

purityPercent#

purityPercent: number;

purityUncertaintyPercent#

purityUncertaintyPercent: number;

combined standard uncertainty

referenceIntegral#

referenceIntegral: number;

replicates#

replicates: QNMRReplicateSummary | undefined;

warning#

warning: string;

non-empty when purity is outside expected bounds

warnings#

warnings: string[];

supersedes warning, which carries the first entry


QNMRSignalShare#

One quantified signal in the 100 % method.

Properties#

isAnalyte#

isAnalyte: boolean;

molarMass#

molarMass: number;

g/mol; required only for a mass-fraction answer

name#

name: string;

species the signal belongs to; must be unique

numNuclei#

numNuclei: number;

regionNames#

regionNames: string[];

integration regions whose integrals are summed


QNMRSuitabilityCheck#

Properties#

key#

key: string;

"relaxation_delay", "signal_to_noise", "digital_resolution", "acquisition_time", "receiver_overflow", "steady_state", "pulse_calibration".

measured#

measured: number;

value checked, in the check's own unit

rationale#

rationale: string[];

translated, safe to show a user

status#

status: QNMRSuitabilityStatus;

target#

target: number;

value the check wanted, same unit


QNMRSuitabilityThresholds#

Where each check draws its lines. An unset field takes the engine's textbook default, so a caller states only what it wants to move. Relaxing a limit cannot turn UNKNOWN into a pass.

Properties#

acquisitionTimeTargetDecays?#

optional acquisitionTimeTargetDecays?: number;

acquisitionTimeWarnDecays?#

optional acquisitionTimeWarnDecays?: number;

clippingFailFraction?#

optional clippingFailFraction?: number;

clippingWarnFraction?#

optional clippingWarnFraction?: number;

digitalResolutionTargetPoints?#

optional digitalResolutionTargetPoints?: number;

digitalResolutionWarnPoints?#

optional digitalResolutionWarnPoints?: number;

dummyScansTarget?#

optional dummyScansTarget?: number;

ratioBiasFailPercent?#

optional ratioBiasFailPercent?: number;

ratioBiasWarnPercent?#

optional ratioBiasWarnPercent?: number;

recycleTargetT1Multiples?#

optional recycleTargetT1Multiples?: number;

recycleWarnT1Multiples?#

optional recycleWarnT1Multiples?: number;

snrTarget?#

optional snrTarget?: number;

snrWarn?#

optional snrWarn?: number;

QNMRSystemSuitability#

Properties#

blockingKeys#

blockingKeys: string[];

checks that forbid presenting a clean result

checks#

checks: QNMRSuitabilityCheck[];

worst first

conditions#

conditions: QNMRAcquisitionConditions | undefined;

what the checks ran against, for the audit trail

overall#

overall: QNMRSuitabilityStatus;

ratioBiasPercent#

ratioBiasPercent: number;

Relaxation bias on the integral ratio (%); driven by the T1 difference, not by d1 alone.

thresholds#

thresholds: QNMRSuitabilityThresholds | undefined;

the limits the verdict was reached under

unknownKeys#

unknownKeys: string[];

checks that could not run for want of a parameter


QNMRUncertaintyBudget#

Properties#

combinedStandard#

combinedStandard: number;

contributors#

contributors: QNMRUncertaintyContributor[];

largest variance share first

coverageFactor#

coverageFactor: number;

description#

description: string[];

human-readable lines for reports and the audit trail

dominantKey#

dominantKey: string;

expanded#

expanded: number;

QNMRUncertaintyContributor#

Properties#

absolute#

absolute: number;

contribution in the result's unit

key#

key: string;

Stable key, e.g. "analyte_integral" or "repeatability". A "signal:" prefix carries the signal's own name after the colon.

relative#

relative: number;

relative standard uncertainty, dimensionless

varianceFraction#

varianceFraction: number;

share of the combined variance, 0-1; sums to 1


ReferenceCorrectionSettings#

Properties#

enabled?#

optional enabled?: boolean;

Whether to apply reference correction. Unset means true, which enables correction for spectra that carry references.

mode?#

optional mode?: ReferenceCorrectionSettings_ReferenceMode;

Referencing strategy. Unset behaves as REFERENCE_MODE_ACQUISITION.

referenceFrequencyHz?#

optional referenceFrequencyHz?: number;

Absolute frequency (Hz) of the 0 ppm point. Both this and solvent_reference_ppm must survive a save/reload round trip; the ppm axis depends on them.

solventReferencePpm?#

optional solventReferencePpm?: number;

Chemical shift (ppm) of the solvent peak used as the 1D reference.


RegionSuitability#

Properties#

artifactFlag#

artifactFlag: boolean;

baselineScore#

baselineScore: number;

baselineVariance#

baselineVariance: number;

endPpm#

endPpm: number;

lineshapeScore#

lineshapeScore: number;

linewidthCv#

linewidthCv: number;

coefficient of variation of linewidths in region

nearestPeakDistancePpm#

nearestPeakDistancePpm: number;

overallCategory#

overallCategory: string;

Overall assessment

overlapScore#

overlapScore: number;

rationale#

rationale: string[];

Human-readable explanation strings

regionName#

regionName: string;

regionSnr#

regionSnr: number;

Raw values for transparency

snrScore#

snrScore: number;

Scores 0.0–1.0 (higher = better)

startPpm#

startPpm: number;

RelaxometryData#

Relaxometry experiment data for T1/T2/CPMG measurements Note: We only store metadata here. The actual 2D signal is stored in Scan2D.accumulated_signal and is re-processed on load to allow adjusting multi-group detection parameters (min_distance_ppm).

Properties#

experimentType#

experimentType: string;

Experiment type: "T1_IR", "T2_CPMG", etc.

timeAxisMs#

timeAxisMs: number[];

Time axis in milliseconds (tau values or echo times)


Repeat#

Repeat configuration for looping

Properties#

count#

count: number;

Number of times to repeat (0 = infinite until cancelled)

delaySeconds?#

optional delaySeconds?: number;

Optional delay between iterations in seconds

stepIds#

stepIds: string[];

IDs of steps to include in the loop (connected downstream steps) If empty, repeats all subsequent steps until end


ReportNotes#

Free-text commentary an analyst writes about the data, carried by the project so it survives closing and reopening it and travels with the project file when that file is shared or exported.

The sub-messages mirror the report placeholder namespaces one-for-one: the report context builder hands each sub-message straight to the placeholder introspector, so Interpretation.observations surfaces as {{interpretation.observations}} with no field-name mapping table to keep in sync. Adding a field here is all it takes to mint a new placeholder.

Every value is the HTML fragment produced by the rich-text editor, not plain text, because the report template splices it into an HTML document.

Properties#

analyst?#

optional analyst?: AnalystCommentary;

interpretation?#

optional interpretation?: Interpretation;

ReportTemplate#

Properties#

description#

description: string;

htmlContent#

htmlContent: string;

id#

id: string;

IsBuiltin#

IsBuiltin: boolean;

Built-in preset flag (semi-hidden, indicates read-only system preset)

loadId?#

optional loadId?: string;

name#

name: string;

RunAnalysis#

Properties#

analysisName#

analysisName: string;

Sample#

Properties#

components#

components: SampleComponent[];

compoundFormula?#

optional compoundFormula?: string;

Analyte SMILES joined with ".", or a written formula; mirrors the analyte components.

description#

description: string;

dimensions#

dimensions: SampleDimensions | undefined;

Dirty?#

optional Dirty?: SampleDirtyFlags;

Unified save/load system

id#

id: string;

UUID; the identity scans refer to. Names are labels and may repeat.

kind#

kind: DeviceKind;

laboratoryFeatures#

laboratoryFeatures: LaboratoryFeature[];

Laboratory features for calibration and QC workflows Correlate NMR measurements with reference property values

molarMass?#

optional molarMass?: number;

Molar mass (g/mol), computed from compound_formula or entered manually

name#

name: string;

nmr?#

optional nmr?: NMRSample;

temperature#

temperature: TemperatureCouple | undefined;

userData#

userData: {
[key: string]: string;
};
Index Signature#
[key: string]: string

SampleComponent#

One substance in a sample. A mixture has one per compound.

Properties#

concentration?#

optional concentration?: Concentration;

name#

name: string;

Display name; empty means none was given.

role#

role: ComponentRole;

smiles#

smiles: string;

Empty for a component known only by name.


SampleDimensions#

Properties#

cube?#

optional cube?: SampleDimensions_Cube;

cylinder?#

optional cylinder?: SampleDimensions_Cylinder;

mass#

mass: Mass | undefined;

shape#

shape: SampleDimensions_Shape;

SampleDimensions_Cube#

Properties#

depth#

depth: Distance | undefined;

height#

height: Distance | undefined;

width#

width: Distance | undefined;

SampleDimensions_Cylinder#

Properties#

diameter#

diameter: Distance | undefined;

height#

height: Distance | undefined;

SampleDirtyFlags#

Properties#

sample#

sample: boolean;

Sample changed


SampleVerification#

Properties#

alignments#

alignments: AxisAlignment[];

components#

components: ComponentVerification[];

computedAt#

computedAt: Date | undefined;

experiments#

experiments: VerificationExperimentRef[];

project#

project: string;

reason#

reason: string;

reasonArgs#

reasonArgs: {
[key: string]: string;
};
Index Signature#
[key: string]: string

sampleId#

sampleId: string;

score#

score: number;

signals#

signals: SignalVerification[];

skipped#

skipped: string[];

Experiments of the sample that could not be read, as "

suggestions#

suggestions: VerificationSuggestion[];

verdict#

verdict: VerificationVerdict;

SampleVerificationRecord#

Properties#

decisions#

decisions: VerificationDecision[];

sampleId#

sampleId: string;

Scan#

Properties#

dataSummary?#

optional dataSummary?: ScanDataSummary;

What the stored spectrum is, kept on the light record so a scan is classified without loading it. Unset for a scan stored before this existed, or one storing only a signal.

deviceSnapshot#

deviceSnapshot: Device | undefined;

experimentType#

experimentType: ExperimentType;

Experiment type (auto-detected from pulse program during import)

group?#

optional group?: string;

Group path (e.g., "Group1/SubGroup")

id#

id: string;

Internal UUID for unique identification

integrationRegions#

integrationRegions: IntegrationRegion[];

Integration regions defined on this scan

kind#

kind: ScanKind;

moleculeOverlay?#

optional moleculeOverlay?: MoleculeOverlay;

Persistent placement of the molecule structure overlaid on this scan's plot.

name?#

optional name?: string;

origin?#

optional origin?: ScanOrigin;

Set when the scan arrived in a .nuclei file rather than from an instrument or vendor import.

plotAnnotations?#

optional plotAnnotations?: PlotAnnotations;

Spectrum artwork; existing annotations stay on the spectrum.

preprocessingOverride?#

optional preprocessingOverride?: PreprocessingSettings;

Overrides the project settings sub-message by sub-message: a set one replaces the project's, an unset one inherits it.

profile#

profile: string;

relax1d?#

optional relax1d?: Scan1D;

relax2d?#

optional relax2d?: Scan2D;

sampleSnapshot#

sampleSnapshot: Sample | undefined;

sequenceSnapshot#

sequenceSnapshot: Sequence | undefined;

signalPlotAnnotations?#

optional signalPlotAnnotations?: PlotAnnotations;

timestamp#

timestamp: Date | undefined;

timestampOffsetUnknown#

timestampOffsetUnknown: boolean;

The file recorded a local wall-clock time without its UTC offset. timestamp then holds that wall-clock reading as if it were UTC: display it in UTC and say the offset is unknown.

userData#

userData: {
[key: string]: Any;
};
Index Signature#
[key: string]: Any

Scan1D#

Properties#

accumulatedSignal#

accumulatedSignal: Signal1D | undefined;

Accumulated results (always present)

accumulatedSpectrum#

accumulatedSpectrum: Spectrum1D | undefined;

flaggedScanIndices#

flaggedScanIndices: number[];

Quality control: indices of scans flagged as bad

individualScans#

individualScans: Signal1D[];

Individual scans (optional, may be stored separately for large datasets)

manualPeaks#

manualPeaks: PeakInfo[];

DERIVED projection of the EDIT_KIND_ADD entries in the peak edit log. Kept populated so existing consumers keep working; the log is the source of truth and this is a view of part of it.

metadata#

metadata: AcquisitionMetadata | undefined;

Acquisition metadata

peakEdits#

peakEdits: PeakEditLog | undefined;

The peak EDIT LOG: every human decision ever made about this scan's peak list, append-only, and the source of truth manual_peaks above is derived from.

Carried ON the scan rather than in a sidecar because scans get copied between machines and mailed to colleagues, and a sidecar does not travel with the file — the edits would be silently lost on transfer, which is worse than the immutability concern. Nothing here touches the ACQUIRED DATA: the signal and spectrum arrays and the acquisition metadata are untouched, and this sits beside them exactly as manual_peaks and integration_regions already do.

qcNotes#

qcNotes: string;

signalVisualizationHandler#

signalVisualizationHandler: string;

Visualization handler IDs for frontend rendering

spectrumVisualizationHandler#

spectrumVisualizationHandler: string;

Scan2D#

Properties#

accumulatedSignal#

accumulatedSignal: Signal2D | undefined;

Accumulated results (always present)

accumulatedSpectrum#

accumulatedSpectrum: Spectrum2D | undefined;

crossPeakAssignments?#

optional crossPeakAssignments?: CrossPeakAssignments;

Cross-peak to atom-pair assignments. On the scan for the same reason the edit log is: a crosspeak identity only means anything in this peak list.

diffusionData?#

optional diffusionData?: DiffusionData;

PFG diffusion (DOSY) parameters (optional)

manualPeaks#

manualPeaks: PeakInfo2D[];

DERIVED projection of the EDIT_KIND_ADD entries in the peak edit log. Kept populated so existing consumers keep working; the log is the source of truth and this is a view of part of it.

metadata#

metadata: AcquisitionMetadata | undefined;

Acquisition metadata

peakEdits#

peakEdits: PeakEditLog | undefined;

The peak EDIT LOG: every human decision ever made about this scan's peak list, append-only, and the source of truth manual_peaks above is derived from.

Carried ON the scan rather than in a sidecar because scans get copied between machines and mailed to colleagues, and a sidecar does not travel with the file — the edits would be silently lost on transfer, which is worse than the immutability concern. Nothing here touches the ACQUIRED DATA: the signal and spectrum arrays and the acquisition metadata are untouched, and this sits beside them exactly as manual_peaks and integration_regions already do.

qcNotes#

qcNotes: string;

Quality control

relaxometryData?#

optional relaxometryData?: RelaxometryData;

Relaxometry data for T1/T2/CPMG experiments (optional)

signalVisualizationHandler#

signalVisualizationHandler: string;

Visualization handler IDs for frontend rendering

spectrumVisualizationHandler#

spectrumVisualizationHandler: string;

ScanDataSummary#

Properties#

dimensions#

dimensions: number;

1 or 2.

f1IsParameter#

f1IsParameter: boolean;

F1 is an experiment parameter or a coupling axis (J-resolved), not a chemical shift.

nucleus#

nucleus: Nucleus;

The direct (F2) axis nucleus.

nucleusF1#

nucleusF1: Nucleus;

The indirect (F1) axis nucleus of a plane.


ScanOrigin#

Properties#

contentSha256#

contentSha256: string;

ScanEntry.member.sha256 as imported; identifies a re-import of the same content.

importedAt#

importedAt: Date | undefined;

importedBy#

importedBy: string;

originProfile#

originProfile: string;

The exporter's profile name, display only.

originScanId#

originScanId: string;

Scan.id inside the package; differs from Scan.id when the import remapped it.

packageId#

packageId: string;

signerFingerprint#

signerFingerprint: string;

ScanSetEntry#

Identity of a scan in the multi-scan analysis working set. Holds only identifiers (no heavy data); the scan is resolved lazily from storage.

Properties#

group?#

optional group?: string;

label?#

optional label?: string;

project#

project: string;

scanId#

scanId: string;

Schedule#

Properties#

Dirty?#

optional Dirty?: ScheduleDirtyFlags;

Unified save/load system

id?#

optional id?: string;

Stable identity, assigned once on first save and never regenerated. Survives renames; scheduled jobs reference this, not name. Absent on schedules written before this field existed - the repository backfills it on read (absence is the migration marker).

IsBuiltin#

IsBuiltin: boolean;

Built-in preset flag (semi-hidden, indicates read-only system preset)

json#

json: string;

loadId?#

optional loadId?: string;

Used to trigger frontend re-renders when loading

name#

name: string;

steps#

steps: ScheduleStep[];

ScheduleDirtyFlags#

Properties#

schedule#

schedule: boolean;

Schedule changed


ScheduleSequence#

Properties#

analysis?#

optional analysis?: string;

Saved analysis run on the result once the step has acquired.

fieldLockEnabled?#

optional fieldLockEnabled?: boolean;

inline?#

optional inline?: Sequence;

The experiment itself, carried by the step so it needs no saved file. Wins over path.

overrideNScans?#

optional overrideNScans?: number;

overridePhaseCycle?#

optional overridePhaseCycle?: boolean;

path#

path: string;

postprocessor?#

optional postprocessor?: string;

Saved processing (.nproc) loaded before the run, so the new data is processed with it.

projectPath?#

optional projectPath?: string;

Project the step loads before it runs, so its data is saved there. Unset: the open project.

save?#

optional save?: boolean;

saveAsNew?#

optional saveAsNew?: boolean;

ScheduleStep#

Properties#

abort?#

optional abort?: Abort;

analysis?#

optional analysis?: RunAnalysis;

condition?#

optional condition?: Condition;

connectDevice?#

optional connectDevice?: ConnectDevice;

exportResults?#

optional exportResults?: ExportResults;

id#

id: string;

multiDevice?#

optional multiDevice?: MultiDevice;

notify?#

optional notify?: Notify;

project?#

optional project?: OpenProject;

repeat?#

optional repeat?: Repeat;

report?#

optional report?: GenerateReport;

seq?#

optional seq?: ScheduleSequence;

Action steps

setGroup?#

optional setGroup?: SetGroup;

tune?#

optional tune?: Tune;

wait?#

optional wait?: Wait;

Timing/control steps

waitUntil?#

optional waitUntil?: WaitUntil;

Sequence#

Properties#

code?#

optional code?: CodeSequence;

Dirty?#

optional Dirty?: SequenceDirtyFlags;

Unified save/load system

graph?#

optional graph?: GraphSequence;

IsBuiltin#

IsBuiltin: boolean;

Built-in preset flag (semi-hidden, indicates read-only system preset)

loadId?#

optional loadId?: string;

mode#

mode: SequenceDefinitionMode;

TODO: path?

name?#

optional name?: string;

SequenceDirtyFlags#

Properties#

sequence#

sequence: boolean;

Sequence changed


SeriesDefinition#

Properties#

active#

active: boolean;

Whether the Analysis page shows the series view.

alignHighPpm?#

optional alignHighPpm?: number;

alignLowPpm?#

optional alignLowPpm?: number;

Reference window whose centroid is aligned across spectra before measuring.

alignment#

alignment: SeriesAlignment;

model#

model: SeriesModel;

normaliseTo#

normaliseTo: string;

Region id every value is divided by (an internal standard); empty for none.

points#

points: SeriesPoint[];

regions#

regions: SeriesRegion[];

timeUnit#

timeUnit: SeriesTimeUnit;

variable#

variable: SeriesVariable;

variableLabel#

variableLabel: string;

Name and unit of a custom variable, shown on axes and in the report.

variableUnit#

variableUnit: string;

SeriesPoint#

Per-point settings; a point without an entry has no custom x and is included.

Properties#

excluded#

excluded: boolean;

project#

project: string;

row?#

optional row?: number;

Increment index for an arrayed scan; absent for a plain 1D scan.

scanId#

scanId: string;

x?#

optional x?: number;

SeriesRegion#

Properties#

highPpm#

highPpm: number;

id#

id: string;

label#

label: string;

lowPpm#

lowPpm: number;

metric#

metric: SeriesMetric;

SetGroup#

Sets the save group for subsequent sequence executions. Scans acquired after this step will be saved to the specified group path.

Properties#

groupPath#

groupPath: string;

e.g., "Group1/SubGroup" or "" to reset to root


ShiftReference#

Properties#

compound#

compound: string;

e.g. "TMS", "DSS", "Chloroform-d".

method#

method: ShiftReferenceMethod;

nucleus#

nucleus: Nucleus;

Nucleus ppm is stated for; UNSPECIFIED means the observed nucleus.

ppm?#

optional ppm?: number;

Shift of the compound's reference line; unset when the source did not state it.

sourceText#

sourceText: string;

Verbatim statement from the source file; empty when entered by hand.

xiRatio?#

optional xiRatio?: number;

Signal1D#

Properties#

Amplitudes#

Amplitudes: NDComplexArray | undefined;

1D complex amplitude data (shape = [N])

carrierOffsetHz?#

optional carrierOffsetHz?: number;

Carrier offset in Hz - applied to spectrum frequencies during FFT This is the offset from base frequency where the carrier was set during acquisition

metadata#

metadata: {
[key: string]: string;
};

Optional metadata

Index Signature#
[key: string]: string

processingHistory#

processingHistory: ProcessingHistory | undefined;

Processing history - read-only audit log of all operations applied to this signal

referenceFrequencyHz?#

optional referenceFrequencyHz?: number;

Reference frequency for PPM conversion (Hz) - propagated to spectrum on FFT

TimeAxis#

TimeAxis: NDAxis | undefined;

Exactly one time axis (enforced by validation)


Signal2D#

Properties#

Amplitudes#

Amplitudes: NDComplexArray | undefined;

2D complex amplitude data (shape = [N, M])

Axis1#

Axis1: NDAxis | undefined;

Exactly two time/spatial axes (enforced by validation)

Axis2#

Axis2: NDAxis | undefined;

e.g., t2

carrierOffsetHz1?#

optional carrierOffsetHz1?: number;

Carrier offsets in Hz - applied to spectrum frequencies during FFT These are the offsets from base frequency where the carriers were set

carrierOffsetHz2?#

optional carrierOffsetHz2?: number;

For F2 (direct dimension)

metadata#

metadata: {
[key: string]: string;
};

Optional metadata

Index Signature#
[key: string]: string

processingHistory#

processingHistory: ProcessingHistory | undefined;

Processing history - read-only audit log of all operations applied to this signal

referenceFrequencyHz?#

optional referenceFrequencyHz?: number;

Reference frequency for PPM conversion (Hz) - propagated to spectrum on FFT

referenceSignalF1?#

optional referenceSignalF1?: Signal1D;

Reference acquisitions for 2D NMR deconvolution F1 reference: 1D acquisition along indirect dimension

referenceSignalF2?#

optional referenceSignalF2?: Signal1D;

F2 reference: 1D acquisition along direct dimension


SignalND#

Properties#

s1d?#

optional s1d?: Signal1D;

s2d?#

optional s2d?: Signal2D;

visualizationHandler#

visualizationHandler: string;

Plugin visualization handler ID (e.g., "nanalysis:cosy_2d") Used by both frontend and backend to select appropriate visualizer


SignalVerification#

Properties#

atomIndices#

atomIndices: number[];

componentIndex?#

optional componentIndex?: number;

dismissedDecisionId?#

optional dismissedDecisionId?: string;

experiment#

experiment: VerificationExperiment;

highPpm#

highPpm: number;

lowPpm#

lowPpm: number;

peakIndices#

peakIndices: number[];

Positions of the member lines in the scan's detected peak list.

ppm#

ppm: number;

For a cross peak ppm is the proton axis and x_ppm the other.

reason#

reason: string;

scanId#

scanId: string;

signalId#

signalId: string;

":", unique across the sample's experiments.

status#

status: SignalVerificationStatus;

weight#

weight: number;

Unexplained 1H signals: share of the reported signal area.

xPpm?#

optional xPpm?: number;

SolventReference#

Reference to a solvent (predefined OR custom, mutually exclusive)

Properties#

custom?#

optional custom?: CustomSolvent;

predefined?#

optional predefined?: PredefinedSolvent;

SolventSuppressionSettings#

Properties#

enabled?#

optional enabled?: boolean;

Whether to apply solvent suppression

filterWidth?#

optional filterWidth?: number;

Width of the low-pass convolution kernel, in FID points (SUPPRESSION_MODE_FID_LOWPASS).

mode#

mode: SolventSuppressionSettings_SuppressionMode;

regionHz?#

optional regionHz?: number;

Half-width of the suppressed region around the carrier, in Hz (SUPPRESSION_MODE_FREQUENCY_REGION).


Spectrum1D#

Properties#

Amplitudes#

Amplitudes: NDComplexArray | undefined;

1D complex amplitude data (shape = [N])

FrequencyAxis#

FrequencyAxis: NDAxis | undefined;

Exactly one frequency axis (enforced by validation)

metadata#

metadata: {
[key: string]: string;
};

Optional metadata

Index Signature#
[key: string]: string

processingHistory#

processingHistory: ProcessingHistory | undefined;

Processing history - read-only audit log of all operations applied to this spectrum

solventReferencePpm?#

optional solventReferencePpm?: number;

Solvent reference PPM for calibration (set from sample's solvent info)


Spectrum2D#

Properties#

Amplitudes#

Amplitudes: NDComplexArray | undefined;

2D complex amplitude data (shape = [N, M])

FrequencyAxis1#

FrequencyAxis1: NDAxis | undefined;

Exactly two frequency axes (enforced by validation)

FrequencyAxis2#

FrequencyAxis2: NDAxis | undefined;

e.g., f2

metadata#

metadata: {
[key: string]: string;
};

Optional metadata

Index Signature#
[key: string]: string

processingHistory#

processingHistory: ProcessingHistory | undefined;

Processing history - read-only audit log of all operations applied to this spectrum

referenceSpectrumF1?#

optional referenceSpectrumF1?: Spectrum1D;

Reference spectra for 2D NMR deconvolution F1 reference: 1D spectrum along indirect dimension

referenceSpectrumF2?#

optional referenceSpectrumF2?: Spectrum1D;

F2 reference: 1D spectrum along direct dimension


SpectrumND#

Properties#

s1d?#

optional s1d?: Spectrum1D;

s2d?#

optional s2d?: Spectrum2D;

visualizationHandler#

visualizationHandler: string;

Plugin visualization handler ID (e.g., "nanalysis:cosy_2d") Used by both frontend and backend to select appropriate visualizer


SplitComplexOutput#

Wrapper to hold either signal or spectrum

Properties#

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

StructureCandidate#

Properties#

name#

name: string;

smiles#

smiles: string;

T1NoiseSuppressionSettings#

Properties#

enabled?#

optional enabled?: boolean;

Unset means false.

magnitude?#

optional magnitude?: boolean;

As DiagonalSymmetrizationSettings.magnitude.

strength?#

optional strength?: number;

Fraction of the estimated streak removed, 0 to 1. Unset means 1.0.

thresholdSigma?#

optional thresholdSigma?: number;

Noise sigma a column's F1-constant offset must reach to count as a streak. Unset means 2.0.


Temperature#

Properties#

unit#

unit: TemperatureUnit;

value#

value: number;

TemperatureCouple#

Properties#

current#

current: Temperature | undefined;

target#

target: Temperature | undefined;

Trace#

Properties#

id?#

optional id?: string;

isAnnotation?#

optional isAnnotation?: boolean;

mode?#

optional mode?: string;

Render mode for the series: "lines" (default), "markers", or "lines+markers". Lets extracted scatter plots show as points rather than a connected line.

requestCleanup?#

optional requestCleanup?: boolean;

signal?#

optional signal?: SignalND;

spectrum?#

optional spectrum?: SpectrumND;

traceName?#

optional traceName?: string;

xTitle?#

optional xTitle?: string;

yTitle?#

optional yTitle?: string;

Tune#

Properties#

mode#

mode: string;

VerificationConflict#

Properties#

args#

args: {
[key: string]: string;
};
Index Signature#
[key: string]: string

atomIndices#

atomIndices: number[];

componentIndex#

componentIndex: number;

dismissedDecisionId?#

optional dismissedDecisionId?: string;

experiment#

experiment: VerificationExperiment;

key#

key: string;

What a dismissal is recorded against; carries no scan ids so it survives re-import.

kind#

kind: string;

Locale message key, filled by args.

severity#

severity: number;

signalIds#

signalIds: string[];

VerificationDecision#

A chemist's call on one verification item. Never deleted: undo sets revoked_at.

Properties#

action#

action: VerificationDecision_Action;

author#

author: string;

decidedAt#

decidedAt: Date | undefined;

id#

id: string;

label#

label: string;

How the item read when it was dismissed, for the log.

reason#

reason: string;

revokedAt?#

optional revokedAt?: Date;

revokedBy#

revokedBy: string;

scanId#

scanId: string;

Empty for a conflict.

target#

target: string;

The signal id within scan_id, or the conflict key.


VerificationExperimentRef#

Properties#

kind#

kind: VerificationExperiment;

scan#

scan: ScanSetEntry | undefined;

VerificationProgress#

Properties#

fraction#

fraction: number;

Share of the whole run done, 0..1.

label#

label: string;

The experiment or scan being worked on, when there is one.

stage#

stage: VerificationStage;

step#

step: number;

totalSteps#

totalSteps: number;

VerificationSuggestion#

Properties#

count#

count: number;

detail#

detail: string;

experiment#

experiment: VerificationExperiment;

reason#

reason: string;

Locale key, filled by count and detail.


Wait#

Wait for a fixed duration before continuing

Properties#

durationSeconds#

durationSeconds: number;

Duration in seconds


WaitUntil#

Wait until a specific time before continuing

Properties#

targetTime#

targetTime: string;

Target time as ISO 8601 string (e.g., "2024-01-15T09:00:00Z") If time is in the past, continues immediately

timeOfDay?#

optional timeOfDay?: string;

Alternative: time of day (24h format, e.g., "09:00" or "14:30") If specified, waits until this time today (or tomorrow if already passed)


ZeroFillSettings#

Properties#

enabled?#

optional enabled?: boolean;

Whether to apply zero filling. Unset means true.

factor#

factor: number;

Zero fill factor (e.g., 2.0 = double length). 0 selects the next power of 2. This is a total length multiplier and the resulting length is max(current_length, factor * current_length), so any factor in (0, 1) leaves the length unchanged. Consumers must warn on 0 < factor < 1.


AccumulationStrategy#

How individual scans are combined

Enumeration Members#

Enumeration Member Value
MAX 3
MEAN 0
MEDIAN 2
MIN 4
SUM 1
UNRECOGNIZED -1

AlignmentMethod#

Enumeration Members#

Enumeration Member Value Description
ALIGN_CORRELATION 1 ALIGN_CORRELATION - Cross-correlation alignment to a reference spectrum
ALIGN_REFERENCE 0 ALIGN_REFERENCE - Shift to align tallest peak near target to target PPM
UNRECOGNIZED -1 -

ApodizationSettings_WindowType#

Enumeration Members#

Enumeration Member Value
BARTLETT 7
BLACKMAN 4
BLACKMANHARRIS 5
COSINE 8
EXPONENTIAL 0
GAUSSIAN 1
HAMMING 2
HANN 3
KAISER 6
TUKEY 9
UNRECOGNIZED -1

ApplyProcessorScanStatus#

Enumeration Members#

Enumeration Member Value Description
APPLY_PROCESSOR_SCAN_STATUS_CANCELLED 5 APPLY_PROCESSOR_SCAN_STATUS_CANCELLED - The run was cancelled before this scan was reached, or while it ran.
APPLY_PROCESSOR_SCAN_STATUS_FAILED 4 -
APPLY_PROCESSOR_SCAN_STATUS_PENDING 1 -
APPLY_PROCESSOR_SCAN_STATUS_RUNNING 2 -
APPLY_PROCESSOR_SCAN_STATUS_SUCCEEDED 3 -
APPLY_PROCESSOR_SCAN_STATUS_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

AtomVerificationStatus#

Enumeration Members#

Enumeration Member Value
ATOM_VERIFICATION_STATUS_CONFIRMED 1
ATOM_VERIFICATION_STATUS_CONFLICTING 3
ATOM_VERIFICATION_STATUS_UNOBSERVED 0
ATOM_VERIFICATION_STATUS_WEAK 2
UNRECOGNIZED -1

AxisReduceAxis#

Enumeration Members#

Enumeration Member Value Description
AXIS_REDUCE_0 0 AXIS_REDUCE_0 - First axis (t1/f1)
AXIS_REDUCE_1 1 AXIS_REDUCE_1 - Second axis (t2/f2)
UNRECOGNIZED -1 -

AxisReduceOperation#

Enumeration Members#

Enumeration Member Value
AXIS_REDUCE_MAX 2
AXIS_REDUCE_MEAN 1
AXIS_REDUCE_MEDIAN 5
AXIS_REDUCE_MIN 3
AXIS_REDUCE_STD 4
AXIS_REDUCE_SUM 0
UNRECOGNIZED -1

AxisRole#

What this axis represents physically. Decoupled from DimensionType (which is about the unit system).

Enumeration Members#

Enumeration Member Value Description
AXIS_ROLE_INDIRECT 4 AXIS_ROLE_INDIRECT - Indirect evolution dimension (t1 in 2D)
AXIS_ROLE_PARAMETER 3 AXIS_ROLE_PARAMETER - Experiment parameter axis (CPMG ν, T1 delay τ, gradient G)
AXIS_ROLE_SPECTRAL 1 AXIS_ROLE_SPECTRAL - Spectral frequency axis (1H, 13C ppm/Hz)
AXIS_ROLE_TEMPORAL 2 AXIS_ROLE_TEMPORAL - Time-domain acquisition axis (FID)
AXIS_ROLE_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

BaselineCorrectionSettings_BaselineMethod#

Enumeration Members#

Enumeration Member Value Description
AIRPLS 6 AIRPLS - Adaptive iteratively reweighted penalised least squares. Inflates peak amplitudes by roughly 35% at every smoothness setting, with edge drift up to 7 sigma; offered but not recommended.
ALS 2 ALS - Hand-rolled asymmetric least squares.
ARPLS 5 ARPLS - Asymmetrically reweighted penalised least squares. The recommended method and the one to prefer as a default.
ASLS 7 ASLS - Asymmetric least squares as specified by pybaselines (p = 0.001, length-normalised lambda).
EDGE 3 -
MASKED_POLY 9 MASKED_POLY - Polynomial fit restricted to the signal-free mask (TopSpin absf equivalent).
MEDIAN 1 -
POLYNOMIAL 0 -
SNIP 8 SNIP - Statistics-sensitive non-linear iterative peak-clipping, for wide-line / solid-state spectra.
UNRECOGNIZED -1 -
VALLEY 4 -

BaselineCorrectionSettings_ImaginaryMethod#

Enumeration Members#

Enumeration Member Value Description
IMAGINARY_METHOD_AUTO 0 IMAGINARY_METHOD_AUTO - Constant offset for EDGE and MEDIAN, untouched otherwise.
IMAGINARY_METHOD_NONE 3 -
IMAGINARY_METHOD_POLYNOMIAL 2 -
IMAGINARY_METHOD_SAME 1 -
UNRECOGNIZED -1 -

BaselineRemoveAxis#

Enumeration Members#

Enumeration Member Value
BASELINE_BOTH 0
BASELINE_F1 1
BASELINE_F2 2
UNRECOGNIZED -1

ChemometricAnalysisKind#

One analysis block of a run; each is computed on its own, so one can be skipped or fail while the others still return results.

Enumeration Members#

Enumeration Member Value
CHEMOMETRIC_ANALYSIS_CLUSTERING 2
CHEMOMETRIC_ANALYSIS_KMEANS 3
CHEMOMETRIC_ANALYSIS_PCA 1
CHEMOMETRIC_ANALYSIS_STOCSY 4
CHEMOMETRIC_ANALYSIS_UNSPECIFIED 0
UNRECOGNIZED -1

ChemometricAnalysisState#

Enumeration Members#

Enumeration Member Value Description
CHEMOMETRIC_ANALYSIS_STATE_FAILED 3 -
CHEMOMETRIC_ANALYSIS_STATE_OK 1 -
CHEMOMETRIC_ANALYSIS_STATE_SKIPPED_TOO_FEW 2 CHEMOMETRIC_ANALYSIS_STATE_SKIPPED_TOO_FEW - The matrix has fewer spectra than this analysis needs.
CHEMOMETRIC_ANALYSIS_STATE_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

ChemometricDistanceMetric#

Enumeration Members#

Enumeration Member Value Description
CHEMOMETRIC_DISTANCE_CITYBLOCK 4 -
CHEMOMETRIC_DISTANCE_CORRELATION 2 CHEMOMETRIC_DISTANCE_CORRELATION - Compares shape and ignores magnitude.
CHEMOMETRIC_DISTANCE_COSINE 3 -
CHEMOMETRIC_DISTANCE_EUCLIDEAN 1 -
CHEMOMETRIC_DISTANCE_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

ChemometricLinkage#

Enumeration Members#

Enumeration Member Value Description
CHEMOMETRIC_LINKAGE_AVERAGE 2 -
CHEMOMETRIC_LINKAGE_CENTROID 5 -
CHEMOMETRIC_LINKAGE_COMPLETE 3 -
CHEMOMETRIC_LINKAGE_SINGLE 4 -
CHEMOMETRIC_LINKAGE_UNSPECIFIED 0 -
CHEMOMETRIC_LINKAGE_WARD 1 CHEMOMETRIC_LINKAGE_WARD - WARD and CENTROID are only defined on Euclidean distances.
UNRECOGNIZED -1 -

ChemometricNormalisation#

Enumeration Members#

Enumeration Member Value Description
CHEMOMETRIC_NORMALISATION_NONE 1 -
CHEMOMETRIC_NORMALISATION_PQN 3 CHEMOMETRIC_NORMALISATION_PQN - Probabilistic quotient; corrects the dilution total area mistakes for composition.
CHEMOMETRIC_NORMALISATION_REFERENCE_REGION 4 CHEMOMETRIC_NORMALISATION_REFERENCE_REGION - Divide by the integral of one window, e.g. an internal standard.
CHEMOMETRIC_NORMALISATION_TOTAL_AREA 2 CHEMOMETRIC_NORMALISATION_TOTAL_AREA - Divide each spectrum by its own total integral.
CHEMOMETRIC_NORMALISATION_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

ChemometricScaling#

Enumeration Members#

Enumeration Member Value Description
CHEMOMETRIC_SCALING_MEAN_CENTER 2 -
CHEMOMETRIC_SCALING_NONE 1 CHEMOMETRIC_SCALING_NONE - Leaves the matrix uncentred, so PC1 describes the mean spectrum.
CHEMOMETRIC_SCALING_PARETO 3 CHEMOMETRIC_SCALING_PARETO - Divide by sqrt(sd): between no scaling and unit variance.
CHEMOMETRIC_SCALING_UNIT_VARIANCE 4 -
CHEMOMETRIC_SCALING_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

ComponentRole#

What a component is doing in the tube.

Enumeration Members#

Enumeration Member Value
COMPONENT_ROLE_ANALYTE 1
COMPONENT_ROLE_IMPURITY 4
COMPONENT_ROLE_INTERNAL_STANDARD 3
COMPONENT_ROLE_REFERENCE 5
COMPONENT_ROLE_SOLVENT 2
COMPONENT_ROLE_UNSPECIFIED 0
UNRECOGNIZED -1

ConcentrationUnit#

Enumeration Members#

Enumeration Member Value Description
CONCENTRATION_UNIT_MG_PER_ML 4 CONCENTRATION_UNIT_MG_PER_ML - mg/mL
CONCENTRATION_UNIT_MICROMOLAR 3 CONCENTRATION_UNIT_MICROMOLAR - µmol/L
CONCENTRATION_UNIT_MILLIMOLAR 2 CONCENTRATION_UNIT_MILLIMOLAR - mmol/L
CONCENTRATION_UNIT_MOLAR 1 CONCENTRATION_UNIT_MOLAR - mol/L
CONCENTRATION_UNIT_PERCENT_VV 6 CONCENTRATION_UNIT_PERCENT_VV - % v/v
CONCENTRATION_UNIT_PERCENT_WW 5 CONCENTRATION_UNIT_PERCENT_WW - % w/w
CONCENTRATION_UNIT_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

ConditionType#

Enumeration Members#

Enumeration Member Value Description
EXPRESSION 2 EXPRESSION - Custom expression (reserved for future use)
LAST_STEP_PASSED 0 LAST_STEP_PASSED - Previous step completed successfully (not failed/skipped)
QC_PASSED 1 QC_PASSED - Last QC measurement passed all thresholds
UNRECOGNIZED -1 -

CovarianceSettings_CovarianceMode#

Enumeration Members#

Enumeration Member Value Description
COVARIANCE_MODE_DIRECT 0 COVARIANCE_MODE_DIRECT - Contract over F1; both axes of the result carry F2's resolution.
COVARIANCE_MODE_INDIRECT 1 COVARIANCE_MODE_INDIRECT - Contract over F2: correlates the two X nuclei sharing a proton partner.
UNRECOGNIZED -1 -

CrossPeakAssignmentConflict_Kind#

Enumeration Members#

Enumeration Member Value Description
CONFLICT_KIND_AMBIGUOUS 1 CONFLICT_KIND_AMBIGUOUS - Runner-up scored close enough that the call is a guess, not a result.
CONFLICT_KIND_CONTESTED 2 CONFLICT_KIND_CONTESTED - Several crosspeaks claim one atom pair where only one can hold it.
CONFLICT_KIND_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

DataDomain#

Domain of acquired data

Enumeration Members#

Enumeration Member Value Description
FREQUENCY 1 -
HYBRID 3 HYBRID - Mixed domains (e.g., 2D NMR)
RAW 4 RAW - Raw ADC data
SPATIAL 2 -
TIME 0 -
UNRECOGNIZED -1 -

DeviceKind#

Enumeration Members#

Enumeration Member Value
NMR_RELAXOMETER 0
UNRECOGNIZED -1

DiagonalSymmetrizationSettings_SymmetrizationMethod#

Enumeration Members#

Enumeration Member Value Description
SYMMETRIZATION_METHOD_AVERAGE 1 SYMMETRIZATION_METHOD_AVERAGE - Average the pair: halves a one-sided artefact instead of removing it.
SYMMETRIZATION_METHOD_MINIMUM 0 SYMMETRIZATION_METHOD_MINIMUM - Keep the smaller magnitude of each mirrored pair, removing a one-sided peak.
UNRECOGNIZED -1 -

DimensionType#

Enumeration Members#

Enumeration Member Value
FREQUENCY 1
SPATIAL 2
TIME 0
UNRECOGNIZED -1

ExperimentType#

Type of NMR experiment. Best-effort auto-detected from pulse program name during import, or set manually. UNSPECIFIED is a valid default for unknown experiments.

Enumeration Members#

Enumeration Member Value Description
EXPERIMENT_1D 1 EXPERIMENT_1D - 1D
EXPERIMENT_APT 4 EXPERIMENT_APT - Attached proton test (J-modulated spin echo): C and CH2 one way, CH and CH3 the other, so its lines are phased absorptive and never turned upright.
EXPERIMENT_COSY 10 EXPERIMENT_COSY - Homonuclear 2D
EXPERIMENT_DEPT 2 EXPERIMENT_DEPT - Multiplicity-edited 1D carbon: CH and CH3 up, CH2 down.
EXPERIMENT_DEPT_135 3 EXPERIMENT_DEPT_135 - DEPT-135 specifically: CH and CH3 up, CH2 down. Kept distinct because its mixed polarity requires polarity-preserving phase/window processing.
EXPERIMENT_DOSY 40 EXPERIMENT_DOSY - Other
EXPERIMENT_HETCOR 23 EXPERIMENT_HETCOR - Carbon-detected heteronuclear correlation: the direct axis is 13C, not 1H.
EXPERIMENT_HMBC 22 -
EXPERIMENT_HMQC 21 -
EXPERIMENT_HSQC 20 EXPERIMENT_HSQC - Heteronuclear 2D
EXPERIMENT_JRES 13 -
EXPERIMENT_KINETICS 41 EXPERIMENT_KINETICS - Arrayed 1D spectra against time (reaction monitoring); F1 is the acquisition time.
EXPERIMENT_NOESY 11 -
EXPERIMENT_ROESY 14 -
EXPERIMENT_T1_IR 30 EXPERIMENT_T1_IR - Relaxation
EXPERIMENT_T2_CPMG 31 EXPERIMENT_T2_CPMG - CPMG T2
EXPERIMENT_T2_SE 32 EXPERIMENT_T2_SE - Spin-echo T2
EXPERIMENT_TOCSY 12 -
EXPERIMENT_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

FFTMethod#

Enumeration Members#

Enumeration Member Value
FFT_FULL 1
FFT_REAL 0
FFT_STANDARD 2
UNRECOGNIZED -1

FFTSettings_FFTMethod#

Enumeration Members#

Enumeration Member Value
FULL 1
REAL 0
STANDARD 2
UNRECOGNIZED -1

FrequencyUnit#

Enumeration Members#

Enumeration Member Value
GIGAHERTZ 3
HERTZ 0
KILOHERTZ 1
MEGAHERTZ 2
PPM 4
UNRECOGNIZED -1

GeneratorMode#

Enumeration Members#

Enumeration Member Value
FID 1
FORMULA 0
UNRECOGNIZED -1

GeneratorNoiseType#

Enumeration Members#

Enumeration Member Value
AMPLITUDE 9
BASELINE_DRIFT 11
COLORED 6
EXPONENTIAL 3
GAUSSIAN 0
PHASE 8
PINK 5
POISSON 2
RAYLEIGH 4
SPIKE 10
THERMAL 7
UNIFORM 1
UNRECOGNIZED -1

InterpolateMethod#

Enumeration Members#

Enumeration Member Value
INTERP_CUBIC 1
INTERP_LINEAR 0
INTERP_NEAREST 2
UNRECOGNIZED -1

LinearUnit#

Enumeration Members#

Enumeration Member Value
CENTIMETER 2
MILLIMETER 1
NANOMETER 0
UNRECOGNIZED -1

LogLevel#

Enumeration Members#

Enumeration Member Value
CRITICAL 4
DEBUG 5
ERROR 3
INFO 0
SUCCESS 1
UNRECOGNIZED -1
WARNING 2

MassUnit#

Enumeration Members#

Enumeration Member Value
GRAM 2
MILLIGRAM 1
NANOGRAM 0
UNRECOGNIZED -1

MathOperation#

Enumeration Members#

Enumeration Member Value
MATH_ABS 4
MATH_ADD 0
MATH_DIV 3
MATH_EXP 6
MATH_LOG 5
MATH_MUL 2
MATH_POW 8
MATH_SQRT 7
MATH_SUB 1
UNRECOGNIZED -1

NMRPulseDirection#

Enumeration Members#

Enumeration Member Value
D0 0
D180 2
D270 3
D360 4
D90 1
ECHO 5
RINGING 6
UNRECOGNIZED -1

Nucleus#

Nucleus type for NMR spectroscopy. Used on NDAxis to identify which isotope a dimension tracks.

Enumeration Members#

Enumeration Member Value Description
NUCLEUS_AL27 14 NUCLEUS_AL27 - ²⁷Al (aluminium-27)
NUCLEUS_B11 12 NUCLEUS_B11 - ¹¹B (boron-11)
NUCLEUS_C13 2 NUCLEUS_C13 - ¹³C (carbon-13)
NUCLEUS_CL35 22 NUCLEUS_CL35 - ³⁵Cl (chlorine-35)
NUCLEUS_F19 3 NUCLEUS_F19 - ¹⁹F (fluorine-19)
NUCLEUS_H1 1 NUCLEUS_H1 - ¹H (proton)
NUCLEUS_H2 6 NUCLEUS_H2 - ²H (deuterium)
NUCLEUS_I127 10 NUCLEUS_I127 - ¹²⁷I (iodine-127)
NUCLEUS_LI7 13 NUCLEUS_LI7 - ⁷Li (lithium-7)
NUCLEUS_MG25 8 NUCLEUS_MG25 - ²⁵Mg (magnesium-25)
NUCLEUS_N14 16 NUCLEUS_N14 - ¹⁴N (nitrogen-14)
NUCLEUS_N15 5 NUCLEUS_N15 - ¹⁵N (nitrogen-15)
NUCLEUS_NA23 7 NUCLEUS_NA23 - ²³Na (sodium-23)
NUCLEUS_O17 15 NUCLEUS_O17 - ¹⁷O (oxygen-17)
NUCLEUS_P31 4 NUCLEUS_P31 - ³¹P (phosphorus-31)
NUCLEUS_PT195 19 NUCLEUS_PT195 - ¹⁹⁵Pt (platinum-195)
NUCLEUS_RB87 9 NUCLEUS_RB87 - ⁸⁷Rb (rubidium-87)
NUCLEUS_SE77 17 NUCLEUS_SE77 - ⁷⁷Se (selenium-77)
NUCLEUS_SI29 11 NUCLEUS_SI29 - ²⁹Si (silicon-29)
NUCLEUS_SN119 18 NUCLEUS_SN119 - ¹¹⁹Sn (tin-119)
NUCLEUS_UNSPECIFIED 0 -
NUCLEUS_V51 21 NUCLEUS_V51 - ⁵¹V (vanadium-51)
NUCLEUS_XE129 20 NUCLEUS_XE129 - ¹²⁹Xe (xenon-129)
UNRECOGNIZED -1 -

PageLayout#

How a page with several scans arranges them; a one-scan page ignores it.

Enumeration Members#

Enumeration Member Value Description
PAGE_LAYOUT_ABOVE_BELOW 3 -
PAGE_LAYOUT_OVERLAY 0 -
PAGE_LAYOUT_SIDE_BY_SIDE 2 -
PAGE_LAYOUT_STACKED 1 PAGE_LAYOUT_STACKED - Overlaid with a vertical offset per scan.
UNRECOGNIZED -1 -

PageTraceView#

Enumeration Members#

Enumeration Member Value
PAGE_TRACE_VIEW_SIGNAL 1
PAGE_TRACE_VIEW_SPECTRUM 0
UNRECOGNIZED -1

PeakEditKind#

Enumeration Members#

Enumeration Member Value Description
EDIT_KIND_ADD 1 EDIT_KIND_ADD - Place a line the detector did not find.
EDIT_KIND_ANNOTATE 8 EDIT_KIND_ANNOTATE - Attach free text.
EDIT_KIND_ASSIGN 10 EDIT_KIND_ASSIGN - Bind a crosspeak to a pair of atoms, or clear that binding. The log is where a manual 2D assignment must live, so that it survives a reprocess.
EDIT_KIND_DELETE 2 EDIT_KIND_DELETE - Remove a line for good. A true deletion, not a hidden tier: the POSITION is suppressed on every later replay, so a detector that re-finds the line has it removed again rather than resurrecting it into exports.
EDIT_KIND_GROUP 5 EDIT_KIND_GROUP - Merge several lines into one multiplet. Anchors are the members.
EDIT_KIND_MOVE 3 EDIT_KIND_MOVE - Reposition a line.
EDIT_KIND_SET_FIELD 4 EDIT_KIND_SET_FIELD - Override integral / pattern / j_couplings / label.
EDIT_KIND_SET_REFERENCE 9 EDIT_KIND_SET_REFERENCE - Re-reference the axis. Recorded, not anchored to — see PeakAnchor.
EDIT_KIND_SET_TIER 7 EDIT_KIND_SET_TIER - Override the automatic ShiftTier. This is the ONLY persistence a tier override gets: ChemicalShiftGroup.tier_source becomes "user" when one of these replays onto the signal.
EDIT_KIND_UNGROUP 6 EDIT_KIND_UNGROUP - Split a multiplet at an explicit boundary in Hz.
EDIT_KIND_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

PeakOrigin#

Where a peak came from. Deliberately narrow: AUTO or INFERRED, nothing else. "A human touched this" is answered by the peak edit log (see PeakEdit below) and by PeakInfo.edit_ids, never here — origin, source and "has edits" used to say it three ways, which is three ways to drift.

Enumeration Members#

Enumeration Member Value Description
PEAK_ORIGIN_AUTO 0 -
PEAK_ORIGIN_INFERRED 2 PEAK_ORIGIN_INFERRED - Not measured: a line the multiplet analysis concluded must exist but the detector did not pick, synthesised only when the trace carries the intensity the pattern predicts at that position. Its height is the PREDICTED height and its area is zero, so it never contributes to an integral or to a reported peak count. Consumers must render it as distinct from a measured line.
PEAK_ORIGIN_MANUAL 1 PEAK_ORIGIN_MANUAL - Deprecated: a hand-placed peak is the projection of an EDIT_KIND_ADD entry in the scan's peak edit log. Kept only so old saved scans parse. Deprecated
UNRECOGNIZED -1 -

PeakPickingMethod#

Which detector runs in auto mode.

Enumeration Members#

Enumeration Member Value Description
PEAK_PICKING_METHOD_CLASSICAL 1 PEAK_PICKING_METHOD_CLASSICAL - Threshold pass plus deconvolution against the measured lineshape.
PEAK_PICKING_METHOD_LEARNED 0 PEAK_PICKING_METHOD_LEARNED - The learned detector. Finds shoulders and merged components a threshold pass cannot, and is invariant to line broadening.
UNRECOGNIZED -1 -

PhaseAutoCorrAxis#

Enumeration Members#

Enumeration Member Value
PHASE_AUTO_BOTH 0
PHASE_AUTO_F1 1
PHASE_AUTO_F2 2
UNRECOGNIZED -1

PhaseAutoCorrMethod#

Enumeration Members#

Enumeration Member Value
PHASE_AUTO_ACME 0
PHASE_AUTO_PEAK 1
UNRECOGNIZED -1

PhaseCorrAxis#

Enumeration Members#

Enumeration Member Value
PHASE_CORR_BOTH 0
PHASE_CORR_F1 1
PHASE_CORR_F2 2
UNRECOGNIZED -1

~~PhaseCorrectionSettings_PhaseCorrectionMethod~~#

Deprecated#

  • superseded by PhaseMode / PhaseOrder.

Enumeration Members#

Enumeration Member Value
AUTO_ACME 0
AUTO_PEAK 1
UNRECOGNIZED -1

PhaseCorrectionSettings_PhaseMode#

How the phase correction is determined.

Enumeration Members#

Enumeration Member Value
PHASE_MODE_AUTO 0
PHASE_MODE_MANUAL 1
PHASE_MODE_NONE 2
UNRECOGNIZED -1

PhaseCorrectionSettings_PhaseOrder#

Polynomial order of the auto-phase model.

Enumeration Members#

Enumeration Member Value Description
PHASE_ORDER_AUTO 0 PHASE_ORDER_AUTO - Let the estimator choose between first and second order using its model-order rule.
PHASE_ORDER_FIRST 1 PHASE_ORDER_FIRST - Zero + first order only (p0, p1).
PHASE_ORDER_SECOND 2 PHASE_ORDER_SECOND - Zero + first + second order (p0, p1, p2).
UNRECOGNIZED -1 -

PhaseCorrectionSettings_PivotMode#

Enumeration Members#

Enumeration Member Value Description
PIVOT_FIRST_POINT 0 PIVOT_FIRST_POINT - nmrglue convention: the ramp is parameterised over k/n with the pivot at the first point.
PIVOT_MANUAL 2 PIVOT_MANUAL - Pivot at pivot_ppm.
PIVOT_MAX_PEAK 1 PIVOT_MAX_PEAK - Pivot at the tallest peak.
UNRECOGNIZED -1 -

PhaseCorrMethod#

Enumeration Members#

Enumeration Member Value
PHASE_CORR_EXP 1
PHASE_CORR_LINEAR 0
UNRECOGNIZED -1

PhaseShiftMethod#

Phase shift method for spectrum phase correction

Enumeration Members#

Enumeration Member Value Description
PHASE_SHIFT_EXPONENTIAL 1 PHASE_SHIFT_EXPONENTIAL - Exponential phase shift
PHASE_SHIFT_LINEAR 0 PHASE_SHIFT_LINEAR - Linear phase shift
UNRECOGNIZED -1 -

PhaseUnit#

Enumeration Members#

Enumeration Member Value
PHASE_UNIT_DEGREES 1
PHASE_UNIT_RADIANS 0
UNRECOGNIZED -1

PlotAnnotationKind#

Enumeration Members#

Enumeration Member Value Description
PLOT_ANNOTATION_ARROW 2 -
PLOT_ANNOTATION_BRACKET 9 -
PLOT_ANNOTATION_DIAMOND 8 -
PLOT_ANNOTATION_ELLIPSE 5 -
PLOT_ANNOTATION_HIGHLIGHT 11 PLOT_ANNOTATION_HIGHLIGHT - Translucent band; spans the full plot height when only x is data-anchored (1D).
PLOT_ANNOTATION_IMAGE 10 -
PLOT_ANNOTATION_LINE 3 -
PLOT_ANNOTATION_PEN 6 -
PLOT_ANNOTATION_RECTANGLE 4 -
PLOT_ANNOTATION_TEXT 1 -
PLOT_ANNOTATION_TRIANGLE 7 -
PLOT_ANNOTATION_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

PlotDoubleClickAction#

Enumeration Members#

Enumeration Member Value
AUTOSIZE 1
RESET 0
RESET_AUTOSIZE 2
UNRECOGNIZED -1

PlotExportFormat#

Enumeration Members#

Enumeration Member Value
JPG 2
PNG 0
SVG 1
UNRECOGNIZED -1
WEBP 3

PlotLegendOrientation#

Enumeration Members#

Enumeration Member Value
HORIZONTAL 1
UNRECOGNIZED -1
VERTICAL 0

PlotModeBarMode#

Enumeration Members#

Enumeration Member Value
ALWAYS 2
HOVER 1
NEVER 0
UNRECOGNIZED -1

PredefinedSolvent#

Predefined deuterated solvent identifiers

Enumeration Members#

Enumeration Member Value Description
SOLVENT_ACETIC_ACID_D4 13 SOLVENT_ACETIC_ACID_D4 - Acetic acid-d4
SOLVENT_ACETONE_D6 6 SOLVENT_ACETONE_D6 - Acetone-d6
SOLVENT_C6D6 5 SOLVENT_C6D6 - Benzene-d6
SOLVENT_CD2CL2 8 SOLVENT_CD2CL2 - Dichloromethane-d2
SOLVENT_CD3CN 7 SOLVENT_CD3CN - Acetonitrile-d3
SOLVENT_CD3OD 4 SOLVENT_CD3OD - Methanol-d4
SOLVENT_CDCL3 1 SOLVENT_CDCL3 - Chloroform-d
SOLVENT_D2O 3 SOLVENT_D2O - Deuterium Oxide
SOLVENT_DIOXANE_D8 15 SOLVENT_DIOXANE_D8 - 1,4-Dioxane-d8
SOLVENT_DMF_D7 12 SOLVENT_DMF_D7 - DMF-d7
SOLVENT_DMSO_D6 2 SOLVENT_DMSO_D6 - DMSO-d6
SOLVENT_PYRIDINE_D5 11 SOLVENT_PYRIDINE_D5 - Pyridine-d5
SOLVENT_TFA_D 14 SOLVENT_TFA_D - Trifluoroacetic acid-d
SOLVENT_THF_D8 9 SOLVENT_THF_D8 - THF-d8
SOLVENT_TOLUENE_D8 10 SOLVENT_TOLUENE_D8 - Toluene-d8
SOLVENT_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

ProcessingOperation#

Enumeration Members#

Enumeration Member Value
ACCUMULATION 6
APODIZATION 3
BASELINE_CORRECTION 2
FFT 0
FILTERING 7
IFFT 1
PHASE_CORRECTION 5
UNRECOGNIZED -1
ZERO_FILLING 4

QNMRMethod#

Enumeration Members#

Enumeration Member Value Description
QNMR_ELECTRONIC_REFERENCE 4 QNMR_ELECTRONIC_REFERENCE - A calibrated instrument response replaces a reference compound (ERETIC and its variants).
QNMR_EXTERNAL_STANDARD 2 -
QNMR_INTERNAL_STANDARD 1 -
QNMR_METHOD_UNSPECIFIED 0 -
QNMR_PULCON 3 QNMR_PULCON - Certified external reference, corrected by the reciprocity relation and temperature.
QNMR_RELATIVE_100 5 QNMR_RELATIVE_100 - Relative purity from the analyte's share of every quantified signal; no standard, no mass.
UNRECOGNIZED -1 -

QNMRSuitabilityStatus#

Where region suitability asks whether a peak can be integrated, these ask whether the experiment was set up so the integral means what the purity formula assumes.

Enumeration Members#

Enumeration Member Value Description
QNMR_SUITABILITY_FAIL 3 -
QNMR_SUITABILITY_PASS 1 -
QNMR_SUITABILITY_UNKNOWN 4 QNMR_SUITABILITY_UNKNOWN - parameter not on record; not a pass
QNMR_SUITABILITY_UNSPECIFIED 0 -
QNMR_SUITABILITY_WARN 2 -
UNRECOGNIZED -1 -

ReferenceCorrectionSettings_ReferenceMode#

Enumeration Members#

Enumeration Member Value Description
REFERENCE_MODE_ACQUISITION 0 REFERENCE_MODE_ACQUISITION - 2D: correct against a companion reference acquisition.
REFERENCE_MODE_FREQUENCY 2 REFERENCE_MODE_FREQUENCY - 1D: set the ppm scale from an explicit carrier frequency.
REFERENCE_MODE_SOLVENT 1 REFERENCE_MODE_SOLVENT - 1D: set the ppm scale from a known solvent peak.
UNRECOGNIZED -1 -

SampleDimensions_Shape#

Enumeration Members#

Enumeration Member Value
CUBE 0
CYLINDER 1
UNRECOGNIZED -1

ScanKind#

Enumeration Members#

Enumeration Member Value
NMR_RELAX_1D 0
NMR_RELAX_2D 1
UNRECOGNIZED -1

SequenceDefinitionMode#

Enumeration Members#

Enumeration Member Value
CODE 0
GRAPH 1
UNRECOGNIZED -1

SeriesAlignment#

Enumeration Members#

Enumeration Member Value Description
SERIES_ALIGNMENT_REFERENCE 1 SERIES_ALIGNMENT_REFERENCE - Each spectrum on its own sample's reference line: the internal standard when its line is present, else the solvent residual.
SERIES_ALIGNMENT_WINDOW 0 SERIES_ALIGNMENT_WINDOW - On the centroid of the align_low/high window; no alignment when the window is unset.
UNRECOGNIZED -1 -

SeriesMetric#

Enumeration Members#

Enumeration Member Value Description
SERIES_METRIC_HEIGHT 2 -
SERIES_METRIC_INTEGRAL 1 -
SERIES_METRIC_POSITION 3 SERIES_METRIC_POSITION - Intensity-weighted centroid of the region, ppm (follows a titrating shift).
SERIES_METRIC_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

SeriesModel#

Enumeration Members#

Enumeration Member Value Description
SERIES_MODEL_EXPONENTIAL 5 SERIES_MODEL_EXPONENTIAL - y = y_inf + (y0 - y_inf)·exp(-k·x): decay or growth to a plateau
SERIES_MODEL_FIRST_ORDER 3 SERIES_MODEL_FIRST_ORDER - y = y0·exp(-k·x)
SERIES_MODEL_NONE 1 -
SERIES_MODEL_SECOND_ORDER 4 SERIES_MODEL_SECOND_ORDER - y = y0 / (1 + k·y0·x)
SERIES_MODEL_SIGMOID 6 SERIES_MODEL_SIGMOID - y = y_low + (y_high - y_low) / (1 + 10^(n·(x50 - x))), n > 0
SERIES_MODEL_UNSPECIFIED 0 -
SERIES_MODEL_ZERO_ORDER 2 SERIES_MODEL_ZERO_ORDER - y = y0 - k·x
UNRECOGNIZED -1 -

SeriesPalette#

Enumeration Members#

Enumeration Member Value
SERIES_PALETTE_DEFAULT 0
SERIES_PALETTE_OKABE_ITO 1
UNRECOGNIZED -1

SeriesTimeUnit#

Enumeration Members#

Enumeration Member Value
SERIES_TIME_UNIT_HOURS 3
SERIES_TIME_UNIT_MINUTES 2
SERIES_TIME_UNIT_SECONDS 1
SERIES_TIME_UNIT_UNSPECIFIED 0
UNRECOGNIZED -1

SeriesVariable#

Enumeration Members#

Enumeration Member Value Description
SERIES_VARIABLE_ARRAY 3 SERIES_VARIABLE_ARRAY - The arrayed acquisition's own indirect axis (delay list, gradient b-value).
SERIES_VARIABLE_CUSTOM 2 SERIES_VARIABLE_CUSTOM - A value entered per point (SeriesPoint.x), e.g. temperature or pH.
SERIES_VARIABLE_ORDER 4 SERIES_VARIABLE_ORDER - Position in the working set (1, 2, …); an arrayed scan's increments count one each.
SERIES_VARIABLE_TIME 1 SERIES_VARIABLE_TIME - Time since the earliest acquisition timestamp.
SERIES_VARIABLE_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

ShiftReferenceMethod#

Enumeration Members#

Enumeration Member Value Description
SHIFT_REFERENCE_METHOD_EXTERNAL 2 -
SHIFT_REFERENCE_METHOD_INTERNAL 1 -
SHIFT_REFERENCE_METHOD_UNSPECIFIED 0 -
SHIFT_REFERENCE_METHOD_XI_RATIO 3 SHIFT_REFERENCE_METHOD_XI_RATIO - IUPAC 2001 unified scale: Xi ratio against the 1H reference frequency.
UNRECOGNIZED -1 -

ShiftTier#

How a signal should be treated as a chemical shift. Nothing is ever removed from the response on account of its tier; the tier is a label that display, matching and export are each free to interpret differently.

Enumeration Members#

Enumeration Member Value Description
SHIFT_TIER_ARTIFACT 3 SHIFT_TIER_ARTIFACT - Explained by something other than the analyte.
SHIFT_TIER_EXCLUDED 4 SHIFT_TIER_EXCLUDED - Held out of every downstream consumer, by user action.
SHIFT_TIER_MINOR 2 SHIFT_TIER_MINOR - Real and kept, but below what a chemist would write down.
SHIFT_TIER_REPORTED 1 SHIFT_TIER_REPORTED - Belongs in the reported shift list.
SHIFT_TIER_UNSPECIFIED 0 -
UNRECOGNIZED -1 -

SignalVerificationStatus#

Enumeration Members#

Enumeration Member Value
SIGNAL_VERIFICATION_STATUS_ARTIFACT 3
SIGNAL_VERIFICATION_STATUS_EXPLAINED 1
SIGNAL_VERIFICATION_STATUS_IMPURITY_OR_SOLVENT 2
SIGNAL_VERIFICATION_STATUS_UNEXPLAINED 0
UNRECOGNIZED -1

SliceAxis#

Enumeration Members#

Enumeration Member Value Description
SLICE_AXIS_0 0 SLICE_AXIS_0 - Slice along first axis (get row at t1/f1 position)
SLICE_AXIS_1 1 SLICE_AXIS_1 - Slice along second axis (get column at t2/f2 position)
UNRECOGNIZED -1 -

SlicePositionMode#

Enumeration Members#

Enumeration Member Value Description
SLICE_INDEX 0 SLICE_INDEX - Position is an array index
SLICE_VALUE 1 SLICE_VALUE - Position is a value in axis units (will find nearest)
UNRECOGNIZED -1 -

SolventSuppressionSettings_SuppressionMode#

Enumeration Members#

Enumeration Member Value Description
SUPPRESSION_MODE_FID_LOWPASS 0 SUPPRESSION_MODE_FID_LOWPASS - FID-domain low-pass convolution subtraction (nmrglue sol_* / TopSpin qfil).
SUPPRESSION_MODE_FREQUENCY_REGION 1 SUPPRESSION_MODE_FREQUENCY_REGION - Frequency-domain region zeroing.
SUPPRESSION_MODE_KNOWN_LINE_FIT 2 SUPPRESSION_MODE_KNOWN_LINE_FIT - Frequency-domain fit and subtraction of the solvent's own line at the shift the sample's recorded solvent predicts for the observed nucleus. Only the fitted solvent component is removed, so signal that overlaps it survives. Does nothing when the sample records no solvent, or when the solvent has no known shift for the observed nucleus.
UNRECOGNIZED -1 -

SuppressionMethod#

Enumeration Members#

Enumeration Member Value Description
SUPPRESS_INTERPOLATE 1 SUPPRESS_INTERPOLATE - Linear interpolation between region edges
SUPPRESS_POLYNOMIAL 2 SUPPRESS_POLYNOMIAL - Cubic polynomial fit to edges, fill region
SUPPRESS_ZERO 0 SUPPRESS_ZERO - Set amplitudes to zero
UNRECOGNIZED -1 -

TemperatureUnit#

Enumeration Members#

Enumeration Member Value
C 0
F 1
K 2
UNRECOGNIZED -1

TimeUnit#

Enumeration Members#

Enumeration Member Value
DAY 6
HOUR 5
MICROSECOND 2
MILLISECOND 1
MINUTE 4
NANOSECOND 3
SECOND 0
UNRECOGNIZED -1
WEEK 7

VerificationDecision_Action#

Enumeration Members#

Enumeration Member Value
ACTION_DISMISS_CONFLICT 2
ACTION_DISMISS_SIGNAL 1
ACTION_UNSPECIFIED 0
UNRECOGNIZED -1

VerificationExperiment#

Enumeration Members#

Enumeration Member Value
UNRECOGNIZED -1
VERIFICATION_EXPERIMENT_C13 2
VERIFICATION_EXPERIMENT_COSY 5
VERIFICATION_EXPERIMENT_H1 1
VERIFICATION_EXPERIMENT_HMBC 4
VERIFICATION_EXPERIMENT_HSQC 3
VERIFICATION_EXPERIMENT_UNSPECIFIED 0

VerificationStage#

Stages of one verification, in the order they run.

Enumeration Members#

Enumeration Member Value Description
UNRECOGNIZED -1 -
VERIFICATION_STAGE_CLASSIFY 2 VERIFICATION_STAGE_CLASSIFY - Telling each experiment's channel; step/total_steps count scans.
VERIFICATION_STAGE_EXPERIMENTS 1 VERIFICATION_STAGE_EXPERIMENTS - Listing the sample's experiments.
VERIFICATION_STAGE_READ 3 VERIFICATION_STAGE_READ - Picking peaks of the newest scan per channel; step/total_steps count experiments.
VERIFICATION_STAGE_REPORT 5 VERIFICATION_STAGE_REPORT - Drawing the structures and building the answer.
VERIFICATION_STAGE_UNSPECIFIED 0 -
VERIFICATION_STAGE_VERIFY 4 VERIFICATION_STAGE_VERIFY - Matching the structures against the evidence.

VerificationVerdict#

Enumeration Members#

Enumeration Member Value
UNRECOGNIZED -1
VERIFICATION_VERDICT_CONSISTENT 1
VERIFICATION_VERDICT_INCONSISTENT 3
VERIFICATION_VERDICT_NEEDS_REVIEW 2
VERIFICATION_VERDICT_UNSPECIFIED 0

WindowAxis#

For 2D FFT, which axis to apply window to

Enumeration Members#

Enumeration Member Value
UNRECOGNIZED -1
WINDOW_AXIS_BOTH 0
WINDOW_AXIS_T1 1
WINDOW_AXIS_T2 2

WindowType#

Enumeration Members#

Enumeration Member Value
UNRECOGNIZED -1
WINDOW_BARTLETT 8
WINDOW_BLACKMAN 5
WINDOW_BLACKMANHARRIS 6
WINDOW_COSINE 9
WINDOW_EXPONENTIAL 1
WINDOW_GAUSSIAN 2
WINDOW_HAMMING 3
WINDOW_HANN 4
WINDOW_KAISER 7
WINDOW_NONE 0
WINDOW_TUKEY 10

ZeroFillAxis#

Enumeration Members#

Enumeration Member Value
UNRECOGNIZED -1
ZERO_FILL_BOTH 0
ZERO_FILL_T1 1
ZERO_FILL_T2 2