source: trunk/ElementTable.py @ 147

Last change on this file since 147 was 147, checked in by vondreel, 11 years ago

New element table extracted from G2Elem

File size: 10.9 KB
Line 
1#Element table for building periodic table with valences & JMOL colors
2#Need these in case go back to this periodic table coloring scheme
3import wx       
4REcolor = wx.Colour(128, 128, 255)
5Metcolor = wx.Colour(192, 192, 192)
6Noblecolor = wx.Colour(255, 128, 255)
7Alkcolor = wx.Colour(255, 255, 128)
8AlkEcolor = wx.Colour(255, 128, 0)
9SemMetcolor = wx.Colour(128, 255, 0)
10NonMetcolor = wx.Colour(0, 255, 255)
11White = wx.Colour(255, 255, 255)           
12ElTable = [
13    (["H","H-1"],                  0,0, "Hydrogen",    White,           0.0000,wx.Colour(0xff,0xff,0xff)),
14    (["He",],                     17,0, "Helium",      Noblecolor,      0.0000,wx.Colour(0xd9,0xff,0xff)),
15    (["Li","Li+1"],                0,1, "Lithium",     Alkcolor,        0.0004,wx.Colour(0xcc,0x80,0xff)),
16    (["Be","Be+2"],                1,1, "Beryllium",   AlkEcolor,       0.0006,wx.Colour(0xc2,0xff,0x00)),
17    (["B",],                       2,1, "Boron",       NonMetcolor,     0.0012,wx.Colour(0xff,0xb5,0xb5)),
18    (["C",],                      13,1, "Carbon",      NonMetcolor,     0.0018,wx.Colour(0x90,0x90,0x90)),
19    (["N",],                      14,1, "Nitrogen",    NonMetcolor,     0.0030,wx.Colour(0x30,0x50,0xf8)),
20    (["O","O-1","O-2"],            15,1, "Oxygen",      NonMetcolor,     0.0042,wx.Colour(0xff,0x0d,0x0d)),
21    (["F","F-1"],                  16,1, "Fluorine",    NonMetcolor,     0.0054,wx.Colour(0x90,0xe0,0x50)),
22    (["Ne",],                     17,1, "Neon",        Noblecolor,      0.0066,wx.Colour(0xb3,0xe3,0xf5)),
23    (["Na","Na+1"],                 0,2, "Sodium",      Alkcolor,        0.0084,wx.Colour(0xab,0x5c,0xf2)),
24    (["Mg","Mg+2"],                1,2, "Magnesium",   AlkEcolor,       0.0110,wx.Colour(0x8a,0xff,0x00)),
25    (["Al","Al+3"],                2,2, "Aluminum",    SemMetcolor,     0.0125,wx.Colour(0xbf,0xa6,0xa6)),
26    (["Si","Si+4"],               13,2, "Silicon",     NonMetcolor,     0.0158,wx.Colour(0xf0,0xc8,0xa0)),
27    (["P",],                      14,2, "Phosphorus",  NonMetcolor,     0.0180,wx.Colour(0xff,0x80,0x00)),
28    (["S",],                      15,2, "Sulphur",     NonMetcolor,     0.0210,wx.Colour(0xff,0xff,0x30)),
29    (["Cl","Cl-1"],               16,2, "Chlorine",    NonMetcolor,     0.0250,wx.Colour(0x1f,0xf0,0x1f)),
30    (["Ar",],                     17,2, "Argon",       Noblecolor,      0.0285,wx.Colour(0x80,0xd1,0xe3)),
31    (["K","K+1"],                  0,3, "Potassium",   Alkcolor,        0.0320,wx.Colour(0x3d,0xff,0x00)),
32    (["Ca","Ca+2"],                1,3, "Calcium",     AlkEcolor,       0.0362,wx.Colour(0x3d,0xff,0x00)),
33    (["Sc","Sc+3"],                2,3, "Scandium",    Metcolor,        0.0410,wx.Colour(0xe6,0xe6,0xe6)),
34    (["Ti","Ti+2","Ti+3","Ti+4"],  3,3, "Titanium",    Metcolor,        0.0460,wx.Colour(0xbf,0xc2,0xc7)),
35    (["V","V+2","V+3","V+5"],      4,3, "Vanadium",    Metcolor,        0.0510,wx.Colour(0xa6,0xa6,0xab)),
36    (["Cr","Cr+2","Cr+3"],         5,3, "Chromium",    Metcolor,        0.0560,wx.Colour(0x8a,0x99,0xc7)),
37    (["Mn","Mn+2","Mn+3","Mn+4"],  6,3, "Manganese",   Metcolor,        0.0616,wx.Colour(0x9c,0x7a,0xc7)),
38    (["Fe","Fe+2","Fe3"],          7,3, "Iron",        Metcolor,        0.0680,wx.Colour(0xe0,0x66,0x33)),
39    (["Co","Co+2","Co+3"],         8,3, "Cobalt",      Metcolor,        0.0740,wx.Colour(0xf0,0x90,0xa0)),
40    (["Ni","Ni+2","Ni+3"],         9,3, "Nickel",      Metcolor,        0.0815,wx.Colour(0x50,0xd0,0x50)),
41    (["Cu","Cu+1","Cu+2"],        10,3, "Copper",      Metcolor,        0.0878,wx.Colour(0xc8,0x80,0x33)),
42    (["Zn","Zn+2"],               11,3, "Zinc",        Metcolor,        0.0960,wx.Colour(0x7d,0x80,0xb0)),
43    (["Ga","Ga+3"],               12,3, "Gallium",     SemMetcolor,      0.104,wx.Colour(0xc2,0x8f,0x8f)),
44    (["Ge","Ge+4"],               13,3, "Germanium",   SemMetcolor,      0.114,wx.Colour(0x66,0x8f,0x8f)),
45    (["As",],                     14,3, "Arsenic",     NonMetcolor,      0.120,wx.Colour(0xbd,0x80,0xe3)),
46    (["Se",],                     15,3, "Selenium",    NonMetcolor,      0.132,wx.Colour(0xff,0xa1,0x00)),
47    (["Br","Br-1"],               16,3, "Bromine",     NonMetcolor,      0.141,wx.Colour(0xa6,0x29,0x29)),
48    (["Kr",],                     17,3, "Krypton",     Noblecolor,       0.150,wx.Colour(0x5c,0xb8,0xd1)),
49    (["Rb","Rb+1"],                0,4, "Rubidium",    Alkcolor,         0.159,wx.Colour(0x70,0x2e,0xb0)),
50    (["Sr","Sr+2"],                1,4, "Strontium",   AlkEcolor,        0.171,wx.Colour(0x00,0xff,0x00)),
51    (["Y","Y+3"],                  2,4, "Yittrium",    Metcolor,         0.180,wx.Colour(0x94,0xff,0xff)),
52    (["Zr","Zr+4"],                3,4, "Zirconium",   Metcolor,         0.192,wx.Colour(0x94,0xe0,0xe0)),
53    (["Nb","Nb+3","Nb+5"],         4,4, "Niobium",     Metcolor,         0.204,wx.Colour(0x73,0xc2,0xc9)),
54    (["Mo","Mo+3","Mo+5","Mo+6"],  5,4, "Molybdenium", Metcolor,         0.216,wx.Colour(0x54,0xb5,0xb5)),
55    (["Tc",],                      6,4, "Technetium",  Metcolor,         0.228,wx.Colour(0x3b,0x9e,0x9e)),
56    (["Ru","Ru+3","Ru+4"],         7,4, "Ruthenium",   Metcolor,         0.246,wx.Colour(0x24,0x8f,0x8f)),
57    (["Rh","Rh+3","Rh+4"],         8,4, "Rhodium",     Metcolor,         0.258,wx.Colour(0x0a,0x7d,0x8c)),
58    (["Pd","Pd+2","Pd+4"],         9,4, "Palladium",   Metcolor,         0.270,wx.Colour(0x00,0x69,0x85)),
59    (["Ag","Ag+1","Ag+2"],        10,4, "Silver",      Metcolor,         0.285,wx.Colour(0xc0,0xc0,0xc0)),
60    (["Cd","Cd+2"],               11,4, "Cadmium",     Metcolor,         0.300,wx.Colour(0xff,0xd9,0x8f)),
61    (["In","In+3"],               12,4, "Indium",      SemMetcolor,      0.318,wx.Colour(0xa6,0x75,0x73)),
62    (["Sn","Sn+2","Sn+4"],        13,4, "Tin",         SemMetcolor,      0.330,wx.Colour(0x66,0x80,0x80)),
63    (["Sb","Sb+3","Sb+5"],        14,4, "Antimony",    SemMetcolor,      0.348,wx.Colour(0x9e,0x63,0xb5)),
64    (["Te",],                     15,4, "Tellurium",   NonMetcolor,      0.363,wx.Colour(0xd4,0x7a,0x00)),
65    (["I","I-1"],                 16,4, "Iodine",      NonMetcolor,      0.384,wx.Colour(0x94,0x00,0x94)),
66    (["Xe",],                     17,4, "Xenon",       Noblecolor,       0.396,wx.Colour(0x42,0x9e,0xb0)),
67    (["Cs","Cs+1"],                0,5, "Caesium",     Alkcolor,         0.414,wx.Colour(0x57,0x17,0x8f)),
68    (["Ba","Ba+2"],                1,5, "Barium",      AlkEcolor,        0.438,wx.Colour(0x00,0xc9,0x00)),
69    (["La","La+3"],                2,5, "Lanthanium",  Metcolor,         0.456,wx.Colour(0x70,0xd4,0xff)),
70    (["Ce","Ce+3","Ce+4"],     3.5,6.5, "Cerium",      REcolor,          0.474,wx.Colour(0xff,0xff,0xc7)),
71    (["Pr","Pr+3","Pr+4"],     4.5,6.5, "Praseodymium",REcolor,          0.492,wx.Colour(0xd9,0xff,0xc7)),
72    (["Nd","Nd+3"],            5.5,6.5, "Neodymium",   REcolor,          0.516,wx.Colour(0xc7,0xff,0xc7)),
73    (["Pm","Pm+3"],            6.5,6.5, "Promethium",  REcolor,          0.534,wx.Colour(0xa3,0xff,0xc7)),
74    (["Sm","Sm+3"],            7.5,6.5, "Samarium",    REcolor,          0.558,wx.Colour(0x8f,0xff,0xc7)),
75    (["Eu","Eu+2","Eu+3"],     8.5,6.5, "Europium",    REcolor,          0.582,wx.Colour(0x61,0xff,0xc7)),
76    (["Gd","Gd+3"],            9.5,6.5, "Gadolinium",  REcolor,          0.610,wx.Colour(0x45,0xff,0xc7)),
77    (["Tb","Tb+3"],           10.5,6.5, "Terbium",     REcolor,          0.624,wx.Colour(0x30,0xff,0xc7)),
78    (["Dy","Dy+3"],           11.5,6.5, "Dysprosium",  REcolor,          0.648,wx.Colour(0x1f,0xff,0xc7)),
79    (["Ho","Ho+3"],           12.5,6.5, "Holmium",     REcolor,          0.672,wx.Colour(0x00,0xff,0x9c)),
80    (["Er","Er+3"],           13.5,6.5, "Erbium",      REcolor,          0.696,wx.Colour(0x00,0xe6,0x75)),
81    (["Tm","Tm+3"],           14.5,6.5, "Thulium",     REcolor,          0.723,wx.Colour(0x00,0xd4,0x52)),
82    (["Yb","Yb+2","Yb+3"],    15.5,6.5, "Ytterbium",   REcolor,          0.750,wx.Colour(0x00,0xbf,0x38)),
83    (["Lu","Lu+3"],           16.5,6.5, "Lutetium",    REcolor,          0.780,wx.Colour(0x00,0xab,0x24)),
84    (["Hf","Hf+4"],                3,5, "Hafnium",     Metcolor,         0.804,wx.Colour(0x4d,0xc2,0xff)),
85    (["Ta","Ta+5"],                4,5, "Tantalum",    Metcolor,         0.834,wx.Colour(0x4d,0xa6,0xff)),
86    (["W","W+6"],                  5,5, "Tungsten",    Metcolor,         0.864,wx.Colour(0x21,0x94,0xd6)),
87    (["Re",],                      6,5, "Rhenium",     Metcolor,         0.900,wx.Colour(0x26,0x7d,0xab)),
88    (["Os","Os+4"],                7,5, "Osmium",      Metcolor,         0.919,wx.Colour(0x26,0x66,0x96)),
89    (["Ir","Ir+3","Ir+4"],         8,5, "Iridium",     Metcolor,         0.948,wx.Colour(0x17,0x54,0x87)),
90    (["Pt","Pt+2","Pt+4"],         9,5, "Platinium",   Metcolor,         0.984,wx.Colour(0xd0,0xd0,0xe0)),
91    (["Au","Au+1","Au+3"],        10,5, "Gold",        Metcolor,         1.014,wx.Colour(0xff,0xd1,0x23)),
92    (["Hg","Hg+1","Hg+2"],        11,5, "Mercury",     Metcolor,         1.046,wx.Colour(0xb8,0xb8,0xd0)),
93    (["Tl","Tl+1","Tl+3"],        12,5, "Thallium",    SemMetcolor,      1.080,wx.Colour(0xa6,0x54,0x4d)),
94    (["Pb","Pb+2","Pb+4"],        13,5, "Lead",        SemMetcolor,      1.116,wx.Colour(0x57,0x59,0x61)),
95    (["Bi","Bi+3","Bi+5"],        14,5, "Bismuth",     SemMetcolor,      1.149,wx.Colour(0x9e,0x4f,0xb5)),
96    (["Po",],                     15,5, "Polonium",    SemMetcolor,      1.189,wx.Colour(0xab,0x5c,0x00)),
97    (["At",],                     16,5, "Astatine",    NonMetcolor,      1.224,wx.Colour(0x75,0x4f,0x45)),
98    (["Rn",],                     17,5, "Radon",       Noblecolor,       1.260,wx.Colour(0x42,0x82,0x96)),
99    (["Fr",],                      0,6, "Francium",    Alkcolor,         1.296,wx.Colour(0x42,0x00,0x66)),
100    (["Ra","Ra+2"],                1,6, "Radium",      AlkEcolor,        1.332,wx.Colour(0x00,0x7d,0x00)),
101    (["Ac","Ac+3"],                2,6, "Actinium",    Metcolor,         1.374,wx.Colour(0x70,0xab,0xfa)),
102    (["Th","Th+4"],            3.5,7.5, "Thorium",     REcolor,          1.416,wx.Colour(0x00,0xba,0xff)),
103    (["Pa",],                  4.5,7.5, "Protactinium",REcolor,          1.458,wx.Colour(0x00,0xa1,0xff)),
104    (["U","U+3","U+4","U+6"],  5.5,7.5, "Uranium",     REcolor,          1.470,wx.Colour(0x00,0x8f,0xff)),
105    (["Np","Np+3","Np+4","Np+6"], 6.5,7.5, "Neptunium",   REcolor,       1.536,wx.Colour(0x00,0x80,0xff)),
106    (["Pu","Pu+3","Pu+4","Pu+6"], 7.5,7.5, "Plutonium",   REcolor,       1.584,wx.Colour(0x00,0x6b,0xff)),
107    (["Am",],                  8.5,7.5, "Americium",   REcolor,          1.626,wx.Colour(0x54,0x5c,0xf2)),
108    (["Cm",],                  9.5,7.5, "Curium",      REcolor,          1.669,wx.Colour(0x78,0x5c,0xe3)),
109    (["Bk",],                 10.5,7.5, "Berkelium",   REcolor,          1.716,wx.Colour(0x8a,0x4f,0xe3)),
110    (["Cf",],                 11.5,7.5, "Californium", REcolor,          1.764,wx.Colour(0xa1,0x36,0xd4)),
111    (["Q","QA","QB","QC","QD"],  14.5,7.5, "Special form factor", REcolor,  0.000,wx.Colour(0xa1,0x36,0xd4)),
112    ]
Note: See TracBrowser for help on using the repository browser.