Imports¶
In [2]:
%matplotlib notebook
from activepapers.exploration import ActivePaper
import matplotlib.pyplot as plt ...
%matplotlib notebook
from activepapers.exploration import ActivePaper
import matplotlib.pyplot as plt ...
In the previous notebook, I plotted an interactive 2D map. The time needed to generate this 2D map can be rather long. To improve that, we can "easily" parallelize the calculation of the distances with the multiprocessing module. The next 8 inputs are identical to the ones presented in the ...
In this notebook, I plot an interactive 2D map from a molecular dynamics trajectory in the IPython notebook in just a few lines of code. For this purpose, we will take advantage of the powerful package MMTK.
from __future__ import print_function, division
from MMTK import *
from MMTK.Trajectory ...