def run(self, sequence):
"""
Build the full-oligomer stiffness matrix by positioning the 6x6
stiffness matrices for each tetranucleotide (obtained by calling
DNAFlexibility's _get_flexibilities()) on the diagonal.
"""
stiffness_matrix = block_diag(*list(self._get_flexibilities(sequence)))
return stiffness_matrix
#------------------------------------------------------------------------------
评论列表
文章目录