ms-core 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ms/mass.rb +14 -0
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.12
|
data/lib/ms/mass.rb
CHANGED
@@ -4,6 +4,20 @@ module Ms
|
|
4
4
|
MASCOT_H_PLUS = 1.007276
|
5
5
|
H_PLUS = 1.00727646677 # need to verify this against HYDROGEN - ELECTRON
|
6
6
|
PROTON = H_PLUS
|
7
|
+
|
8
|
+
# lower case elements (h = Hydrogen)
|
9
|
+
MONO = {
|
10
|
+
'h+' => 1.00727646677,
|
11
|
+
'h' => 1.007825035,
|
12
|
+
'h2o' => 18.0105647,
|
13
|
+
'oh' => 17.002739665,
|
14
|
+
}
|
15
|
+
# lower case elements (h = Hydrogen)
|
16
|
+
AVG = {
|
17
|
+
'h' => 1.00794,
|
18
|
+
'h2o' => 18.01528,
|
19
|
+
'oh' => 17.00734,
|
20
|
+
}
|
7
21
|
end
|
8
22
|
end
|
9
23
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 12
|
9
|
+
version: 0.0.12
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- John T. Prince
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-25 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -146,7 +146,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
146
|
requirements:
|
147
147
|
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
hash: -
|
149
|
+
hash: -3438756402400319046
|
150
150
|
segments:
|
151
151
|
- 0
|
152
152
|
version: "0"
|