Commit 6cd90e46 authored by Aymeric BLONDEL's avatar Aymeric BLONDEL
Browse files

avec api doc+dist

parent cc2fcc39
__pycache__
MANIFEST
build
*.pyc
MANIFEST
Metadata-Version: 1.1
Name: Copremo
Version: 1.0
Summary: COlor PREdiction MOlecular
Home-page: http://www.sciences.univ-nantes.fr/CEISAM/erc/marches/?p=2159
Author: Aymeric Blondel Project Marches
Author-email: aymeric.blondel@univ-nantes.fr
License: http://www.gnu.org/licenses/gpl.html
Description: coucou
Platform: UNKNOWN
Classifier: Development Status :: 1 - Release
Classifier: Topic :: Chemical Package
Requires: CommandLineApp (>=2.6)
Requires: numpy
Requires: matplotlib
Copremo
Copremo.ico
MANIFEST.in
README.rst
ez_setup.py
setup.cfg
setup.py
Copremo.egg-info/PKG-INFO
Copremo.egg-info/SOURCES.txt
Copremo.egg-info/dependency_links.txt
Copremo.egg-info/requires.txt
Copremo.egg-info/top_level.txt
dist/Copremo-1.0.tar.gz
docs/copremo_doc_french.pdf
docs/copremo_image/1mcocl2.csvtransmittance_color.png
docs/copremo_image/copremo_gui.png
docs/copremo_image/cuso4.csvtransmittance_color.png
docs/copremo_image/ea1022.csvtransmittance_color.png
docs/copremo_image/kmno4.csvtransmittance_color.png
docs/copremo_image/lebleu.csvtransmittance_color.png
docs/copremo_image/nicl2.csvtransmittance_color.png
docs/copremo_image/p1-1.csvtransmittance_color.png
docs/copremo_image/p1-3.csvtransmittance_color.png
docs/copremo_image/p1-4.csvtransmittance_color.png
docs/copremo_image/violet.csvtransmittance_color.png
ini/cam_medium.gif
ini/copremo.ini
ini/uv.inp
lib/__init__.py
lib/colorpy/COPYING.LESSER.txt
lib/colorpy/COPYING.txt
lib/colorpy/__init__.py
lib/colorpy/blackbody.py
lib/colorpy/ciexyz.py
lib/colorpy/colormodels.py
lib/colorpy/figures.py
lib/colorpy/illuminants.py
lib/colorpy/license.txt
lib/colorpy/misc.py
lib/colorpy/plots.py
lib/colorpy/rayleigh.py
lib/colorpy/setup.py
lib/colorpy/test.py
lib/colorpy/test_blackbody.py
lib/colorpy/test_ciexyz.py
lib/colorpy/test_color.py
lib/colorpy/test_colormodels.py
lib/colorpy/test_illuminants.py
lib/colorpy/test_rayleigh.py
lib/colorpy/test_thinfilm.py
lib/colorpy/thinfilm.py
lib/copremo/Color.py
lib/copremo/ConsoleLogger.py
lib/copremo/Spectral.py
lib/copremo/Util.py
lib/copremo/Util_color.py
lib/copremo/__init__.py
lib/copremo/conv_color.py
lib/copremo/license.txt
lib/copremo/test_Color.py
lib/copremo/test_Spectral.py
test/verif1/EA1022.JPG
test/verif1/EA1022.csv
test/verif1/LEBLEU.JPG
test/verif1/LEBLEU.csv
test/verif1/P1-1.JPG
test/verif1/P1-1.csv
test/verif1/P1-3.JPG
test/verif1/P1-3.csv
test/verif1/P1-4.JPG
test/verif1/P1-4.csv
test/verif1/P1-4D_P1-3G.JPG
test/verif1/VIOLET.JPG
test/verif1/VIOLET.csv
test/verif1/test_result/EA1022.csvtransmittance_color.png
test/verif1/test_result/LEBLEU.csvtransmittance_color.png
test/verif1/test_result/P1-1.csvtransmittance_color.png
test/verif1/test_result/P1-3.csvtransmittance_color.png
test/verif1/test_result/P1-4.csvtransmittance_color.png
test/verif1/test_result/VIOLET.csvtransmittance_color.png
test/verif2/1MCoCl2.csv
test/verif2/CuSO4.csv
test/verif2/H2O.csv
test/verif2/KMnO4.csv
test/verif2/NiCl2.csv
test/verif2/result_easyrgb/CoCl2.gif
test/verif2/result_easyrgb/CuSO4.gif
test/verif2/result_easyrgb/H2O.gif
test/verif2/result_easyrgb/KMnO4.gif
test/verif2/result_easyrgb/NiCl2.gif
test/verif2/test_result/1MCoCl2.csvtransmittance_color.png
test/verif2/test_result/CuSO4.csvtransmittance_color.png
test/verif2/test_result/KMnO4.csvtransmittance_color.png
test/verif2/test_result/NiCl2.csvtransmittance_color.png
test/verif3/indigo_b3lybenz.log
test/verif3/vitaminea.log
test/verif4/Bleu-lr.log
test/verif4/color.log
\ No newline at end of file
Copremo.ico

16.6 KB

Metadata-Version: 1.1
Name: Copremo
Version: 1.0
Summary: COlor PREdiction MOlecular
Home-page: http://www.sciences.univ-nantes.fr/CEISAM/erc/marches/?p=2159
Author: Aymeric Blondel Project Marches
Author-email: aymeric.blondel@univ-nantes.fr
License: http://www.gnu.org/licenses/gpl.html
Description: coucou
Platform: UNKNOWN
Classifier: Development Status :: 1 - Release
Classifier: Topic :: Chemical Package
Requires: CommandLineApp (>=2.6)
Requires: numpy
Requires: matplotlib
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module Color</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>Color</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home2/workspace/copremo/trunk/lib/copremo/Color.py">/home2/workspace/copremo/trunk/lib/copremo/Color.py</a></font></td></tr></table>
<p><tt>Copremo&nbsp;is&nbsp;software&nbsp;for&nbsp;predicting&nbsp;the&nbsp;color&nbsp;of&nbsp;a&nbsp;molecule.<br>
Copremo&nbsp;use&nbsp;the&nbsp;procedure&nbsp;of&nbsp;Beck&nbsp;"A&nbsp;recipe&nbsp;for&nbsp;Estimating&nbsp;&nbsp;<br>
Chromaticity&nbsp;Coordinates&nbsp;From&nbsp;Chemical&nbsp;Structure&nbsp;in&nbsp;International&nbsp;Journal&nbsp;of<br>
Quantum&nbsp;Chemistry,&nbsp;Vol&nbsp;101,&nbsp;683-689,&nbsp;2005<br>
Copremo&nbsp;is&nbsp;composed&nbsp;of&nbsp;2&nbsp;parts.&nbsp;The&nbsp;first&nbsp;is&nbsp;the&nbsp;lib_copremo&nbsp;<br>
package&nbsp;that&nbsp;can&nbsp;be&nbsp;reused&nbsp;in&nbsp;other&nbsp;programs.&nbsp;The&nbsp;second&nbsp;is&nbsp;<br>
the&nbsp;software&nbsp;that&nbsp;copremo_gui&nbsp;take&nbsp;a&nbsp;UV&nbsp;(standardized)&nbsp;file,&nbsp;or&nbsp;CSV)&nbsp;input&nbsp;<br>
which&nbsp;allows&nbsp;for&nbsp;the&nbsp;absorption&nbsp;of&nbsp;the&nbsp;molecule&nbsp;and&nbsp;its&nbsp;inverse&nbsp;and&nbsp;<br>
the&nbsp;chromaticity&nbsp;diagram&nbsp;and&nbsp;values&nbsp;​​(LAB,&nbsp;RGB&nbsp;Spectrum&nbsp;XYZ,&nbsp;sRGB)&nbsp;associated.<br>
&nbsp;<br>
copremo&nbsp;uses&nbsp;python&nbsp;ColorPy&nbsp;-&nbsp;<br>
A&nbsp;Python&nbsp;package&nbsp;for&nbsp;handling&nbsp;physical&nbsp;descriptions&nbsp;of&nbsp;color&nbsp;and&nbsp;light&nbsp;spectra.<br>
&lt;<a href="http://markkness.net/colorpy/lib..colorpy.html/">http://markkness.net/colorpy/lib..colorpy.html/</a>&gt;<br>
some&nbsp;functions&nbsp;have&nbsp;been&nbsp;modified&nbsp;to&nbsp;accommodate&nbsp;the&nbsp;software<br>
&nbsp;<br>
License:<br>
&nbsp;<br>
Copyright&nbsp;(C)&nbsp;2013&nbsp;Aymeric&nbsp;Blondel<br>
&nbsp;<br>
Author&nbsp;-&nbsp;Aymeric&nbsp;Blondel&nbsp;-&nbsp;aymeric.blondel@univ-nantes.fr<br>
&nbsp;<br>
This&nbsp;file&nbsp;is&nbsp;part&nbsp;of&nbsp;copremo.<br>
&nbsp;<br>
&nbsp;<br>
This&nbsp;program&nbsp;is&nbsp;free&nbsp;software:&nbsp;you&nbsp;can&nbsp;redistribute&nbsp;it&nbsp;and/or&nbsp;modify<br>
it&nbsp;under&nbsp;the&nbsp;terms&nbsp;of&nbsp;the&nbsp;GNU&nbsp;General&nbsp;Public&nbsp;License&nbsp;as&nbsp;published&nbsp;by<br>
the&nbsp;Free&nbsp;Software&nbsp;Foundation,&nbsp;either&nbsp;version&nbsp;3&nbsp;of&nbsp;the&nbsp;License,&nbsp;or<br>
(at&nbsp;your&nbsp;option)&nbsp;any&nbsp;later&nbsp;version.<br>
&nbsp;<br>
This&nbsp;program&nbsp;is&nbsp;distributed&nbsp;in&nbsp;the&nbsp;hope&nbsp;that&nbsp;it&nbsp;will&nbsp;be&nbsp;useful,<br>
but&nbsp;WITHOUT&nbsp;ANY&nbsp;WARRANTY;&nbsp;without&nbsp;even&nbsp;the&nbsp;implied&nbsp;warranty&nbsp;of<br>
MERCHANTABILITY&nbsp;or&nbsp;FITNESS&nbsp;FOR&nbsp;A&nbsp;PARTICULAR&nbsp;PURPOSE.&nbsp;&nbsp;See&nbsp;the<br>
GNU&nbsp;General&nbsp;Public&nbsp;License&nbsp;for&nbsp;more&nbsp;details.<br>
&nbsp;<br>
You&nbsp;should&nbsp;have&nbsp;received&nbsp;a&nbsp;copy&nbsp;of&nbsp;the&nbsp;GNU&nbsp;General&nbsp;Public&nbsp;License<br>
along&nbsp;with&nbsp;Copremo.&nbsp;&nbsp;If&nbsp;not,&nbsp;see&nbsp;&lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ConfigParser.html">ConfigParser</a><br>
<a href="lib.copremo.Spectral.html">lib.copremo.Spectral</a><br>
<a href="commands.html">commands</a><br>
</td><td width="25%" valign=top><a href="getopt.html">getopt</a><br>
<a href="logging.html">logging</a><br>
<a href="numpy.html">numpy</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
<a href="string.html">string</a><br>
<a href="sys.html">sys</a><br>
</td><td width="25%" valign=top><a href="Util.html">Util</a><br>
<a href="Util_color.html">Util_color</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Color.html#Color">Color</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Color">class <strong>Color</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Class&nbsp;color&nbsp;<br>
======================<br>
This&nbsp;class&nbsp;used&nbsp;colorpy&nbsp;and&nbsp;can&nbsp;create&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;a&nbsp;lot&nbsp;of&nbsp;properties&nbsp;(color&nbsp;space,illuminant,absorbtion&nbsp;or&nbsp;not,&nbsp;concentration<br>
etc...<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Color-__init__"><strong>__init__</strong></a>(self, argv, base, space, illuminant, trans, normalized, concentration)</dt><dd><tt>init&nbsp;the&nbsp;color&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(xyz2,xyz,d86,&nbsp;true,true,1)</tt></dd></dl>
<dl><dt><a name="Color-get_base"><strong>get_base</strong></a>(self)</dt></dl>
<dl><dt><a name="Color-get_concentration"><strong>get_concentration</strong></a>(self)</dt></dl>
<dl><dt><a name="Color-get_illuminant"><strong>get_illuminant</strong></a>(self)</dt></dl>
<dl><dt><a name="Color-get_ini_value"><strong>get_ini_value</strong></a>(self, file_ini)</dt></dl>
<dl><dt><a name="Color-get_name"><strong>get_name</strong></a>(self)</dt></dl>
<dl><dt><a name="Color-get_normalized"><strong>get_normalized</strong></a>(self)</dt></dl>
<dl><dt><a name="Color-get_space"><strong>get_space</strong></a>(self)</dt></dl>
<dl><dt><a name="Color-get_trans"><strong>get_trans</strong></a>(self)</dt></dl>
<dl><dt><a name="Color-main"><strong>main</strong></a>(self)</dt></dl>
<dl><dt><a name="Color-print_color"><strong>print_color</strong></a>(self)</dt><dd><tt>print&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;<a href="#Color">Color</a>&nbsp;for&nbsp;debug<br>
:Example:<br>
:returns:The&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;printed&nbsp;in&nbsp;a&nbsp;string.<br>
&gt;&gt;&gt;&nbsp;C=<a href="#Color">Color</a>("../../test/verif1/LEBLEU.csv","XYZ2","RGB","D65",True,True,1)<br>
&gt;&gt;&gt;&nbsp;C.<a href="#Color-print_color">print_color</a>()<br>
../../test/verif1/LEBLEU.csvXYZ2,XYZ,D65,True,True,1</tt></dd></dl>
<dl><dt><a name="Color-put_base"><strong>put_base</strong></a>(self, base)</dt></dl>
<dl><dt><a name="Color-put_concentration"><strong>put_concentration</strong></a>(self, concentration)</dt></dl>
<dl><dt><a name="Color-put_illuminant"><strong>put_illuminant</strong></a>(self, illuminant)</dt></dl>
<dl><dt><a name="Color-put_name"><strong>put_name</strong></a>(self, name)</dt></dl>
<dl><dt><a name="Color-put_normalized"><strong>put_normalized</strong></a>(self, normalized)</dt></dl>
<dl><dt><a name="Color-put_space"><strong>put_space</strong></a>(self, space)</dt></dl>
<dl><dt><a name="Color-put_trans"><strong>put_trans</strong></a>(self, trans)</dt></dl>
<dl><dt><a name="Color-return_color_space"><strong>return_color_space</strong></a>(self, verbose<font color="#909090">=0</font>, uv<font color="#909090">=None</font>, it<font color="#909090">=None</font>)</dt><dd><tt>CIE&nbsp;XYZ&nbsp;conversions&nbsp;into&nbsp;many&nbsp;color&nbsp;spaces.&nbsp;&nbsp;Mainly&nbsp;call&nbsp;some&nbsp;functions.<br>
:param&nbsp;verbose:&nbsp;A&nbsp;boolean&nbsp;for&nbsp;displaying&nbsp;logging&nbsp;info&nbsp;on&nbsp;console&nbsp;or&nbsp;not.<br>
:param&nbsp;uv:&nbsp;An&nbsp;array&nbsp;file&nbsp;with&nbsp;nm&nbsp;values&nbsp;(can&nbsp;be&nbsp;estract&nbsp;from&nbsp;first&nbsp;column&nbsp;of&nbsp;csv,uv&nbsp;&nbsp;file&nbsp;or&nbsp;spectra&nbsp;<a href="__builtin__.html#object">object</a>)<br>
:param&nbsp;it:An&nbsp;aray&nbsp;file&nbsp;with&nbsp;itensities&nbsp;values&nbsp;(can&nbsp;be&nbsp;extract&nbsp;from&nbsp;column&nbsp;of&nbsp;a&nbsp;csv,&nbsp;uv&nbsp;file&nbsp;or&nbsp;spectra&nbsp;<a href="__builtin__.html#object">object</a>)<br>
:returns:The&nbsp;colors&nbsp;from&nbsp;the&nbsp;space&nbsp;wanted.<br>
:Example:<br>
&gt;&gt;&gt;&nbsp;C=<a href="#Color">Color</a>("../../test/verif1/LEBLEU.csv","XYZ2","RGB","D65",True,True,1)<br>
&gt;&gt;&gt;&nbsp;res_np=ut_col.create_colorpy_array_from_input_file(C.name,None)<br>
&gt;&gt;&gt;&nbsp;C.<a href="#Color-return_color_space">return_color_space</a>(0,res_np[0],res_np[1])<br>
array([&nbsp;118.87508875,&nbsp;&nbsp;147.24966214,&nbsp;&nbsp;545.46868955])</tt></dd></dl>
<dl><dt><a name="Color-usage"><strong>usage</strong></a>(self)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>COLORPYPATH</strong> = '../lib/colorpy/'<br>
<strong>MACLIBPATH</strong> = '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/'</td></tr></table>
</body></html>
\ No newline at end of file
This diff is collapsed.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module Util_color</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>Util_color</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home2/workspace/copremo/trunk/lib/copremo/Util_color.py">/home2/workspace/copremo/trunk/lib/copremo/Util_color.py</a></font></td></tr></table>
<p><tt>Copremo&nbsp;is&nbsp;software&nbsp;for&nbsp;predicting&nbsp;the&nbsp;color&nbsp;of&nbsp;a&nbsp;molecule.<br>
Copremo&nbsp;use&nbsp;the&nbsp;procedure&nbsp;of&nbsp;Beck&nbsp;"A&nbsp;recipe&nbsp;for&nbsp;Estimating&nbsp;&nbsp;<br>
Chromaticity&nbsp;Coordinates&nbsp;From&nbsp;Chemical&nbsp;Structure&nbsp;in&nbsp;International&nbsp;Journal&nbsp;of<br>
Quantum&nbsp;Chemistry,&nbsp;Vol&nbsp;101,&nbsp;683-689,&nbsp;2005<br>
Copremo&nbsp;is&nbsp;composed&nbsp;of&nbsp;2&nbsp;parts.&nbsp;The&nbsp;first&nbsp;is&nbsp;the&nbsp;lib_copremo&nbsp;<br>
package&nbsp;that&nbsp;can&nbsp;be&nbsp;reused&nbsp;in&nbsp;other&nbsp;programs.&nbsp;The&nbsp;second&nbsp;is&nbsp;<br>
the&nbsp;software&nbsp;that&nbsp;copremo_gui&nbsp;take&nbsp;a&nbsp;UV&nbsp;(standardized)&nbsp;file,&nbsp;or&nbsp;CSV)&nbsp;input&nbsp;<br>
which&nbsp;allows&nbsp;for&nbsp;the&nbsp;absorption&nbsp;of&nbsp;the&nbsp;molecule&nbsp;and&nbsp;its&nbsp;inverse&nbsp;and&nbsp;<br>
the&nbsp;chromaticity&nbsp;diagram&nbsp;and&nbsp;values&nbsp;​​(LAB,&nbsp;RGB&nbsp;Spectrum&nbsp;XYZ,&nbsp;sRGB)&nbsp;associated.<br>
&nbsp;<br>
copremo&nbsp;uses&nbsp;python&nbsp;ColorPy&nbsp;-&nbsp;<br>
A&nbsp;Python&nbsp;package&nbsp;for&nbsp;handling&nbsp;physical&nbsp;descriptions&nbsp;of&nbsp;color&nbsp;and&nbsp;light&nbsp;spectra.<br>
&lt;<a href="http://markkness.net/colorpy/lib.colorpy.html/">http://markkness.net/colorpy/lib.colorpy.html/</a>&gt;<br>
some&nbsp;functions&nbsp;have&nbsp;been&nbsp;modified&nbsp;to&nbsp;accommodate&nbsp;the&nbsp;software<br>
&nbsp;<br>
License:<br>
&nbsp;<br>
Copyright&nbsp;(C)&nbsp;2013&nbsp;Aymeric&nbsp;Blondel<br>
&nbsp;<br>
Author&nbsp;-&nbsp;Aymeric&nbsp;Blondel&nbsp;-&nbsp;aymeric.blondel@univ-nantes.fr<br>
&nbsp;<br>
This&nbsp;file&nbsp;is&nbsp;part&nbsp;of&nbsp;copremo.<br>
&nbsp;<br>
&nbsp;<br>
This&nbsp;program&nbsp;is&nbsp;free&nbsp;software:&nbsp;you&nbsp;can&nbsp;redistribute&nbsp;it&nbsp;and/or&nbsp;modify<br>
it&nbsp;under&nbsp;the&nbsp;terms&nbsp;of&nbsp;the&nbsp;GNU&nbsp;General&nbsp;Public&nbsp;License&nbsp;as&nbsp;published&nbsp;by<br>
the&nbsp;Free&nbsp;Software&nbsp;Foundation,&nbsp;either&nbsp;version&nbsp;3&nbsp;of&nbsp;the&nbsp;License,&nbsp;or<br>
(at&nbsp;your&nbsp;option)&nbsp;any&nbsp;later&nbsp;version.<br>
&nbsp;<br>
This&nbsp;program&nbsp;is&nbsp;distributed&nbsp;in&nbsp;the&nbsp;hope&nbsp;that&nbsp;it&nbsp;will&nbsp;be&nbsp;useful,<br>
but&nbsp;WITHOUT&nbsp;ANY&nbsp;WARRANTY;&nbsp;without&nbsp;even&nbsp;the&nbsp;implied&nbsp;warranty&nbsp;of<br>
MERCHANTABILITY&nbsp;or&nbsp;FITNESS&nbsp;FOR&nbsp;A&nbsp;PARTICULAR&nbsp;PURPOSE.&nbsp;&nbsp;See&nbsp;the<br>
GNU&nbsp;General&nbsp;Public&nbsp;License&nbsp;for&nbsp;more&nbsp;details.<br>
&nbsp;<br>
You&nbsp;should&nbsp;have&nbsp;received&nbsp;a&nbsp;copy&nbsp;of&nbsp;the&nbsp;GNU&nbsp;General&nbsp;Public&nbsp;License<br>
along&nbsp;with&nbsp;Copremo.&nbsp;&nbsp;If&nbsp;not,&nbsp;see&nbsp;&lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="numpy.html">numpy</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-concentration_modulo"><strong>concentration_modulo</strong></a>(spectrum, concentration)</dt></dl>
<dl><dt><a name="-create_colorpy_array_from_input_file"><strong>create_colorpy_array_from_input_file</strong></a>(input_file, S)</dt><dd><tt>It&nbsp;take&nbsp;a&nbsp;file&nbsp;in&nbsp;input&nbsp;and&nbsp;a&nbsp;2D&nbsp;numpy&nbsp;array&nbsp;is&nbsp;return.</tt></dd></dl>
<dl><dt><a name="-gauss_spectrum"><strong>gauss_spectrum</strong></a>(uv, it, trans, normalized, concentration)</dt><dd><tt>Modification&nbsp;of&nbsp;the&nbsp;colorpy&nbsp;fonction&nbsp;but,&nbsp;it&nbsp;take&nbsp;more&nbsp;argument&nbsp;<br>
lile&nbsp;normalized,&nbsp;concentration</tt></dd></dl>
<dl><dt><a name="-normalized_between_0_1"><strong>normalized_between_0_1</strong></a>(min, max, value)</dt><dd><tt>Normalized&nbsp;the&nbsp;spectre&nbsp;between&nbsp;0&nbsp;and&nbsp;1</tt></dd></dl>
<dl><dt><a name="-shark_fin_plot"><strong>shark_fin_plot</strong></a>(pylab, xyz_color)</dt><dd><tt>Modiification&nbsp;of&nbsp;this&nbsp;Colorpy&nbsp;fonction,&nbsp;but&nbsp;it&nbsp;take&nbsp;pylab&nbsp;in&nbsp;parametre&nbsp;for<br>
not&nbsp;create&nbsp;an&nbsp;image&nbsp;and&nbsp;it&nbsp;put&nbsp;a&nbsp;red&nbsp;point&nbsp;with&nbsp;the&nbsp;value&nbsp;of&nbsp;the&nbsp;color.</tt></dd></dl>
<dl><dt><a name="-spectrum_subplot"><strong>spectrum_subplot</strong></a>(spectrum, pylab, trans, normalized)</dt><dd><tt>This&nbsp;fonction&nbsp;is&nbsp;the&nbsp;same&nbsp;like&nbsp;colorpy&nbsp;fonction&nbsp;but&nbsp;it&nbsp;take&nbsp;<br>
more&nbsp;argument&nbsp;for&nbsp;copremo&nbsp;usage&nbsp;(pylab,trans,&nbsp;normalized)</tt></dd></dl>
<dl><dt><a name="-tighten_x_axis_visible"><strong>tighten_x_axis_visible</strong></a>(x_list, pylab)</dt><dd><tt>Tighten&nbsp;the&nbsp;x&nbsp;axis&nbsp;(only)&nbsp;of&nbsp;the&nbsp;current&nbsp;plot&nbsp;to&nbsp;match&nbsp;the&nbsp;given&nbsp;range&nbsp;of&nbsp;x&nbsp;values.<br>
The&nbsp;y&nbsp;axis&nbsp;limits&nbsp;are&nbsp;not&nbsp;affected.</tt></dd></dl>
<dl><dt><a name="-xyz_to_xyY"><strong>xyz_to_xyY</strong></a>(xyz)</dt><dd><tt>Converts&nbsp;an&nbsp;XYZ&nbsp;color&nbsp;to&nbsp;a&nbsp;target&nbsp;color&nbsp;space</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>COLORPYPATH</strong> = '../colorpy/'<br>
<strong>MACLIBPATH</strong> = '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/'</td></tr></table>
</body></html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment