Table of Contents

Class: formula_dict bkchem/oasa/oasa/periodic_table.py

special dict that automatically converts itself to human readable formula on str(). Implements += for convenient formula concatenation

Base Classes   
dict
Methods   
__add__
__iadd__
__init__
__str__
get_element_fraction
get_html_repr_as_string
get_molecular_weight
is_saturated_alkyl_chain
keys_in_order
read_formula_string
sorted_keys
  __add__ 
__add__ ( self,  other )

  __iadd__ 
__iadd__ ( self,  other )

  __init__ 
__init__ ( self,  form=None )

  __str__ 
__str__ ( self,  reverse=0 )

  get_element_fraction 
get_element_fraction ( self,  element )

  get_html_repr_as_string 
get_html_repr_as_string (
        self,
        outer_element=None,
        reverse=0,
        )

  get_molecular_weight 
get_molecular_weight ( self )

  is_saturated_alkyl_chain 
is_saturated_alkyl_chain ( self )

  keys_in_order 
keys_in_order ( self )

  read_formula_string 
read_formula_string ( self,  form )

  sorted_keys 
sorted_keys ( self )


Table of Contents

This document was automatically generated on Fri Nov 19 12:52:55 2004 by HappyDoc version 2.1