Changes between Version 2 and Version 3 of PeriodicTable
- Timestamp:
- 12/21/06 14:34:43 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PeriodicTable
v2 v3 5 5 == Hypothetical example of use == 6 6 7 The user should only need to import the package itself, at which point __init__.pywill construct all the elemental information and instantiate an object of the Periodic class.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. 8 8 9 9 The 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. … … 65 65 66 66 The primary focus at the moment is accuracy, ease-of-use, and power. Optimization can come later. 67 68 === Some conventions to follow === 69 I 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.
