In [1]:
from pytadbit import load_structuralmodels
In [2]:
models_t0 = load_structuralmodels('T0.models')
In [5]:
model= models_t0[0]
Calculate the radius of gyration of a model (median distance of all particles from the center of mass of the model):
In [11]:
print model.radius_of_gyration()
Calculate the length of a model, the sum of all distances between consecutive particles:
In [8]:
print model.contour()
Calculate the minimum rectangular space in which to fit the model:
In [9]:
print model.longest_axe()
print model.shortest_axe()
The minimum cube:
In [10]:
print model.cube_side()
print model.cube_volume()
In [ ]: