comparison mayachemtools/docs/modules/man3/PeriodicTable.3 @ 0:73ae111cf86f draft

Uploaded
author deepakjadmin
date Wed, 20 Jan 2016 11:55:01 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:73ae111cf86f
1 .\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.22)
2 .\"
3 .\" Standard preamble:
4 .\" ========================================================================
5 .de Sp \" Vertical space (when we can't use .PP)
6 .if t .sp .5v
7 .if n .sp
8 ..
9 .de Vb \" Begin verbatim text
10 .ft CW
11 .nf
12 .ne \\$1
13 ..
14 .de Ve \" End verbatim text
15 .ft R
16 .fi
17 ..
18 .\" Set up some character translations and predefined strings. \*(-- will
19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
20 .\" double quote, and \*(R" will give a right double quote. \*(C+ will
21 .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
22 .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
23 .\" nothing in troff, for use with C<>.
24 .tr \(*W-
25 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
26 .ie n \{\
27 . ds -- \(*W-
28 . ds PI pi
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
31 . ds L" ""
32 . ds R" ""
33 . ds C` ""
34 . ds C' ""
35 'br\}
36 .el\{\
37 . ds -- \|\(em\|
38 . ds PI \(*p
39 . ds L" ``
40 . ds R" ''
41 'br\}
42 .\"
43 .\" Escape single quotes in literal strings from groff's Unicode transform.
44 .ie \n(.g .ds Aq \(aq
45 .el .ds Aq '
46 .\"
47 .\" If the F register is turned on, we'll generate index entries on stderr for
48 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
49 .\" entries marked with X<> in POD. Of course, you'll have to process the
50 .\" output yourself in some meaningful fashion.
51 .ie \nF \{\
52 . de IX
53 . tm Index:\\$1\t\\n%\t"\\$2"
54 ..
55 . nr % 0
56 . rr F
57 .\}
58 .el \{\
59 . de IX
60 ..
61 .\}
62 .\"
63 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
64 .\" Fear. Run. Save yourself. No user-serviceable parts.
65 . \" fudge factors for nroff and troff
66 .if n \{\
67 . ds #H 0
68 . ds #V .8m
69 . ds #F .3m
70 . ds #[ \f1
71 . ds #] \fP
72 .\}
73 .if t \{\
74 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
75 . ds #V .6m
76 . ds #F 0
77 . ds #[ \&
78 . ds #] \&
79 .\}
80 . \" simple accents for nroff and troff
81 .if n \{\
82 . ds ' \&
83 . ds ` \&
84 . ds ^ \&
85 . ds , \&
86 . ds ~ ~
87 . ds /
88 .\}
89 .if t \{\
90 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
91 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
92 . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
93 . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
94 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
95 . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
96 .\}
97 . \" troff and (daisy-wheel) nroff accents
98 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
99 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
100 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
101 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
102 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
103 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
104 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
105 .ds ae a\h'-(\w'a'u*4/10)'e
106 .ds Ae A\h'-(\w'A'u*4/10)'E
107 . \" corrections for vroff
108 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
109 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
110 . \" for low resolution devices (crt and lpr)
111 .if \n(.H>23 .if \n(.V>19 \
112 \{\
113 . ds : e
114 . ds 8 ss
115 . ds o a
116 . ds d- d\h'-1'\(ga
117 . ds D- D\h'-1'\(hy
118 . ds th \o'bp'
119 . ds Th \o'LP'
120 . ds ae ae
121 . ds Ae AE
122 .\}
123 .rm #[ #] #H #V #F C
124 .\" ========================================================================
125 .\"
126 .IX Title "PERIODICTABLE 1"
127 .TH PERIODICTABLE 1 "2015-03-29" "perl v5.14.2" "MayaChemTools"
128 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
129 .\" way too many mistakes in technical documents.
130 .if n .ad l
131 .nh
132 .SH "NAME"
133 PeriodicTable
134 .SH "SYNOPSIS"
135 .IX Header "SYNOPSIS"
136 use PeriodicTable;
137 .PP
138 use PeriodicTable qw(:all);
139 .SH "DESCRIPTION"
140 .IX Header "DESCRIPTION"
141 \&\fBPeriodicTable\fR module provides the following functions:
142 .PP
143 GetElementMostAbundantNaturalIsotopeData,
144 GetElementMostAbundantNaturalIsotopeMass,
145 GetElementMostAbundantNaturalIsotopeMassNumber, GetElementNaturalIsotopeAbundance,
146 GetElementNaturalIsotopeCount, GetElementNaturalIsotopeMass,
147 GetElementNaturalIsotopesData, GetElementPropertiesData,
148 GetElementPropertiesNames, GetElementPropertiesNamesAndUnits,
149 GetElementPropertyUnits, GetElements, GetElementsByAmericanStyleGroupLabel,
150 GetElementsByEuropeanStyleGroupLabel, GetElementsByGroupName,
151 GetElementsByGroupNumber, GetElementsByPeriodNumber,
152 GetIUPACGroupNumberFromAmericanStyleGroupLabel,
153 GetIUPACGroupNumberFromEuropeanStyleGroupLabel, IsElement,
154 IsElementNaturalIsotopeMassNumber, IsElementProperty
155 .SH "METHODS"
156 .IX Header "METHODS"
157 .IP "\fBGetElements\fR" 4
158 .IX Item "GetElements"
159 .Vb 2
160 \& @ElementSymbols = GetElements();
161 \& $ElementSymbolsRef = GetElements();
162 .Ve
163 .Sp
164 Returns an array or a reference to an array of known element symbols
165 .IP "\fBGetElementsByGroupName\fR" 4
166 .IX Item "GetElementsByGroupName"
167 .Vb 2
168 \& @ElementSymbols = GetElementsByGroupName($GroupName);
169 \& $ElementSymbolsRef = GetElementsByGroupName($GroupName);
170 .Ve
171 .Sp
172 Returns an array or a reference to an array of element symbols for a specified \fIGroupName\fR.
173 Supported \fIGroupName\fR values are: \fIAlkali metals, Alkaline earth metals, Coinage metals, Pnictogens,
174 Chalcogens, Halogens, Noble gases\fR; Additionally, usage of \fILanthanides\fR (Lanthanoids)
175 and \fIActinides\fR (Actinoids) is also supported.
176 .IP "\fBGetElementsByGroupNumber\fR" 4
177 .IX Item "GetElementsByGroupNumber"
178 .Vb 2
179 \& @ElementSymbols = GetElementsByGroupNumber($GroupNumber);
180 \& $ElementSymbolsRef = GetElementsByGroupNumber($GroupNumber);
181 .Ve
182 .Sp
183 Returns an array or a reference to an array of element symbols for a specified \fIGroupNumber\fR
184 .IP "\fBGetElementsByAmericanStyleGroupLabel\fR" 4
185 .IX Item "GetElementsByAmericanStyleGroupLabel"
186 .Vb 2
187 \& @ElementSymbols = GetElementsByAmericanStyleGroupLabel($GroupLabel);
188 \& $ElementSymbolsRef = GetElementsByAmericanStyleGroupLabel($GroupLabel);
189 .Ve
190 .Sp
191 Returns an array or a reference to an array of element symbols for a specified American
192 style \fIGroupLabel\fR. Valid values for Amercian style group labels: \fI\s-1IA\s0 to \s-1VIIIA\s0, \s-1IB\s0 to \s-1VIIIB\s0, \s-1VIII\s0\fR.
193 .IP "\fBGetElementsByEuropeanStyleGroupLabel\fR" 4
194 .IX Item "GetElementsByEuropeanStyleGroupLabel"
195 .Vb 2
196 \& @ElementSymbols = GetElementsByEuropeanStyleGroupLabel($GroupLabel);
197 \& $ElementSymbolsRef = GetElementsByEuropeanStyleGroupLabel($GroupLabel);
198 .Ve
199 .Sp
200 Returns an array or a reference to an array of element symbols for a specified European
201 style \fIGroupLabel\fR. Valid values for European style group labels: \fI\s-1IA\s0 to \s-1VIIIA\s0, \s-1IB\s0 to \s-1VIIIB\s0, \s-1VIII\s0\fR.
202 .IP "\fBGetElementsByPeriodNumber\fR" 4
203 .IX Item "GetElementsByPeriodNumber"
204 .Vb 2
205 \& @ElementSymbols = GetElementsByPeriodNumber($PeriodNumber);
206 \& $ElementSymbolsRef = GetElementsByPeriodNumber($PeriodNumber);
207 .Ve
208 .Sp
209 Returns an array or a reference to an array of element symbols for a specified \fIPeriodNumber\fR.
210 .IP "\fBGetElementMostAbundantNaturalIsotopeData\fR" 4
211 .IX Item "GetElementMostAbundantNaturalIsotopeData"
212 .Vb 4
213 \& @IsotopeData = GetElementMostAbundantNaturalIsotopeData(
214 \& $ElementID);
215 \& $IsotopeDataRef = GetElementMostAbundantNaturalIsotopeData(
216 \& $ElementID);
217 .Ve
218 .Sp
219 Returns an array or reference to an array containing data for most abundant isotope of
220 an element specfied by element symbol or atomic number. Isotope data arrays contain these
221 values: \fIAtomicNumber, IsotopeSymbol, MassNumber, RelativeAtomicMass, and NaturalAbundance\fR.
222 .IP "\fBGetElementMostAbundantNaturalIsotopeMassNumber\fR" 4
223 .IX Item "GetElementMostAbundantNaturalIsotopeMassNumber"
224 .Vb 1
225 \& $MassNumber = GetElementMostAbundantNaturalIsotopeMassNumber($ElementID);
226 .Ve
227 .Sp
228 Returns mass number of most abundant natural isotope of an element specfied by element
229 symbol or atomic number
230 .IP "\fBGetElementNaturalIsotopeCount\fR" 4
231 .IX Item "GetElementNaturalIsotopeCount"
232 .Vb 1
233 \& $IsotopeCount = GetElementNaturalIsotopeCount($ElementID);
234 .Ve
235 .Sp
236 Returns natural isotope count for an element specfied by element symbol or
237 atomic number
238 .IP "\fBGetElementNaturalIsotopesData\fR" 4
239 .IX Item "GetElementNaturalIsotopesData"
240 .Vb 2
241 \& $DataHashRef = GetElementNaturalIsotopesData($ElementID,
242 \& [$MassNumber]);
243 .Ve
244 .Sp
245 Reurns a reference to a hash containingall available isotope data for an element specified
246 using element symbol or aromic number; an optional mass number indicates retrieve data
247 for a specific isotope
248 .IP "\fBGetElementNaturalIsotopeAbundance\fR" 4
249 .IX Item "GetElementNaturalIsotopeAbundance"
250 .Vb 2
251 \& $Abundance = GetElementNaturalIsotopeAbundance($ElementID,
252 \& $MassNumber);
253 .Ve
254 .Sp
255 Returns percent abundance of natural isotope for an element with specfic mass
256 number.
257 .IP "\fBGetElementMostAbundantNaturalIsotopeMass\fR" 4
258 .IX Item "GetElementMostAbundantNaturalIsotopeMass"
259 .Vb 2
260 \& $RelativeAtomicMass = GetElementMostAbundantNaturalIsotopeMass(
261 \& $ElementID);
262 .Ve
263 .Sp
264 Returns relative atomic mass of most abundant isotope for an element specified using
265 element symbol or aromic number.
266 .IP "\fBGetElementNaturalIsotopeMass\fR" 4
267 .IX Item "GetElementNaturalIsotopeMass"
268 .Vb 2
269 \& $RelativeAtomicMass = GetElementNaturalIsotopeMass($ElementID,
270 \& $MassNumber);
271 .Ve
272 .Sp
273 Returns relative atomic mass of an element with specfic mass number.
274 .IP "\fBGetElementPropertiesData\fR" 4
275 .IX Item "GetElementPropertiesData"
276 .Vb 1
277 \& $PropertyDataHashRef = GetElementPropertiesData($ElementID);
278 .Ve
279 .Sp
280 Returns a reference to a hash containing all available properties data for an element
281 specified using element symbol or atomic number.
282 .IP "\fBGetElementPropertyName\fR" 4
283 .IX Item "GetElementPropertyName"
284 .Vb 1
285 \& $PropertyValue = GetElement<PropertyName>($ElementID);
286 .Ve
287 .Sp
288 Returns value of an element for a element specified using element symbol or atomic number.
289 .Sp
290 These functions are not defined in this modules; these are implemented on-the-fly using
291 Perl's \s-1AUTOLOAD\s0 funcionality.
292 .Sp
293 Here is the list of known element \fIproperty names\fR: AllenElectronegativity,
294 AllredRochowElectronegativity, AtomicNumber, AtomicRadiusCalculated,
295 AtomicRadiusEmpirical, AtomicWeight, Block, BoilingPoint, BondLength,
296 BrinellHardness, BulkModulus, Classification, CoefficientOfLinearExpansion, Color,
297 CommonValences, LowestCommonValence, HighestCommonValence,
298 CommonOxidationNumbers, LowestCommonOxidationNumber, HighestCommonOxidationNumber,
299 CovalentRadiusEmpirical, CriticalTemperature, DensityOfSolid, DiscoveredAt, DiscoveredBy,
300 DiscoveredWhen, ElectricalResistivity, ElectronAffinity, ElementName, ElementSymbol, EnthalpyOfAtmization,
301 EnthalpyOfFusion, EnthalpyOfVaporization, FirstIonizationEnergy, GroundStateConfiguration, GroundStateLevel,
302 GroupName, GroupNumber, NaturalIsotopeData, MeltingPoint, MineralHardness, MolarVolume,
303 MullikenJaffeElectronegativity, OriginOfName, PaulingElectronegativity, PeriodNumber, PoissonsRatio,
304 Reflectivity, RefractiveIndex, RigidityModulus, SandersonElectronegativity, StandardState,
305 SuperconductionTemperature, ThermalConductivity, VanderWaalsRadius, VelocityOfSound, VickersHardness,
306 YoungsModulus.
307 .IP "\fBGetElementPropertiesNames\fR" 4
308 .IX Item "GetElementPropertiesNames"
309 .Vb 2
310 \& @PropertyNames = GetElementPropertiesNames([$Mode]);
311 \& $PropertyNamesRef = GetElementPropertiesNames([$Mode]);
312 .Ve
313 .Sp
314 Returns names of all available element properties. Optional mode parameter controls
315 grouping of property names; Possible values: \fIByGroup or Alphabetical\fR. Default:
316 \&\fIByGroup\fR.
317 .IP "\fBGetElementPropertiesNamesAndUnits\fR" 4
318 .IX Item "GetElementPropertiesNamesAndUnits"
319 .Vb 1
320 \& $NameUnitsHashRef = GetElementPropertiesNamesAndUnits();
321 .Ve
322 .Sp
323 Returns a reference to a hash of property names and units of all available element
324 properties. Names with no units contains empty strings.
325 .IP "\fBGetElementPropertyUnits\fR" 4
326 .IX Item "GetElementPropertyUnits"
327 .Vb 1
328 \& $Units = GetElementPropertyUnits($PropertyName);
329 .Ve
330 .Sp
331 Returns units for a specific element property name. An empty string is returned for
332 a property with no units.
333 .IP "\fBGetIUPACGroupNumberFromAmericanStyleGroupLabel\fR" 4
334 .IX Item "GetIUPACGroupNumberFromAmericanStyleGroupLabel"
335 .Vb 2
336 \& $GroupNumber = GetIUPACGroupNumberFromAmericanStyleGroupLabel(
337 \& $GroupLabel);
338 .Ve
339 .Sp
340 Returns \s-1IUPAC\s0 group numbers of a specific American style group label. A comma delimited
341 string is returned for group \s-1VIII\s0 or \s-1VIIIB\s0.
342 .IP "\fBGetIUPACGroupNumberFromEuropeanStyleGroupLabel\fR" 4
343 .IX Item "GetIUPACGroupNumberFromEuropeanStyleGroupLabel"
344 .Vb 2
345 \& $GroupNumber = GetIUPACGroupNumberFromEuropeanStyleGroupLabel(
346 \& $GroupLabel);
347 .Ve
348 .Sp
349 Returns \s-1IUPAC\s0 group numbers of a specific European style group label. A comma delimited
350 string is returned for group \s-1VIII\s0 or \s-1VIIIA\s0.
351 .IP "\fBIsElement\fR" 4
352 .IX Item "IsElement"
353 .Vb 1
354 \& $Status = IsElement($ElementID);
355 .Ve
356 .Sp
357 Returns 1 or 0 based on whether it's a known element symbol or atomic number.
358 .IP "\fBIsElementNaturalIsotopeMassNumber\fR" 4
359 .IX Item "IsElementNaturalIsotopeMassNumber"
360 .Vb 1
361 \& $Status = IsElementNaturalIsotopeMassNumber($ElementID, $MassNumber);
362 .Ve
363 .Sp
364 Returns 1 or 0 based on whether it's a valid mass number for an element symbol
365 or atomic number.
366 .IP "\fBIsElementProperty\fR" 4
367 .IX Item "IsElementProperty"
368 .Vb 1
369 \& $Status = IsElementProperty($PropertyName);
370 .Ve
371 .Sp
372 Returns 1 or 0 based on whether it's a valid property name.
373 .SH "AUTHOR"
374 .IX Header "AUTHOR"
375 Manish Sud <msud@san.rr.com>
376 .SH "SEE ALSO"
377 .IX Header "SEE ALSO"
378 AminoAcids.pm, NucleicAcids.pm
379 .SH "COPYRIGHT"
380 .IX Header "COPYRIGHT"
381 Copyright (C) 2015 Manish Sud. All rights reserved.
382 .PP
383 This file is part of MayaChemTools.
384 .PP
385 MayaChemTools is free software; you can redistribute it and/or modify it under
386 the terms of the \s-1GNU\s0 Lesser General Public License as published by the Free
387 Software Foundation; either version 3 of the License, or (at your option)
388 any later version.