mass

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MinMax

func MinMax(m molecule.Molecule, e *elements.Elems) (Peak, Peak, error)

MinMax returns the smallest and largest mass of a molecule The relative abundance is also returned

Types

type Peak

type Peak struct {
	Mass      float64
	Abundance float64
}

Peak contains the mass and abundance of one of the isotopes combinations of a molecule

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL