All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.lth.immun.chem.Molecule Maven / Gradle / Ivy

Go to download

Library for general purpose in silico chemistry, mainly intended for mass spectrometry proteomics computations.

There is a newer version: 1.3.3
Show newest version
package se.lth.immun.chem;

public class Molecule implements IMolecule {
	
	ElementComposition ec;
	
	public Molecule(ElementComposition ec) {
		this.ec = ec;
	}
	
	public Molecule(Element[] elements, int[] counts) {
		ec = new ElementComposition(elements, counts);
	}
	public ElementComposition getComposition() { return ec; }
	public double monoisotopicMass() { return ec.monoisotopicMass(); }
	public IsotopeDistribution getIsotopeDistribution() { return ec.getIsotopeDistribution(); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy