Chemistry.reactions package¶
Submodules¶
Chemistry.reactions.acid_base module¶
This module provides the tools to simulate an acid base reaction.
- class Chemistry.reactions.acid_base.AcidBase(acid, base, cond)[source]¶
Bases: Chemistry.reactions._reactions._Reaction
Performs an acid base reaction.
Parameters: acid : Acid
The acid in the reaction.
base : Base
The base in the reaction.
cond : Conditions
The reaction conditions.
Notes
This class makes some pretty heavy assumptions about the type and format of the data being passed to it. Should generally not be called directly, but instead from the middle layer between interface (command line or GUI) and the underlying framework.
Attributes
conditions The Conditions object for the reaction. acid The acid in the reaction. base The base in the reaction. Methods
react() Performs the actual acid-base reaction. - acid[source]¶
The acid in the reaction.
Notes
The acid passed to the constructor may not be the one treated as an acid for the reaction; acidic conditions may affect the outcome.
- base[source]¶
The base in the reaction.
Notes
The base passed to the constructor may not be the one treated as an base for the reaction; basic conditions may affect the outcome.
Module contents¶
This is the reactions package of the simulator app. It contains all of the necessary code to describe reaction objects and their processes.