next up previous contents index
Next: model.seq_id sequence Up: The model class: handling Previous: The model class: handling   Contents   Index

model() -- create a new 3D model

model(env, **vars)
This creates a new model object. If used with no parameters, the new model is empty (i.e., it contains no atoms). However, if any keyword arguments are given, they are passed to the model.read() function to read in an initial model. See the model.to_iupac() example.



Ben Webb 2007-08-03