Wish List - Wish List: Wish #161

<Member picture

0 Like 0 Dislike

Baudilio Tejerina

Periodic Table as rappture element

If in a tool the user needs to pick atomic parameters as input, having them organized in a Periodic Table-shaped table will facilitate and easy the process. From the developer stand point, it would alleviate the coding load needed to find ways around (if any) to store and access data through a simple table.

Baudilio

Comments (2)

  1. George A. Howlett

    20091219 version of rappture contains a periodicelement object. There’s no documentation on rappture.org yet (I’ll try to fix this) but there’s an example in examples/zoo/periodicelement.

    It lets you select an element from either by typing into an entry or a downdown periodic table. You can enter the element name, symbol, or number.

    There are four important xml elements.

    default – set the default element selection. active – specify what elements can be selected. returnvalue – specify to return element name, symbol, or weight. Default is element name. inactive – specify what element can’t be selected. (Note: active and inactive are mutually exclusive).

    As a feature, you can specify alkali_metal alkaline_earth_metal post_transition_metal 20091219 version of rappture contains a periodicelement object. There’s no documentation on rappture.org yet (I’ll try to fix this) but there’s an example in examples/zoo/periodicelement.

    It lets you select an element from either by typing into an entry or a downdown periodic table. You can enter the element name, symbol, or number.

    There are four important xml elements.

    default – set the default element selection. active – specify what elements can be selected. inactive – specify what element can’t be selected. (Note: active and inactive are mutually exclusive).

    As a feature, you can specify a group of elements. actinoid: Actinides Actinium Americium Berkelium Californium Curium Einsteinium Fermium Mendelevium Neptunium Plutonium Protactinium Thorium Uranium Lawrencium Nobelium alkali-metal:Cesium Francium Lithium Potassium Rubidium Sodium alkaline-earth-metal:Barium Beryllium Calcium Magnesium Radium Strontium halogen: Astatine Bromine Chlorine Fluorine Iodine lanthanoid:Cerium Erbium Europium Gadolinium Holmium Lanthanides Lanthanum Lutetium Neodymium Praseodymium Promethium Samarium Terbium Thulium Ytterbium Dysprosium metalloid: Arsenic Boron Germanium Polonium Silicon Tellurium Antimony noble-gas: Argon Helium Krypton Neon Radon Xenon other-non-metal: Carbon Hydrogen Nitrogen Sulfur Oxygen Phosphorus Selenium post-transition-metal: Aluminium Bismuth Gallium Indium Lead Thallium Tin Ununhexium Ununpentium Ununquadium Ununtrium transition-metal: Chromium Cobalt Copper Dubnium Gold Hafnium Hassium Iridium Iron Manganese Meitnerium Mercury Molybdenum Nickel Niobium Osmium Palladium Rhenium Rhodium Roentgenium Ruthenium Rutherfordium Scandium Seaborgium Silver Tantalum Technetium Titanium Tungsten Ununbium Vanadium Yttrium Zinc Zirconium Bohrium Cadmium Darmstadtium Platinum unknown: Ununoctium Ununseptium

    Reply Report abuse

    Please login to comment.

  2. Baudilio Tejerina

    Very useful!! Thanks so much!!!

    A few extensions to the functionality of the element: a.- for each chemical element, there could be more than one option for the same data. b.- the returned value could be more than one.

    Here is a practical example. I’d need to fill out my table with two nuclear parameters, spin (I) and magnetic dipole (mu). The element Hydrogen for instance has three isotopes (same atomic number, different mass number)

    Nuclide I mu

    1. H-1 1/2 +2.79284734
    2. H-2 1 +0.857438228
    3. H-3 1/2 +2.97896244

    For this element, the user should be able to select one of the three isotopes and the main program of the tool be able to read two values (I and mu) out of the xml script.


    On the above respect, here is a comment: Ideally, the user should be responsible for entering the data (filling out the table) with the specific parameters for the particular tool.


    Baudilio

    Reply Report abuse

    Please login to comment.