SampleMovie

 
SampleMovie = class SampleMovie(builtins.object)
    SampleMovie(samplelist, filename='samplemovie.mp4', problem=None, kpar=[0, 1])
 
SampleMovie produces a movie (mp4) from a SampleList
 
This class is provided as an example to vary upon.
 
===========
MovieWriter
===========
 
This example uses a MovieWriter directly to grab individual frames and write
them to a file. This avoids any event loop integration, but has the advantage
of working with even the Agg backend. This is not recommended for use in an
interactive setting.
 
  Constructor:
SampleMovie( samplelist, filename='samplemovie.mp4', problem=None, kpar=[0, 1])
Constructor.
 
The constructor produces the movie.
 
Parameters
----------
samplelist : SampleList
    to make the movie from
filename : str
    name of the mp4 movie
problem : Problem
    the problem that produced the samplelist
kpar : list of 2 ints
    indices of the parameters to plot