Skip to content

store/qnmr#

emptyThresholds()#

function emptyThresholds(): QNMRThresholdDraft;

Returns#

QNMRThresholdDraft


acknowledgeQnmrOverride#

const acknowledgeQnmrOverride: any;

addQnmrSignal#

const addQnmrSignal: any;

clearQnmrRegionRoles#

const clearQnmrRegionRoles: any;

CROSS_ACQUISITION_METHODS#

const CROSS_ACQUISITION_METHODS: readonly QNMRMethodKey[];

Methods that quantify against a second, separately acquired spectrum.


patchQnmrAnalyte#

const patchQnmrAnalyte: any;

patchQnmrReference#

const patchQnmrReference: any;

patchQnmrSettings#

const patchQnmrSettings: any;

patchQnmrThresholds#

const patchQnmrThresholds: any;

qnmr#

const qnmr: any;

QNMR_METHOD_KEYS#

const QNMR_METHOD_KEYS: readonly ["internal_standard", "external_standard", "pulcon", "electronic_reference", "relative_100"];

The methods, keyed by name rather than by the wire enum's number.


QNMR_STEPS#

const QNMR_STEPS: readonly ["intake", "recipe", "regions", "suitability", "quantitation", "uncertainty", "audit", "report"];

The steps of the run, in the order an analyst works through them.


qnmrAssessFailed#

const qnmrAssessFailed: any;

qnmrAssessStarted#

const qnmrAssessStarted: any;

qnmrRegionSuitabilityReceived#

const qnmrRegionSuitabilityReceived: any;

qnmrRunFailed#

const qnmrRunFailed: any;

qnmrRunFinished#

const qnmrRunFinished: any;

qnmrRunStarted#

const qnmrRunStarted: any;

qnmrScanChanged#

const qnmrScanChanged: any;

qnmrSystemSuitabilityReceived#

const qnmrSystemSuitabilityReceived: any;

REFERENCE_COMPOUND_METHODS#

const REFERENCE_COMPOUND_METHODS: readonly QNMRMethodKey[];

Methods that integrate a reference compound and so need regions naming it.


removeQnmrSignal#

const removeQnmrSignal: any;

resetQnmr#

const resetQnmr: any;

resetQnmrThresholds#

const resetQnmrThresholds: any;

setQnmrMethod#

const setQnmrMethod: any;

setQnmrOriginPage#

const setQnmrOriginPage: any;

setQnmrReferenceScan#

const setQnmrReferenceScan: any;

setQnmrRegionRole#

const setQnmrRegionRole: any;

setQnmrReplicates#

const setQnmrReplicates: any;

setQnmrReplicateText#

const setQnmrReplicateText: any;

setQnmrStep#

const setQnmrStep: any;

setStdLigandExcessText#

const setStdLigandExcessText: any;

setStdOnScan#

const setStdOnScan: any;

updateQnmrSignal#

const updateQnmrSignal: any;

QNMRCompoundDraft#

One compound's inputs. Nulls are "not yet entered", which is not the same as zero.

Properties#

massMg#

massMg: number | null;

massUncertaintyMg#

massUncertaintyMg: number | null;

molarMass#

molarMass: number | null;

molarMassUncertainty#

molarMassUncertainty: number | null;

name#

name: string;

numNuclei#

numNuclei: number | null;

purityPercent#

purityPercent: number | null;

purityUncertaintyPercent#

purityUncertaintyPercent: number | null;

QNMRSignalDraft#

A species quantified by the 100 % method.

Properties#

id#

id: string;

isAnalyte#

isAnalyte: boolean;

molarMass#

molarMass: number | null;

name#

name: string;

numNuclei#

numNuclei: number | null;

regionNames#

regionNames: string[];

QNMRState#

Properties#

analyte#

analyte: QNMRCompoundDraft;

assessing#

assessing: boolean;

coverageFactor#

coverageFactor: number;

error#

error: string | null;

method#

method: 
  | "internal_standard"
  | "external_standard"
  | "pulcon"
  | "electronic_reference"
  | "relative_100";

originPage#

originPage: string;

Page whose plot the run was started from, so "draw in the plot" goes back there.

overrideAcknowledged#

overrideAcknowledged: boolean;

The analyst accepted the suitability caveats and chose to proceed anyway.

reference#

reference: QNMRCompoundDraft;

referenceConcentrationMgMl#

referenceConcentrationMgMl: number | null;

referenceConcentrationUncertaintyMgMl#

referenceConcentrationUncertaintyMgMl: number | null;

referenceScanId#

referenceScanId: string;

Scan the reference is measured on; empty for a reference in the same tube.

regionSuitability#

regionSuitability: RegionSuitability[];

replicatePuritiesPercent#

replicatePuritiesPercent: number[];

Purities from independent determinations, in percent.

replicateText#

replicateText: string;

Raw replicate field text, kept so the box still reads back after a tab switch.

responseFactor#

responseFactor: number | null;

responseFactorUncertainty#

responseFactorUncertainty: number | null;

result#

result: 
  | ComputeQNMRResponse
  | null;

resultRevision#

resultRevision: number;

Plot data revision the result was computed at, so a reprocessed spectrum can be flagged.

roles#

roles: Record<string, QNMRRegionRole>;

running#

running: boolean;

scanId#

scanId: string;

Scan the roles and results belong to; a different scan invalidates both.

signals#

signals: QNMRSignalDraft[];

solventVolumeMl#

solventVolumeMl: number | null;

solventVolumeUncertaintyMl#

solventVolumeUncertaintyMl: number | null;

stdLigandExcessText#

stdLigandExcessText: string;

stdOnScanId#

stdOnScanId: string;

On-resonance scan and ligand excess of the STD tab, which unmounts with its tab.

step#

step: 
  | "audit"
  | "intake"
  | "recipe"
  | "regions"
  | "suitability"
  | "quantitation"
  | "uncertainty"
  | "report";

systemSuitability#

systemSuitability: 
  | QNMRSystemSuitability
  | null;

thresholds#

thresholds: QNMRThresholdDraft;

transferRelativeUncertainty#

transferRelativeUncertainty: number | null;

Relative uncertainty of carrying a calibration across acquisitions. Null uses the engine default.


QNMRThresholdDraft#

Limits the suitability checks draw their lines at. A null field keeps the engine's textbook default, so a project states only what it has validated differently.

Properties#

acquisitionTimeTargetDecays#

acquisitionTimeTargetDecays: number | null;

acquisitionTimeWarnDecays#

acquisitionTimeWarnDecays: number | null;

digitalResolutionTargetPoints#

digitalResolutionTargetPoints: number | null;

digitalResolutionWarnPoints#

digitalResolutionWarnPoints: number | null;

dummyScansTarget#

dummyScansTarget: number | null;

ratioBiasFailPercent#

ratioBiasFailPercent: number | null;

ratioBiasWarnPercent#

ratioBiasWarnPercent: number | null;

recycleTargetT1Multiples#

recycleTargetT1Multiples: number | null;

recycleWarnT1Multiples#

recycleWarnT1Multiples: number | null;

snrTarget#

snrTarget: number | null;

snrWarn#

snrWarn: number | null;

QNMRMethodKey#

type QNMRMethodKey = typeof QNMR_METHOD_KEYS[number];

QNMRRegionRole#

type QNMRRegionRole = "analyte" | "reference" | "excluded";

Which side of the ratio a drawn integration region stands on.


QNMRStep#

type QNMRStep = typeof QNMR_STEPS[number];