-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba97c30
commit 069bd2e
Showing
45 changed files
with
19,056 additions
and
966 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
|
||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Overview: module code — pystellibs 1.0 documentation</title> | ||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css" /> | ||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script> | ||
<script src="../_static/doctools.js"></script> | ||
<script src="../_static/sphinx_highlight.js"></script> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
|
||
<link rel="stylesheet" href="../_static/custom.css" type="text/css" /> | ||
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | ||
|
||
</head><body> | ||
|
||
|
||
<div class="document"> | ||
<div class="documentwrapper"> | ||
<div class="bodywrapper"> | ||
|
||
|
||
<div class="body" role="main"> | ||
|
||
<h1>All modules for which code is available</h1> | ||
<ul><li><a href="pystellibs/basel.html">pystellibs.basel</a></li> | ||
<li><a href="pystellibs/btsettl.html">pystellibs.btsettl</a></li> | ||
<li><a href="pystellibs/elodie.html">pystellibs.elodie</a></li> | ||
<li><a href="pystellibs/ezunits.html">pystellibs.ezunits</a></li> | ||
<ul><li><a href="pystellibs/ezunits/pint.html">pystellibs.ezunits.pint</a></li> | ||
</ul><li><a href="pystellibs/helpers.html">pystellibs.helpers</a></li> | ||
<li><a href="pystellibs/interpolator.html">pystellibs.interpolator</a></li> | ||
<ul><li><a href="pystellibs/interpolator/interpolator.html">pystellibs.interpolator.interpolator</a></li> | ||
<li><a href="pystellibs/interpolator/lejeune.html">pystellibs.interpolator.lejeune</a></li> | ||
<li><a href="pystellibs/interpolator/ndlinear.html">pystellibs.interpolator.ndlinear</a></li> | ||
</ul><li><a href="pystellibs/kurucz.html">pystellibs.kurucz</a></li> | ||
<li><a href="pystellibs/marcs.html">pystellibs.marcs</a></li> | ||
<li><a href="pystellibs/munari.html">pystellibs.munari</a></li> | ||
<li><a href="pystellibs/pbar.html">pystellibs.pbar</a></li> | ||
<li><a href="pystellibs/rauch.html">pystellibs.rauch</a></li> | ||
<li><a href="pystellibs/simpletable.html">pystellibs.simpletable</a></li> | ||
<li><a href="pystellibs/stellib.html">pystellibs.stellib</a></li> | ||
<li><a href="pystellibs/tlusty.html">pystellibs.tlusty</a></li> | ||
</ul> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | ||
<div class="sphinxsidebarwrapper"> | ||
<h1 class="logo"><a href="../index.html">pystellibs</a></h1> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<p> | ||
<iframe src="https://ghbtns.com/github-btn.html?user=mfouesneau&repo=pystellibs&type=watch&count=true&size=large&v=2" | ||
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe> | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
<h3>Navigation</h3> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../modules.html">pystellibs</a></li> | ||
</ul> | ||
|
||
<div class="relations"> | ||
<h3>Related Topics</h3> | ||
<ul> | ||
<li><a href="../index.html">Documentation overview</a><ul> | ||
</ul></li> | ||
</ul> | ||
</div> | ||
<div id="searchbox" style="display: none" role="search"> | ||
<h3 id="searchlabel">Quick search</h3> | ||
<div class="searchformwrapper"> | ||
<form class="search" action="../search.html" method="get"> | ||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/> | ||
<input type="submit" value="Go" /> | ||
</form> | ||
</div> | ||
</div> | ||
<script>document.getElementById('searchbox').style.display = "block"</script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
<div class="clearer"></div> | ||
</div> | ||
<div class="footer"> | ||
©2016, M. Fouesneau. | ||
|
||
| | ||
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.2.1</a> | ||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a> | ||
|
||
</div> | ||
|
||
|
||
<a href="https://github.com/mfouesneau/pystellibs" class="github"> | ||
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/> | ||
</a> | ||
|
||
|
||
|
||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
|
||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>pystellibs.ezunits — pystellibs 1.0 documentation</title> | ||
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" /> | ||
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" /> | ||
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> | ||
<script src="../../_static/doctools.js"></script> | ||
<script src="../../_static/sphinx_highlight.js"></script> | ||
<link rel="index" title="Index" href="../../genindex.html" /> | ||
<link rel="search" title="Search" href="../../search.html" /> | ||
|
||
<link rel="stylesheet" href="../../_static/custom.css" type="text/css" /> | ||
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | ||
|
||
</head><body> | ||
|
||
|
||
<div class="document"> | ||
<div class="documentwrapper"> | ||
<div class="bodywrapper"> | ||
|
||
|
||
<div class="body" role="main"> | ||
|
||
<h1>Source code for pystellibs.ezunits</h1><div class="highlight"><pre> | ||
<span></span><span class="c1"># -*- coding: utf-8 -*-</span> | ||
<span class="sd">"""</span> | ||
<span class="sd"> pint</span> | ||
<span class="sd"> ~~~~</span> | ||
|
||
<span class="sd"> Pint is Python module/package to define, operate and manipulate</span> | ||
<span class="sd"> **physical quantities**: the product of a numerical value and a</span> | ||
<span class="sd"> unit of measurement. It allows arithmetic operations between them</span> | ||
<span class="sd"> and conversions from and to different units.</span> | ||
|
||
<span class="sd"> :copyright: (c) 2012 by Hernan E. Grecco.</span> | ||
<span class="sd"> :license: BSD, see LICENSE for more details.</span> | ||
<span class="sd">"""</span> | ||
|
||
<span class="kn">from</span> <span class="nn">.pint</span> <span class="kn">import</span> <span class="n">UnitRegistry</span><span class="p">,</span> <span class="n">DimensionalityError</span><span class="p">,</span> <span class="n">UnitsContainer</span><span class="p">,</span> <span class="n">UndefinedUnitError</span><span class="p">,</span> <span class="n">logger</span><span class="p">,</span> <span class="n">__version__</span> | ||
|
||
<span class="c1"># load a default registery.</span> | ||
<span class="c1">## Example sage unit['m * s **-1']</span> | ||
<span class="n">unit</span> <span class="o">=</span> <span class="n">UnitRegistry</span><span class="p">()</span> | ||
|
||
|
||
<div class="viewcode-block" id="hasUnit"><a class="viewcode-back" href="../../pystellibs.ezunits.html#pystellibs.ezunits.hasUnit">[docs]</a><span class="k">def</span> <span class="nf">hasUnit</span><span class="p">(</span><span class="n">val</span><span class="p">):</span> | ||
<span class="k">return</span> <span class="nb">hasattr</span><span class="p">(</span><span class="n">val</span><span class="p">,</span> <span class="s1">'units'</span><span class="p">)</span></div> | ||
</pre></div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | ||
<div class="sphinxsidebarwrapper"> | ||
<h1 class="logo"><a href="../../index.html">pystellibs</a></h1> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<p> | ||
<iframe src="https://ghbtns.com/github-btn.html?user=mfouesneau&repo=pystellibs&type=watch&count=true&size=large&v=2" | ||
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe> | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
<h3>Navigation</h3> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../modules.html">pystellibs</a></li> | ||
</ul> | ||
|
||
<div class="relations"> | ||
<h3>Related Topics</h3> | ||
<ul> | ||
<li><a href="../../index.html">Documentation overview</a><ul> | ||
<li><a href="../index.html">Module code</a><ul> | ||
</ul></li> | ||
</ul></li> | ||
</ul> | ||
</div> | ||
<div id="searchbox" style="display: none" role="search"> | ||
<h3 id="searchlabel">Quick search</h3> | ||
<div class="searchformwrapper"> | ||
<form class="search" action="../../search.html" method="get"> | ||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/> | ||
<input type="submit" value="Go" /> | ||
</form> | ||
</div> | ||
</div> | ||
<script>document.getElementById('searchbox').style.display = "block"</script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
<div class="clearer"></div> | ||
</div> | ||
<div class="footer"> | ||
©2016, M. Fouesneau. | ||
|
||
| | ||
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.2.1</a> | ||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a> | ||
|
||
</div> | ||
|
||
|
||
<a href="https://github.com/mfouesneau/pystellibs" class="github"> | ||
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/> | ||
</a> | ||
|
||
|
||
|
||
</body> | ||
</html> |
Oops, something went wrong.