Invntr
Source

All instruments

resolving_power

Mass resolving power: FWHM and m/FWHM of a profile peak; the resolving power two formulas or m/z values need (FWHM and 10 % valley), and what a given analyser shows of the doublet (valley, two maxima, peak pull); scaling of resolving power with m/z on Orbitrap, FT-ICR, quadrupole and time-of-flight analysers.

Field
Mass spectrometry
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
0.05 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replayresolving_power 0.1.0 · files 8d8665696b13…d7d3
  1. r0001CO vs N₂ from AME2016 masses (C 12, O 15.99491461957, N 14.00307400443): R = mean m / dm = 2492.6 (closed form, 10⁻⁹); Gaussian 10 % valley factor √(ln 20 / ln 2)passed

    delta_mDa11.2334 ± 1.1 × 10⁻⁸11.2334lockedunder 0.01 % of the tolerance used
    required_resolving_power2492.62 ± 2.5 × 10⁻⁶2492.62lockedunder 0.01 % of the tolerance used
    valley_10pct_over_fwhm_factor2.07892 ± 2.1 × 10⁻¹²2.07892lockedunder 0.01 % of the tolerance used
    required_resolving_power_10pct_valley5181.96 ± 5.2 × 10⁻⁶5181.96lockedunder 0.01 % of the tolerance used
  2. r0002sampled Gaussian, σ 2 mDa at m/z 500: FWHM = 2 √(2 ln 2) σ = 2.35482 σ, W10/FWHM = √(ln 10 / ln 2); tol 10⁻⁶ rel because the crossings come from a local cubic at σ/20 sampling (error ~4 × 10⁻⁷)passed

    fwhm_mDa4.70964 ± 4.7 × 10⁻⁶4.70964locked35 % of the tolerance used
    resolving_power106165 ± 0.11106165locked35 % of the tolerance used
    width_10pct_over_fwhm1.82262 ± 1.8 × 10⁻⁶1.82262locked32 % of the tolerance used
    apex_mz500 ± 10⁻⁹500locked2.8 % of the tolerance used
  3. r0003two equal Gaussians one FWHM apart (closed form): midpoint 2 exp(-ln 2) = 1, at a centre 1 + 2⁻⁴ = 1.0625, two maxima (separation > 2 σ), no 10 % valleypassed

    separation_in_fwhm1 ± 10⁻¹²1lockedunder 0.01 % of the tolerance used
    valley_over_single_peak1 ± 10⁻¹²1lockedunder 0.01 % of the tolerance used
    sum_at_centre_over_single_peak1.0625 ± 1.1 × 10⁻¹²1.0625lockedunder 0.01 % of the tolerance used
    two_maxima= truetruelockedexact match
    resolved_10pct_valley= falsefalselockedexact match
  4. r0004two equal Lorentzians one FWHM apart (closed form): midpoint 1, at a centre 1.2, summed maximum (1 + √2)/2 from d/dw[(4+2w)/(w²+4)] = 0, valley 200 (√2 - 1) %passed

    valley_over_single_peak1 ± 10⁻¹²1lockedunder 0.01 % of the tolerance used
    sum_at_centre_over_single_peak1.2 ± 1.2 × 10⁻¹²1.2lockedunder 0.01 % of the tolerance used
    summed_maximum_over_single_peak1.20711 ± 1.2 × 10⁻⁹1.20711lockedunder 0.01 % of the tolerance used
    valley_percent_of_maximum82.8427 ± 8.3 × 10⁻⁸82.8427lockedunder 0.01 % of the tolerance used
    valley_10pct_over_fwhm_factor4.3589 ± 4.4 × 10⁻¹²4.3589lockedunder 0.01 % of the tolerance used
  5. r0005Orbitrap R ~ (m/z)^-1/2 (axial frequency law): 140000 at m/z 200 gives 70000 at m/z 800 (closed form, 10⁻⁹)passed

    resolving_power70000 ± 7 × 10⁻⁵70000lockedunder 0.01 % of the tolerance used
    ratio_to_reference0.5 ± 5 × 10⁻¹³0.5lockedunder 0.01 % of the tolerance used
    fwhm_mDa11.4286 ± 1.1 × 10⁻⁸11.4286lockedunder 0.01 % of the tolerance used
  6. r0006time of flight t = L √(m / 2 z e U) and R = t / (2 dt): L 1 m, U 20 kV, m/z 1000, dt 1 ns (CODATA 2018 dalton, exact e; closed form, 10⁻⁹)passed

    flight_time_us16.0968 ± 1.6 × 10⁻⁸16.0968lockedunder 0.01 % of the tolerance used
    resolving_power8048.4 ± 8 × 10⁻⁶8048.4lockedunder 0.01 % of the tolerance used
  7. r0007FT-ICR R ~ (m/z)⁻¹ (cyclotron frequency law): 1000000 at m/z 400 gives 250000 at m/z 1600 (closed form, 10⁻⁹)passed

    resolving_power250000 ± 0.00025250000lockedunder 0.01 % of the tolerance used
7 of 7 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.

Inputs

NameUnitDefaultMeaning
modeseparateseparate: two species and an analyser; peak: FWHM of a profile peak; scaling: resolving power at another m/z
formula_afirst species as a plain formula (e.g. CO); monoisotopic mass from the AME element table
formula_bsecond species as a plain formula (e.g. N₂)
mz_aDafirst species as an m/z value, used when formula_a is not given
mz_bDasecond species as an m/z value, used when formula_b is not given
charge10ion charge for formulas (electron mass removed per charge); 0 compares neutral masses
shapegaussianpeak shape of the doublet
criterionfwhmwhat 'resolved' means: peaks one FWHM apart, or a 10 % valley (each peak 5 % at the midpoint)
analyserconstanthow resolving power moves with m/z
resolving_power1FWHM resolving power m/dm of the analyser at reference_mz (not for tof)
reference_mzDa200m/z at which resolving_power is quoted
target_mzDascaling: m/z at which the resolving power is wanted
flight_length_mm1.0tof: effective flight path
accel_voltage_VV20000tof: accelerating voltage
time_spread_nsns1.0tof: FWHM of the arrival-time spread
mzDapeak: profile m/z samples, strictly increasing, both sides below half height
intensity1peak: intensity at each m/z sample
baseline10peak: background subtracted before the widths are measured

Readings

NameUnitMeaning
mode1
required_resolving_power1
required_resolving_power_10pct_valley1
valley_10pct_over_fwhm_factor1
mz_aDa
mz_bDa
mean_mzDa
delta_mDamDa
delta_ppmmass difference over mean m/z, in parts per million (ppm is not in the kernel unit table)
resolving_power1
fwhm_mDamDa
separation_in_fwhm1
valley_over_single_peak1summed signal at the midpoint, in units of one peak's height
sum_at_centre_over_single_peak1
summed_maximum_over_single_peak1
valley_percent_of_maximum%
two_maxima1
peak_pull_mDamDa
peak_pull_ppmapex shift in parts per million (ppm is not in the kernel unit table)
resolving_power_margin1
resolved1
resolved_fwhm1
resolved_10pct_valley1
apex_mzDa
apex_intensity1
half_height_left_mzDa
half_height_right_mzDa
sigma_equivalent_mDamDa
width_10pct_mDamDa
width_10pct_over_fwhm1
asymmetry1
centroid_mzDa
samples_across_fwhm1
sample_count1
target_mzDa
reference_mzDa
reference_resolving_power1
ratio_to_reference1
scaling_exponent1
flight_time_usus

Try the call

Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.

Terminal
MCP call