Closed oskar-november closed 12 months ago
Try the latest version of molmass, which sets the limit of calculating the distribution to 512 atoms:
$ py -m molmass C98H119N15O18
Formula: C98H119N15O18
Nominal mass: 1793
Average mass: 1795.0873
Monoisotopic mass: 1793.8858 (31.148%)
Most abundant mass: 1794.8888 (35.362%)
Mean of distribution: 1795.0865
Number of atoms: 250
Elemental Composition
Element Count Relative mass Fraction %
C 98 1177.0525 65.5708
H 119 119.9450 6.6818
N 15 210.1005 11.7042
O 18 287.9893 16.0432
Mass Distribution
A Relative mass Fraction % Intensity %
1793 1793.8858 31.147725 88.083680
1794 1794.8888 35.361516 100.000000
1795 1795.8918 21.043111 59.508510
1796 1796.8947 8.698634 24.599154
1797 1797.8976 2.796196 7.907455
1798 1798.9004 0.742564 2.099920
1799 1799.9031 0.169127 0.478279
1800 1800.9058 0.033884 0.095822
1801 1801.9085 0.006081 0.017196
1802 1802.9112 0.000991 0.002802
1803 1803.9138 0.000148 0.000419
Thanks! That works great! Much appreciated!
I'm using molmass to calculate isotopic distribution from Hill Notation. When using inputting e.g. C97H119N15O18 I'm receiving the desired mass distribution listing, however when I input C98H119N15O18 (i.e. one additional C) the mass distribution is truncated.Is there a way to override this?