Changes between Version 2 and Version 3 of PeriodicTable

Show
Ignore:
Timestamp:
12/21/06 14:34:43 (6 years ago)
Author:
CakeProphet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PeriodicTable

    v2 v3  
    55== Hypothetical example of use == 
    66 
    7 The user should only need to import the package itself, at which point __init__.py will construct all the elemental information and instantiate an object of the Periodic class. 
     7The user should only need to import the package itself, at which point {{{__init__.py}}} will construct all the elemental information and instantiate an object of the Periodic class. 
    88 
    99The periodic table consists of "element" objects. Each element object contains attributes which correspond to elemental properties such as freezing point, atomic mass, and electon configuration. 
     
    6565 
    6666The primary focus at the moment is accuracy, ease-of-use, and power. Optimization can come later. 
     67 
     68=== Some conventions to follow === 
     69I don't require any conventions unless they're required for the code to operate properly. 
     70 
     71* All temperatures should be in Celsius. Conversions will be performed by methods (or a package in scipy, if scipy has a unit conversion system)[[BR]] 
     72* A dictionary mapping properties to Element objects should follow the naming convention of "bypropname" (for example, the dictionary mapping symbol to Element is named "bysymbol"). See {{{Periodic.__getitem__}}} for why this should be done.