@@ -2165,6 +2165,12 @@ def save_movie(self, fname, time_dilation=4., tmin=None, tmax=None,
2165
2165
bitrate = None , ** kwargs ):
2166
2166
"""Save a movie (for data with a time axis)
2167
2167
2168
+ The movie is created through the :mod:`imageio` module. The format is
2169
+ determined by the extension, and additional options can be specified
2170
+ through keyword arguments that depend on the format. For available
2171
+ formats and corresponding parameters see the imageio documentation:
2172
+ http://imageio.readthedocs.io/en/latest/formats.html#multiple-images
2173
+
2168
2174
.. Warning::
2169
2175
This method assumes that time is specified in seconds when adding
2170
2176
data. If time is specified in milliseconds this will result in
@@ -2173,7 +2179,9 @@ def save_movie(self, fname, time_dilation=4., tmin=None, tmax=None,
2173
2179
Parameters
2174
2180
----------
2175
2181
fname : str
2176
- Path at which to save the movie.
2182
+ Path at which to save the movie. The extension determines the
2183
+ format (e.g., `'*.mov'`, `'*.gif'`, ...; see the :mod:`imageio`
2184
+ documenttion for available formats).
2177
2185
time_dilation : float
2178
2186
Factor by which to stretch time (default 4). For example, an epoch
2179
2187
from -100 to 600 ms lasts 700 ms. With ``time_dilation=4`` this
@@ -2188,6 +2196,8 @@ def save_movie(self, fname, time_dilation=4., tmin=None, tmax=None,
2188
2196
Interpolation method (``scipy.interpolate.interp1d`` parameter,
2189
2197
one of 'linear' | 'nearest' | 'zero' | 'slinear' | 'quadratic' |
2190
2198
'cubic', default 'quadratic').
2199
+ additional keywords :
2200
+ Specify additional options for :mod:`imageio`.
2191
2201
2192
2202
Notes
2193
2203
-----
0 commit comments