Page MenuHomec4science

MovieModule.html
No OneTemporary

File Metadata

Created
Sat, May 25, 14:53

MovieModule.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>the Movie module &mdash; pNbody v4 documentation</title>
<link rel="stylesheet" href="../_static/default.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="top" title="pNbody v4 documentation" href="../index.html" />
<link rel="up" title="Reference" href="Reference.html" />
<link rel="next" title="the profiles module" href="ProfilesModule.html" />
<link rel="prev" title="the palette module" href="PaletteModule.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../np-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="ProfilesModule.html" title="the profiles module"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="PaletteModule.html" title="the palette module"
accesskey="P">previous</a> |</li>
<li><a href="../index.html">pNbody v4 documentation</a> &raquo;</li>
<li><a href="Reference.html" accesskey="U">Reference</a> &raquo;</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="module-pNbody.Movie">
<span id="the-movie-module"></span><h1>the Movie module<a class="headerlink" href="#module-pNbody.Movie" title="Permalink to this headline"></a></h1>
<dl class="class">
<dt id="pNbody.Movie.Movie">
<em class="property">class </em><tt class="descclassname">pNbody.Movie.</tt><tt class="descname">Movie</tt><big>(</big><em>name</em>, <em>mode=None</em><big>)</big><a class="headerlink" href="#pNbody.Movie.Movie" title="Permalink to this definition"></a></dt>
<dd><p>a Movie class</p>
<p class="rubric">Methods</p>
<dl class="method">
<dt id="pNbody.Movie.Movie.get_img">
<tt class="descname">get_img</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pNbody.Movie.Movie.get_img" title="Permalink to this definition"></a></dt>
<dd><p>can be replaced by read_one with option &#8220;image&#8221;</p>
</dd></dl>
<dl class="method">
<dt id="pNbody.Movie.Movie.info">
<tt class="descname">info</tt><big>(</big><big>)</big><a class="headerlink" href="#pNbody.Movie.Movie.info" title="Permalink to this definition"></a></dt>
<dd><p>give info</p>
</dd></dl>
<dl class="method">
<dt id="pNbody.Movie.Movie.open">
<tt class="descname">open</tt><big>(</big><em>mode='r'</em>, <em>readall=0</em><big>)</big><a class="headerlink" href="#pNbody.Movie.Movie.open" title="Permalink to this definition"></a></dt>
<dd><p>open a file</p>
</dd></dl>
<dl class="method">
<dt id="pNbody.Movie.Movie.read">
<tt class="descname">read</tt><big>(</big><em>skip=0</em>, <em>mode='array'</em><big>)</big><a class="headerlink" href="#pNbody.Movie.Movie.read" title="Permalink to this definition"></a></dt>
<dd><p>skip = 0 : read image at the current position
skip = 1 : skip an image
skip = -1 : read the image before (go back)
skip = -2 : skip an image before (go back)</p>
</dd></dl>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../index.html">
<img class="logo" src="../_static/icon-small.jpg" alt="Logo"/>
</a></p>
<h4>Previous topic</h4>
<p class="topless"><a href="PaletteModule.html"
title="previous chapter">the palette module</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="ProfilesModule.html"
title="next chapter">the profiles module</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/rst/MovieModule.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" size="18" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../np-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="ProfilesModule.html" title="the profiles module"
>next</a> |</li>
<li class="right" >
<a href="PaletteModule.html" title="the palette module"
>previous</a> |</li>
<li><a href="../index.html">pNbody v4 documentation</a> &raquo;</li>
<li><a href="Reference.html" >Reference</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2011, Yves Revaz.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.4.
</div>
</body>
</html>

Event Timeline