dbfc622fb82a3eb472941968a6327e8cc94a3c79,doc/examples/scripts/structure/md_analysis.py,,,#,31

Before Change


ax.set_xlim(1, 20)
ax.set_xlabel("Residue")
ax.set_ylabel("RMSF (Angstrom)")
ax.set_xticks(np.arange(1, 21))
ax.set_xticklabels(np.arange(1, 21))
figure.tight_layout()

After Change


// calculations, we are only interested in the protein itself
// These are removed for the sake of computational speed using a boolean
// mask
protein_mask = struc.filter_amino_acids(template)
template = template[protein_mask]
// We could have loaded the trajectory also with
// "strucio.load_structure()", but in this case we only want to load
// those coordinates that belong to the already selected atoms of the
// template structure.
// Hence, we use the "XTCFile" class directly to load the trajectory
// This gives us the additional option that allows us to select the
// coordinates belonging to the amino acids.
xtc_file = xtc.XTCFile()
xtc_file.read(traj_file_path, atom_i=np.where(protein_mask)[0])
trajectory = xtc_file.get_structure(template)

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Since the MD simulation used periodic boundaries, the protein might be
// segmented over the box boundary.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: biotite-dev/biotite
Commit Name: dbfc622fb82a3eb472941968a6327e8cc94a3c79
Time: 2019-03-05
Author: patrick.kunzm@gmail.com
File Name: doc/examples/scripts/structure/md_analysis.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 76d114f7416d21126d158792a345a714bf809889
Time: 2020-04-28
Author: quantum.analyst@gmail.com
File Name: lib/matplotlib/tests/test_usetex.py
Class Name:
Method Name: test_usetex


Project Name: matplotlib/matplotlib
Commit Name: 8472fbbd16e292d50cdc05caa320854b2388a842
Time: 2020-04-14
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/tests/test_usetex.py
Class Name:
Method Name: test_usetex