Skip to content

Project#

Types from the project area of the protocol that appear in API signatures and attributes.

ApodizationSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

Whether to apply apodization. Unset means true.

window_type class-attribute instance-attribute #

Type of window function

line_broadening class-attribute instance-attribute #

line_broadening: float | None

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.

gaussian_sigma class-attribute instance-attribute #

gaussian_sigma: float

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.

shape_parameter class-attribute instance-attribute #

shape_parameter: float

Alpha/beta parameter for kaiser/tukey windows

gb_hz class-attribute instance-attribute #

gb_hz: float | None

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

adaptive_line_broadening class-attribute instance-attribute #

adaptive_line_broadening: bool | None

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.

sine_offset class-attribute instance-attribute #

sine_offset: float | None

SINE_BELL start as a fraction of pi, 0 to 0.5 (0.5 is a cosine). Unset means 0.5.

sine_power class-attribute instance-attribute #

sine_power: float | None

SINE_BELL exponent, 1 for sine and 2 for squared sine. Unset means 1.

rise_fraction class-attribute instance-attribute #

rise_fraction: float | None

TRAPEZOID fractions of the FID length, 0 to 1. Unset rise means 0, unset fall means 0.5.

fall_fraction class-attribute instance-attribute #

fall_fraction: float | None

BaselineCorrectionSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

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

method class-attribute instance-attribute #

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.

polynomial_order class-attribute instance-attribute #

polynomial_order: int | None

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.

smoothness_decades class-attribute instance-attribute #

smoothness_decades: float | None

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.

asymmetry class-attribute instance-attribute #

asymmetry: float | None

Asymmetry parameter p for the ALS family.

iterations class-attribute instance-attribute #

iterations: int | None

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

mask_sigma class-attribute instance-attribute #

mask_sigma: float | None

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

edge_fraction class-attribute instance-attribute #

edge_fraction: float | None

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

exclude_regions class-attribute instance-attribute #

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.

imaginary_method class-attribute instance-attribute #

imaginary_method: (
    BaselineCorrectionSettingsImaginaryMethod | None
)

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

FftSettings #

method class-attribute instance-attribute #

method: FftSettingsFftMethod | None

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.

apply_window class-attribute instance-attribute #

apply_window: bool

@deprecated - has no effect; apodization is configured in ApodizationSettings.

GroupDelaySettings #

enabled class-attribute instance-attribute #

enabled: bool | None

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.

override_points class-attribute instance-attribute #

override_points: float | None

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.

LinearPredictionSettings #

Extends a truncated FID or replaces its first points by linear prediction (least squares, poles that would grow held on the unit circle). The stored FID is never changed: the prediction is a processed copy.

enabled class-attribute instance-attribute #

enabled: bool | None

Unset means false: linear prediction is never turned on from a heuristic.

direction class-attribute instance-attribute #

Unset behaves as LP_DIRECTION_FORWARD.

coefficients class-attribute instance-attribute #

coefficients: int | None

Number of prediction coefficients. Unset takes 32, held to what the fit region can bear.

first_point_count class-attribute instance-attribute #

first_point_count: int | None

Points, counted from the start (after the replaced points when backward), the coefficients are fitted on. Unset takes every point.

predicted_points class-attribute instance-attribute #

predicted_points: int | None

Points appended (forward) or replaced (backward). Unset takes the acquired length (forward) or 4 (backward). A forward extension is capped at 8 times the acquired length.

axis class-attribute instance-attribute #

Unset behaves as LP_AXIS_T2.

PhaseCorrectionSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

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

method class-attribute instance-attribute #

@deprecated - use mode and order.

mode class-attribute instance-attribute #

Unset behaves as PHASE_MODE_AUTO.

p0_deg class-attribute instance-attribute #

p0_deg: float | None

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

p1_deg class-attribute instance-attribute #

p1_deg: float | None

p2_deg class-attribute instance-attribute #

p2_deg: float | None

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

pivot_mode class-attribute instance-attribute #

Pivot for the first/second order ramp.

pivot_ppm class-attribute instance-attribute #

pivot_ppm: float | None

order class-attribute instance-attribute #

Auto-phase model order.

PreprocessingSettings #

Settings for automatic preprocessing applied after signal capture

zero_fill class-attribute instance-attribute #

zero_fill: ZeroFillSettings | None

Zero filling settings

apodization class-attribute instance-attribute #

apodization: ApodizationSettings | None

Apodization/window function settings

fft class-attribute instance-attribute #

fft: FftSettings | None

FFT settings

phase_correction class-attribute instance-attribute #

phase_correction: PhaseCorrectionSettings | None

Phase correction settings

baseline_correction class-attribute instance-attribute #

baseline_correction: BaselineCorrectionSettings | None

Baseline correction settings

reference_correction class-attribute instance-attribute #

reference_correction: ReferenceCorrectionSettings | None

Reference correction settings

group_delay class-attribute instance-attribute #

group_delay: GroupDelaySettings | None

Digital filter / group delay (GRPDLY) removal settings

solvent_suppression class-attribute instance-attribute #

solvent_suppression: SolventSuppressionSettings | None

Solvent suppression settings

enhancement_2d class-attribute instance-attribute #

enhancement_2d: Enhancement2DSettings | None

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

linear_prediction class-attribute instance-attribute #

linear_prediction: LinearPredictionSettings | None

Linear prediction of the time-domain signal, before apodization. Absent means off.

reference_deconvolution class-attribute instance-attribute #

reference_deconvolution: (
    ReferenceDeconvolutionSettings | None
)

Line-shape correction (reference deconvolution) of the time-domain signal. Absent means off.

Project #

name class-attribute instance-attribute #

name: str

description class-attribute instance-attribute #

description: str

profile class-attribute instance-attribute #

profile: str

sample class-attribute instance-attribute #

sample: Sample | None

sequence class-attribute instance-attribute #

sequence: Sequence | None

analysis class-attribute instance-attribute #

analysis: Analysis | None

post_processing class-attribute instance-attribute #

post_processing: Postprocessing | None

schedule class-attribute instance-attribute #

schedule: Schedule | None

generator class-attribute instance-attribute #

generator: Generator | None

device class-attribute instance-attribute #

device: Device | None

plot_settings class-attribute instance-attribute #

plot_settings: PlotsSettingsRecord | None

plot_config class-attribute instance-attribute #

plot_config: PlotsConfig | None

display_settings class-attribute instance-attribute #

display_settings: DisplaySettings | None

Display settings for spectroscopy visualization

report_template class-attribute instance-attribute #

report_template: ReportTemplate | None

preprocessing_settings class-attribute instance-attribute #

preprocessing_settings: PreprocessingSettings | None

Preprocessing settings for automatic signal/spectrum processing

current_scan class-attribute instance-attribute #

current_scan: Scan | None

Currently active scan

load_with_preprocessing class-attribute instance-attribute #

load_with_preprocessing: bool | None

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

integration_regions class-attribute instance-attribute #

integration_regions: list[IntegrationRegion]

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

qnmr_config class-attribute instance-attribute #

qnmr_config: QnmrConfig | None

qNMR quantitation configuration

report_notes class-attribute instance-attribute #

report_notes: ReportNotes | None

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.

origin class-attribute instance-attribute #

origin: ProjectOrigin | None

Set when the project arrived in a .nuclei file.

verifications class-attribute instance-attribute #

verifications: list[SampleVerificationRecord]

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

revision class-attribute instance-attribute #

revision: int

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

pages class-attribute instance-attribute #

pages: Pages | None

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

lab_pack class-attribute instance-attribute #

lab_pack: LabPack | None

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

id class-attribute instance-attribute #

id: str

Assigned once; kept on rename and by the Review- copy of a review, new on a duplicate.

report_inputs class-attribute instance-attribute #

report_inputs: ReportInputs | None

What the report renders from outside the project, as it was at the latest review request.

session_generation class-attribute instance-attribute #

session_generation: int

Which opening of the project in the backend session this copy belongs to, stamped on each UpdateProject push. A SetProject carrying another nonzero value is for a project no longer open and is dropped. Session-local: never persisted; zero ties the request to no opening.

elucidation_outcomes class-attribute instance-attribute #

elucidation_outcomes: list[ElucidationOutcome]

The latest elucidation per sample id.

plugins class-attribute instance-attribute #

plugins: PluginProjectData | None

Plugin data - extensible storage for plugin entities

ReferenceCorrectionSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

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

mode class-attribute instance-attribute #

Referencing strategy. Unset behaves as REFERENCE_MODE_ACQUISITION.

solvent_reference_ppm class-attribute instance-attribute #

solvent_reference_ppm: float | None

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

reference_frequency_hz class-attribute instance-attribute #

reference_frequency_hz: float | None

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.

ReferenceDeconvolutionSettings #

Reference deconvolution of a 1D FID: the isolated reference line is divided out of the signal and replaced by an ideal line, which removes the instrument's lineshape distortion and drift from every line. Acts in the time domain, after solvent suppression and before linear prediction and apodization. Not quantitative-neutral: qNMR warns when it is applied.

enabled class-attribute instance-attribute #

enabled: bool | None

Unset means false: never turned on from a heuristic.

region_start_ppm class-attribute instance-attribute #

region_start_ppm: float | None

The reference line's span on the acquired axis, in ppm; order does not matter. Both unset takes the sample's internal standard, else the solvent line, found in the signal.

region_end_ppm class-attribute instance-attribute #

region_end_ppm: float | None

target_linewidth_hz class-attribute instance-attribute #

target_linewidth_hz: float | None

Full width at half height of the ideal line, in Hz. Unset takes the width the reference line measures, which corrects its shape without narrowing it.

lineshape class-attribute instance-attribute #

SolventSuppressionSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

Whether to apply solvent suppression

mode class-attribute instance-attribute #

region_hz class-attribute instance-attribute #

region_hz: float | None

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

filter_width class-attribute instance-attribute #

filter_width: int | None

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

ZeroFillSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

Whether to apply zero filling. Unset means true.

factor class-attribute instance-attribute #

factor: float

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.

ApodizationSettingsWindowType #

EXPONENTIAL class-attribute instance-attribute #

EXPONENTIAL = 0

GAUSSIAN class-attribute instance-attribute #

GAUSSIAN = 1

HAMMING class-attribute instance-attribute #

HAMMING = 2

HANN class-attribute instance-attribute #

HANN = 3

BLACKMAN class-attribute instance-attribute #

BLACKMAN = 4

BLACKMANHARRIS class-attribute instance-attribute #

BLACKMANHARRIS = 5

KAISER class-attribute instance-attribute #

KAISER = 6

BARTLETT class-attribute instance-attribute #

BARTLETT = 7

COSINE class-attribute instance-attribute #

COSINE = 8

TUKEY class-attribute instance-attribute #

TUKEY = 9

SINE_BELL class-attribute instance-attribute #

SINE_BELL = 10

sin(pi * (sine_offset + (1 - sine_offset) * t / T)) ** sine_power.

TRAPEZOID class-attribute instance-attribute #

TRAPEZOID = 11

Linear rise over rise_fraction of the FID and fall over fall_fraction of its end.

TRAF class-attribute instance-attribute #

TRAF = 12

Traficante-Nemeth: E(t)[E(t) + E(T-t)] / [E(t)^2 + E(T-t)^2] with E(t) = exp(-pi * line_broadening * t). About 1 at the start and the middle, rolling off to E(T) at the end.

LORENTZ_GAUSS class-attribute instance-attribute #

LORENTZ_GAUSS = 13

Lorentz-to-Gauss: narrows lines by line_broadening Hz and applies a gaussian of gb_hz.

AtomNumbering #

Which numbering atom labels follow (C1, H1, ...). Assignments stay bound to atoms; only the label changes.

AS_FILE class-attribute instance-attribute #

AS_FILE = 0

The numbering of the structure file; a structure without one is numbered as INCHI.

INCHI class-attribute instance-attribute #

INCHI = 1

The canonical atom numbers of the InChI (AuxInfo /N:).

CONVENTIONAL class-attribute instance-attribute #

CONVENTIONAL = 2

A file's or drawing's own numbers first; then the established locants of the parent skeleton (N1, C8) and numbered chains, each further mixture component primed; a structure no rule covers is marked a1, a2, ...

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

BaselineCorrectionSettingsBaselineMethod #

POLYNOMIAL class-attribute instance-attribute #

POLYNOMIAL = 0

MEDIAN class-attribute instance-attribute #

MEDIAN = 1

ALS class-attribute instance-attribute #

ALS = 2

Hand-rolled asymmetric least squares.

EDGE class-attribute instance-attribute #

EDGE = 3

VALLEY class-attribute instance-attribute #

VALLEY = 4

ARPLS class-attribute instance-attribute #

ARPLS = 5

Asymmetrically reweighted penalised least squares. The recommended method and the one to prefer as a default.

AIRPLS class-attribute instance-attribute #

AIRPLS = 6

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.

ASLS class-attribute instance-attribute #

ASLS = 7

Asymmetric least squares as specified by pybaselines (p = 0.001, length-normalised lambda).

SNIP class-attribute instance-attribute #

SNIP = 8

Statistics-sensitive non-linear iterative peak-clipping, for wide-line / solid-state spectra.

MASKED_POLY class-attribute instance-attribute #

MASKED_POLY = 9

Polynomial fit restricted to the signal-free mask (TopSpin absf equivalent).

BaselineCorrectionSettingsExclusionRegion #

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.

start_ppm class-attribute instance-attribute #

start_ppm: float

Order does not matter; the consumer sorts them.

end_ppm class-attribute instance-attribute #

end_ppm: float

label class-attribute instance-attribute #

label: str | None

Display only; the fit does not read it.

BaselineCorrectionSettingsImaginaryMethod #

AUTO class-attribute instance-attribute #

AUTO = 0

Constant offset for EDGE and MEDIAN, untouched otherwise.

SAME class-attribute instance-attribute #

SAME = 1

POLYNOMIAL class-attribute instance-attribute #

POLYNOMIAL = 2

NONE class-attribute instance-attribute #

NONE = 3

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

CovarianceSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

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.

mode class-attribute instance-attribute #

Unset behaves as COVARIANCE_MODE_DIRECT.

square_root class-attribute instance-attribute #

square_root: bool | None

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

magnitude class-attribute instance-attribute #

magnitude: bool | None

As DiagonalSymmetrizationSettings.magnitude.

CovarianceSettingsCovarianceMode #

DIRECT class-attribute instance-attribute #

DIRECT = 0

Contract over F1; both axes of the result carry F2's resolution.

INDIRECT class-attribute instance-attribute #

INDIRECT = 1

Contract over F2: correlates the two X nuclei sharing a proton partner.

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

DiagonalSuppressionSettings #

Removes the band along the F1 = F2 diagonal of a homonuclear plane, filling it from the values beside it. Off unless enabled; never turn it on from a heuristic.

enabled class-attribute instance-attribute #

enabled: bool | None

Unset means false.

width_ppm class-attribute instance-attribute #

width_ppm: float | None

Full width of the band about the diagonal, in ppm. A stage without a width does not run.

DiagonalSymmetrizationSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

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

method class-attribute instance-attribute #

Unset behaves as SYMMETRIZATION_METHOD_MINIMUM.

magnitude class-attribute instance-attribute #

magnitude: bool | None

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.

DiagonalSymmetrizationSettingsSymmetrizationMethod #

MINIMUM class-attribute instance-attribute #

MINIMUM = 0

Keep the smaller magnitude of each mirrored pair, removing a one-sided peak.

AVERAGE class-attribute instance-attribute #

AVERAGE = 1

Average the pair: halves a one-sided artefact instead of removing it.

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

DisplaySettings #

Display settings for spectroscopy data visualization

frequency_display_unit class-attribute instance-attribute #

frequency_display_unit: FrequencyUnit

Preferred unit for frequency axis display

reference_frequency_hz class-attribute instance-attribute #

reference_frequency_hz: float | None

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

auto_convert_to_ppm class-attribute instance-attribute #

auto_convert_to_ppm: bool

Whether to automatically convert to PPM when reference frequency is available

peak_detection class-attribute instance-attribute #

peak_detection: PeakDetectionSettings | None

Peak detection and analysis settings

peak_detection_2d class-attribute instance-attribute #

peak_detection_2d: PeakDetectionSettings | None

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

atom_numbering class-attribute instance-attribute #

atom_numbering: AtomNumbering

Numbering of atom labels in assignment panels, reports, peak lists and NMReDATA export.

peak_label_style class-attribute instance-attribute #

peak_label_style: PeakLabelStyle | None

Default format of the peak labels on every scan of the project.

plot_style class-attribute instance-attribute #

plot_style: PlotStyle | None

Default plot style of every page of the project.

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.

diagonal_symmetrization class-attribute instance-attribute #

diagonal_symmetrization: (
    DiagonalSymmetrizationSettings | None
)

t1_noise_suppression class-attribute instance-attribute #

t1_noise_suppression: T1NoiseSuppressionSettings | None

covariance class-attribute instance-attribute #

covariance: CovarianceSettings | None

jres_tilt class-attribute instance-attribute #

jres_tilt: JresTiltSettings | None

diagonal_suppression class-attribute instance-attribute #

diagonal_suppression: DiagonalSuppressionSettings | None

FftSettingsFftMethod #

REAL class-attribute instance-attribute #

REAL = 0

FULL class-attribute instance-attribute #

FULL = 1

STANDARD class-attribute instance-attribute #

STANDARD = 2

JresTiltSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

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 class-attribute instance-attribute #

force: bool | None

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

symmetrize_f1 class-attribute instance-attribute #

symmetrize_f1: bool | None

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

emit_projection class-attribute instance-attribute #

emit_projection: bool | None

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

LinearPredictionSettingsAxis #

Which axis of a 2D signal is predicted; a 1D signal ignores it.

LP_AXIS_T2 class-attribute instance-attribute #

LP_AXIS_T2 = 0

LP_AXIS_T1 class-attribute instance-attribute #

LP_AXIS_T1 = 1

LP_AXIS_BOTH class-attribute instance-attribute #

LP_AXIS_BOTH = 2

LinearPredictionSettingsDirection #

LP_DIRECTION_FORWARD class-attribute instance-attribute #

LP_DIRECTION_FORWARD = 0

Append predicted points after the acquired ones.

LP_DIRECTION_BACKWARD class-attribute instance-attribute #

LP_DIRECTION_BACKWARD = 1

Replace the first predicted_points points with ones predicted from those after them.

Page #

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

id class-attribute instance-attribute #

id: str

title class-attribute instance-attribute #

title: str

Empty derives the title from the scan names.

scans class-attribute instance-attribute #

scans: list[PageScan]

layout class-attribute instance-attribute #

layout: PageLayout

view class-attribute instance-attribute #

normalize class-attribute instance-attribute #

normalize: bool

Display scaling only; stored intensities are never changed.

independent_axes class-attribute instance-attribute #

independent_axes: bool

range class-attribute instance-attribute #

range: PageRange | None

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

stack_spacing class-attribute instance-attribute #

stack_spacing: float

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

style class-attribute instance-attribute #

style: PlotStyle | None

Overrides the project's plot style field by field; unset follows it.

artwork class-attribute instance-attribute #

artwork: PlotAnnotations | None

Free layout only: artwork in page fractions, frame unset, back to front.

page_panes class-attribute instance-attribute #

page_panes: list[PagePane]

Free layout only: other pages shown live as panes, above the scan panes, back to front.

PageFrame #

A box on a free page, in fractions of the page from its top left.

x class-attribute instance-attribute #

x: float

y class-attribute instance-attribute #

y: float

width class-attribute instance-attribute #

width: float

height class-attribute instance-attribute #

height: float

PageLayout #

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

OVERLAY class-attribute instance-attribute #

OVERLAY = 0

STACKED class-attribute instance-attribute #

STACKED = 1

Overlaid with a vertical offset per scan.

SIDE_BY_SIDE class-attribute instance-attribute #

SIDE_BY_SIDE = 2

ABOVE_BELOW class-attribute instance-attribute #

ABOVE_BELOW = 3

FREE class-attribute instance-attribute #

FREE = 4

Each scan sits in its own PageScan.frame on a canvas that also carries Page.artwork.

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

PagePane #

A pane of a free page that shows another page of the same workspace by reference, never a copy.

page_id class-attribute instance-attribute #

page_id: str

Page.id of the page shown; a pane whose page is gone is drawn as missing.

frame class-attribute instance-attribute #

frame: PageFrame | None

PageRange #

x_start class-attribute instance-attribute #

x_start: float

x_end class-attribute instance-attribute #

x_end: float

y_start class-attribute instance-attribute #

y_start: float | None

y_end class-attribute instance-attribute #

y_end: float | None

unit class-attribute instance-attribute #

unit: FrequencyUnit | None

The unit of the x window (and of the y window of a plane when both axes share it); unset is the unit the plot showed when the window was saved by an older version.

PageScan #

scan class-attribute instance-attribute #

scan: ScanSetEntry | None

color class-attribute instance-attribute #

color: str

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

hidden class-attribute instance-attribute #

hidden: bool

layers class-attribute instance-attribute #

layers: PageScanLayers | None

contour class-attribute instance-attribute #

contour: PageScanContour | None

How this scan's plane draws when it is overlaid with other planes; unset uses the defaults.

line_width class-attribute instance-attribute #

line_width: float

Line width in pixels; 0 follows the page's style.

frame class-attribute instance-attribute #

frame: PageFrame | None

Free layout only: where the scan sits, in page fractions.

PageScanContour #

Contour display of one plane on an overlaid page. PageScan.color is the positive colour.

threshold class-attribute instance-attribute #

threshold: float

The lowest drawn level as a fraction of the plane's maximum; 0 means the plot's default.

levels class-attribute instance-attribute #

levels: int

Number of contour levels; 0 means the plot's default.

negative_color class-attribute instance-attribute #

negative_color: str

Colour of the negative contours; empty derives a darker shade of the scan's colour.

negatives_hidden class-attribute instance-attribute #

negatives_hidden: bool

Negative so the proto3 default shows negative contours.

PageScanLayers #

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

drawings_hidden class-attribute instance-attribute #

drawings_hidden: bool

Negative so the proto3 default shows drawings.

peaks class-attribute instance-attribute #

peaks: bool

integrals class-attribute instance-attribute #

integrals: bool

multiplets class-attribute instance-attribute #

multiplets: bool

PageTraceView #

SPECTRUM class-attribute instance-attribute #

SPECTRUM = 0

SIGNAL class-attribute instance-attribute #

SIGNAL = 1

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

Pages #

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

items class-attribute instance-attribute #

items: list[Page]

active_page_id class-attribute instance-attribute #

active_page_id: str

Empty while the main scan is on no page.

auto_layout class-attribute instance-attribute #

auto_layout: str

Name of the page layout applied to this sample automatically. While set, scans joining the sample are placed by applying it again; the first change to the pages' structure clears it.

PhaseCorrectionSettingsPhaseCorrectionMethod #

@deprecated - superseded by PhaseMode / PhaseOrder.

AUTO_ACME class-attribute instance-attribute #

AUTO_ACME = 0

AUTO_PEAK class-attribute instance-attribute #

AUTO_PEAK = 1

PhaseCorrectionSettingsPhaseMode #

How the phase correction is determined.

AUTO class-attribute instance-attribute #

AUTO = 0

MANUAL class-attribute instance-attribute #

MANUAL = 1

NONE class-attribute instance-attribute #

NONE = 2

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

PhaseCorrectionSettingsPhaseOrder #

Polynomial order of the auto-phase model.

AUTO class-attribute instance-attribute #

AUTO = 0

Let the estimator choose between first and second order using its model-order rule.

FIRST class-attribute instance-attribute #

FIRST = 1

Zero + first order only (p0, p1).

SECOND class-attribute instance-attribute #

SECOND = 2

Zero + first + second order (p0, p1, p2).

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

PhaseCorrectionSettingsPivotMode #

PIVOT_FIRST_POINT class-attribute instance-attribute #

PIVOT_FIRST_POINT = 0

nmrglue convention: the ramp is parameterised over k/n with the pivot at the first point.

PIVOT_MAX_PEAK class-attribute instance-attribute #

PIVOT_MAX_PEAK = 1

Pivot at the tallest peak.

PIVOT_MANUAL class-attribute instance-attribute #

PIVOT_MANUAL = 2

Pivot at pivot_ppm.

PlotStyle #

How a plot draws beyond its theme. A zero or empty field leaves the level above in charge: project default, then page.

line_width class-attribute instance-attribute #

line_width: float

Trace line width in pixels.

axis_font_size class-attribute instance-attribute #

axis_font_size: float

Tick label size in pixels.

axis_title_font_size class-attribute instance-attribute #

axis_title_font_size: float

Axis title size in pixels.

font_family class-attribute instance-attribute #

font_family: str

Family of every plot text; empty keeps the theme's.

grid_hidden class-attribute instance-attribute #

grid_hidden: bool

Negative so the proto3 default shows the grid.

grid_width class-attribute instance-attribute #

grid_width: float

Gridline width in pixels.

title class-attribute instance-attribute #

title: str

Plot title text; empty keeps the automatic title.

axis_direction class-attribute instance-attribute #

axis_direction: str

Plane only: the corner high shift sits in, as "left-up", "right-up", "left-down" or "right-down" (where F2 and F1 increase to); empty keeps each plot's own default.

PluginProjectData #

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

plugins class-attribute instance-attribute #

plugins: dict[str, PluginProjectEntry]

Map of plugin_id -> plugin entry

PluginProjectEntry #

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

data class-attribute instance-attribute #

data: bytes

Serialized plugin data (MessagePack)

version class-attribute instance-attribute #

version: str

Plugin version when data was saved (for compatibility)

required class-attribute instance-attribute #

required: bool

Whether project requires this plugin to function properly

device_vendors class-attribute instance-attribute #

device_vendors: list[str]

metadata class-attribute instance-attribute #

metadata: dict[str, str]

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

ProjectOrigin #

package_id class-attribute instance-attribute #

package_id: str

imported_at class-attribute instance-attribute #

imported_at: datetime | None

imported_by class-attribute instance-attribute #

imported_by: str

signer_fingerprint class-attribute instance-attribute #

signer_fingerprint: str

executable_content_trusted class-attribute instance-attribute #

executable_content_trusted: bool

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

signer_name class-attribute instance-attribute #

signer_name: str

Claimed by the signer; empty for an unsigned file.

trusted_content_kinds class-attribute instance-attribute #

trusted_content_kinds: list[str]

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

review_source_principal_id class-attribute instance-attribute #

review_source_principal_id: str

A Review- copy opened from a review package: the review it holds (sender principal and the sender's project name), so a later package of that review updates this copy, never another project.

review_source_project class-attribute instance-attribute #

review_source_project: str

ReferenceCorrectionSettingsReferenceMode #

ACQUISITION class-attribute instance-attribute #

ACQUISITION = 0

2D: correct against a companion reference acquisition.

SOLVENT class-attribute instance-attribute #

SOLVENT = 1

1D: set the ppm scale from a known solvent peak.

FREQUENCY class-attribute instance-attribute #

FREQUENCY = 2

1D: set the ppm scale from an explicit carrier frequency.

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

ReferenceDeconvolutionSettingsLineshape #

REFERENCE_LINESHAPE_LORENTZIAN class-attribute instance-attribute #

REFERENCE_LINESHAPE_LORENTZIAN = 0

REFERENCE_LINESHAPE_GAUSSIAN class-attribute instance-attribute #

REFERENCE_LINESHAPE_GAUSSIAN = 1

SolventSuppressionSettingsSuppressionMode #

FID_LOWPASS class-attribute instance-attribute #

FID_LOWPASS = 0

FID-domain low-pass convolution subtraction (nmrglue sol_* / TopSpin qfil).

FREQUENCY_REGION class-attribute instance-attribute #

FREQUENCY_REGION = 1

Frequency-domain region zeroing.

KNOWN_LINE_FIT class-attribute instance-attribute #

KNOWN_LINE_FIT = 2

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.

betterproto_value_to_renamed_proto_names classmethod #

betterproto_value_to_renamed_proto_names() -> dict[
    int, str
]

betterproto_renamed_proto_names_to_value classmethod #

betterproto_renamed_proto_names_to_value() -> dict[
    str, int
]

T1NoiseSuppressionSettings #

enabled class-attribute instance-attribute #

enabled: bool | None

Unset means false.

threshold_sigma class-attribute instance-attribute #

threshold_sigma: float | None

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

strength class-attribute instance-attribute #

strength: float | None

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

magnitude class-attribute instance-attribute #

magnitude: bool | None

As DiagonalSymmetrizationSettings.magnitude.