Descriptive statisitcs on a sinlge model


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()


1580.39291117

Calculate the length of a model, the sum of all distances between consecutive particles:


In [8]:
print model.contour()


63287.0216901

Calculate the minimum rectangular space in which to fit the model:


In [9]:
print model.longest_axe()
print model.shortest_axe()


4586.20202907
462.094110797

The minimum cube:


In [10]:
print model.cube_side()
print model.cube_volume()


6565.19462149
2.82971576977e+11

In [ ]: