From edfbe7568a9a5eaf32f252160a2acd65786dd313 Mon Sep 17 00:00:00 2001 From: Kevin Knox Date: Tue, 4 Feb 2014 14:45:48 -0500 Subject: [PATCH 01/41] Added gh-pages branch to diffpy.Structure for documentation --- index.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 00000000..0388b7e9 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +Placeholder for documentation for diffpy.Structure From e1ca58a0349109e6dc23b576f039356801f5a6c4 Mon Sep 17 00:00:00 2001 From: XiaohaoYang Date: Wed, 5 Feb 2014 12:14:53 -0500 Subject: [PATCH 02/41] Create .rsync-exclude --- .rsync-exclude | 1 + 1 file changed, 1 insertion(+) create mode 100644 .rsync-exclude diff --git a/.rsync-exclude b/.rsync-exclude new file mode 100644 index 00000000..5911b47e --- /dev/null +++ b/.rsync-exclude @@ -0,0 +1 @@ +.nojekyll From 1a8fd78b5a37ca7a61160f156416beb83b7a987c Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Wed, 5 Feb 2014 15:55:13 -0500 Subject: [PATCH 03/41] Synced with the source at b84b799e5fd8ac33c2e0b8fd0e81a5d1b3e64e66. --- .buildinfo | 4 + _sources/api/api.txt | 7 + _sources/api/diffpy.Structure.Parsers.txt | 99 + .../api/diffpy.Structure.applications.txt | 27 + _sources/api/diffpy.Structure.expansion.txt | 43 + _sources/api/diffpy.Structure.tests.txt | 99 + _sources/api/diffpy.Structure.txt | 125 + _sources/api/diffpy.txt | 7 + _sources/api/modules.txt | 7 + _sources/index.txt | 28 + _sources/install.txt | 49 + _sources/intro.txt | 31 + _static/ajax-loader.gif | Bin 0 -> 673 bytes _static/basic.css | 540 +++++ _static/comment-bright.png | Bin 0 -> 3500 bytes _static/comment-close.png | Bin 0 -> 3578 bytes _static/comment.png | Bin 0 -> 3445 bytes _static/default.css | 261 ++ _static/doctools.js | 247 ++ _static/down-pressed.png | Bin 0 -> 368 bytes _static/down.png | Bin 0 -> 363 bytes _static/file.png | Bin 0 -> 392 bytes _static/jquery.js | 154 ++ _static/minus.png | Bin 0 -> 199 bytes _static/plus.png | Bin 0 -> 199 bytes _static/pygments.css | 62 + _static/searchtools.js | 560 +++++ _static/sidebar.js | 151 ++ _static/underscore.js | 23 + _static/up-pressed.png | Bin 0 -> 372 bytes _static/up.png | Bin 0 -> 363 bytes _static/websupport.js | 808 ++++++ api/api.html | 187 ++ api/diffpy.Structure.Parsers.html | 652 +++++ api/diffpy.Structure.applications.html | 285 +++ api/diffpy.Structure.expansion.html | 219 ++ api/diffpy.Structure.html | 1573 ++++++++++++ api/diffpy.Structure.tests.html | 1131 +++++++++ api/diffpy.html | 167 ++ api/modules.html | 130 + genindex.html | 2156 +++++++++++++++++ index.html | 150 +- install.html | 167 ++ intro.html | 234 ++ objects.inv | Bin 0 -> 3924 bytes py-modindex.html | 346 +++ search.html | 106 + searchindex.js | 1 + 48 files changed, 10835 insertions(+), 1 deletion(-) create mode 100644 .buildinfo create mode 100644 _sources/api/api.txt create mode 100644 _sources/api/diffpy.Structure.Parsers.txt create mode 100644 _sources/api/diffpy.Structure.applications.txt create mode 100644 _sources/api/diffpy.Structure.expansion.txt create mode 100644 _sources/api/diffpy.Structure.tests.txt create mode 100644 _sources/api/diffpy.Structure.txt create mode 100644 _sources/api/diffpy.txt create mode 100644 _sources/api/modules.txt create mode 100644 _sources/index.txt create mode 100644 _sources/install.txt create mode 100644 _sources/intro.txt create mode 100644 _static/ajax-loader.gif create mode 100644 _static/basic.css create mode 100644 _static/comment-bright.png create mode 100644 _static/comment-close.png create mode 100644 _static/comment.png create mode 100644 _static/default.css create mode 100644 _static/doctools.js create mode 100644 _static/down-pressed.png create mode 100644 _static/down.png create mode 100644 _static/file.png create mode 100644 _static/jquery.js create mode 100644 _static/minus.png create mode 100644 _static/plus.png create mode 100644 _static/pygments.css create mode 100644 _static/searchtools.js create mode 100644 _static/sidebar.js create mode 100644 _static/underscore.js create mode 100644 _static/up-pressed.png create mode 100644 _static/up.png create mode 100644 _static/websupport.js create mode 100644 api/api.html create mode 100644 api/diffpy.Structure.Parsers.html create mode 100644 api/diffpy.Structure.applications.html create mode 100644 api/diffpy.Structure.expansion.html create mode 100644 api/diffpy.Structure.html create mode 100644 api/diffpy.Structure.tests.html create mode 100644 api/diffpy.html create mode 100644 api/modules.html create mode 100644 genindex.html create mode 100644 install.html create mode 100644 intro.html create mode 100644 objects.inv create mode 100644 py-modindex.html create mode 100644 search.html create mode 100644 searchindex.js diff --git a/.buildinfo b/.buildinfo new file mode 100644 index 00000000..03fe45aa --- /dev/null +++ b/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 1355d905aec6dd91f90698919c98ba56 +tags: fbb0d17656682115ca4d033fb2f83ba1 diff --git a/_sources/api/api.txt b/_sources/api/api.txt new file mode 100644 index 00000000..8769c48d --- /dev/null +++ b/_sources/api/api.txt @@ -0,0 +1,7 @@ +diffpy API +============== + +.. toctree:: + + diffpy.Structure + diff --git a/_sources/api/diffpy.Structure.Parsers.txt b/_sources/api/diffpy.Structure.Parsers.txt new file mode 100644 index 00000000..b9f8608a --- /dev/null +++ b/_sources/api/diffpy.Structure.Parsers.txt @@ -0,0 +1,99 @@ +Parsers Package +=============== + +:mod:`Parsers` Package +---------------------- + +.. automodule:: diffpy.Structure.Parsers + :members: + :undoc-members: + :show-inheritance: + +:mod:`P_auto` Module +-------------------- + +.. automodule:: diffpy.Structure.Parsers.P_auto + :members: + :undoc-members: + :show-inheritance: + +:mod:`P_bratoms` Module +----------------------- + +.. automodule:: diffpy.Structure.Parsers.P_bratoms + :members: + :undoc-members: + :show-inheritance: + +:mod:`P_cif` Module +------------------- + +.. automodule:: diffpy.Structure.Parsers.P_cif + :members: + :undoc-members: + :show-inheritance: + +:mod:`P_discus` Module +---------------------- + +.. automodule:: diffpy.Structure.Parsers.P_discus + :members: + :undoc-members: + :show-inheritance: + +:mod:`P_pdb` Module +------------------- + +.. automodule:: diffpy.Structure.Parsers.P_pdb + :members: + :undoc-members: + :show-inheritance: + +:mod:`P_pdffit` Module +---------------------- + +.. automodule:: diffpy.Structure.Parsers.P_pdffit + :members: + :undoc-members: + :show-inheritance: + +:mod:`P_rawxyz` Module +---------------------- + +.. automodule:: diffpy.Structure.Parsers.P_rawxyz + :members: + :undoc-members: + :show-inheritance: + +:mod:`P_xcfg` Module +-------------------- + +.. automodule:: diffpy.Structure.Parsers.P_xcfg + :members: + :undoc-members: + :show-inheritance: + +:mod:`P_xyz` Module +------------------- + +.. automodule:: diffpy.Structure.Parsers.P_xyz + :members: + :undoc-members: + :show-inheritance: + +:mod:`parser_index_mod` Module +------------------------------ + +.. automodule:: diffpy.Structure.Parsers.parser_index_mod + :members: + :undoc-members: + :show-inheritance: + +:mod:`structureparser` Module +----------------------------- + +.. automodule:: diffpy.Structure.Parsers.structureparser + :members: + :undoc-members: + :show-inheritance: + diff --git a/_sources/api/diffpy.Structure.applications.txt b/_sources/api/diffpy.Structure.applications.txt new file mode 100644 index 00000000..29f6bb94 --- /dev/null +++ b/_sources/api/diffpy.Structure.applications.txt @@ -0,0 +1,27 @@ +applications Package +==================== + +:mod:`applications` Package +--------------------------- + +.. automodule:: diffpy.Structure.applications + :members: + :undoc-members: + :show-inheritance: + +:mod:`anyeye` Module +-------------------- + +.. automodule:: diffpy.Structure.applications.anyeye + :members: + :undoc-members: + :show-inheritance: + +:mod:`transtru` Module +---------------------- + +.. automodule:: diffpy.Structure.applications.transtru + :members: + :undoc-members: + :show-inheritance: + diff --git a/_sources/api/diffpy.Structure.expansion.txt b/_sources/api/diffpy.Structure.expansion.txt new file mode 100644 index 00000000..888b8498 --- /dev/null +++ b/_sources/api/diffpy.Structure.expansion.txt @@ -0,0 +1,43 @@ +expansion Package +================= + +:mod:`expansion` Package +------------------------ + +.. automodule:: diffpy.Structure.expansion + :members: + :undoc-members: + :show-inheritance: + +:mod:`makeCuboctahedron` Module +------------------------------- + +.. automodule:: diffpy.Structure.expansion.makeCuboctahedron + :members: + :undoc-members: + :show-inheritance: + +:mod:`makeEllipsoid` Module +--------------------------- + +.. automodule:: diffpy.Structure.expansion.makeEllipsoid + :members: + :undoc-members: + :show-inheritance: + +:mod:`shapeUtils` Module +------------------------ + +.. automodule:: diffpy.Structure.expansion.shapeUtils + :members: + :undoc-members: + :show-inheritance: + +:mod:`supercell_mod` Module +--------------------------- + +.. automodule:: diffpy.Structure.expansion.supercell_mod + :members: + :undoc-members: + :show-inheritance: + diff --git a/_sources/api/diffpy.Structure.tests.txt b/_sources/api/diffpy.Structure.tests.txt new file mode 100644 index 00000000..c2afc4a1 --- /dev/null +++ b/_sources/api/diffpy.Structure.tests.txt @@ -0,0 +1,99 @@ +tests Package +============= + +:mod:`tests` Package +-------------------- + +.. automodule:: diffpy.Structure.tests + :members: + :undoc-members: + :show-inheritance: + +:mod:`TestLattice` Module +------------------------- + +.. automodule:: diffpy.Structure.tests.TestLattice + :members: + :undoc-members: + :show-inheritance: + +:mod:`TestLoadStructure` Module +------------------------------- + +.. automodule:: diffpy.Structure.tests.TestLoadStructure + :members: + :undoc-members: + :show-inheritance: + +:mod:`TestP_cif` Module +----------------------- + +.. automodule:: diffpy.Structure.tests.TestP_cif + :members: + :undoc-members: + :show-inheritance: + +:mod:`TestP_discus` Module +-------------------------- + +.. automodule:: diffpy.Structure.tests.TestP_discus + :members: + :undoc-members: + :show-inheritance: + +:mod:`TestP_pdffit` Module +-------------------------- + +.. automodule:: diffpy.Structure.tests.TestP_pdffit + :members: + :undoc-members: + :show-inheritance: + +:mod:`TestParsers` Module +------------------------- + +.. automodule:: diffpy.Structure.tests.TestParsers + :members: + :undoc-members: + :show-inheritance: + +:mod:`TestStructure` Module +--------------------------- + +.. automodule:: diffpy.Structure.tests.TestStructure + :members: + :undoc-members: + :show-inheritance: + +:mod:`TestSuperCell` Module +--------------------------- + +.. automodule:: diffpy.Structure.tests.TestSuperCell + :members: + :undoc-members: + :show-inheritance: + +:mod:`TestSymmetryUtilities` Module +----------------------------------- + +.. automodule:: diffpy.Structure.tests.TestSymmetryUtilities + :members: + :undoc-members: + :show-inheritance: + +:mod:`run` Module +----------------- + +.. automodule:: diffpy.Structure.tests.run + :members: + :undoc-members: + :show-inheritance: + +:mod:`testutils` Module +----------------------- + +.. automodule:: diffpy.Structure.tests.testutils + :members: + :undoc-members: + :show-inheritance: + diff --git a/_sources/api/diffpy.Structure.txt b/_sources/api/diffpy.Structure.txt new file mode 100644 index 00000000..c0068722 --- /dev/null +++ b/_sources/api/diffpy.Structure.txt @@ -0,0 +1,125 @@ +Structure Package +================= + +:mod:`Structure` Package +------------------------ + +.. automodule:: diffpy.Structure + :members: + :undoc-members: + :show-inheritance: + +:mod:`SpaceGroups` Module +------------------------- + +.. automodule:: diffpy.Structure.SpaceGroups + :members: + :undoc-members: + :show-inheritance: + +:mod:`StructureErrors` Module +----------------------------- + +.. automodule:: diffpy.Structure.StructureErrors + :members: + :undoc-members: + :show-inheritance: + +:mod:`SymmetryUtilities` Module +------------------------------- + +.. automodule:: diffpy.Structure.SymmetryUtilities + :members: + :undoc-members: + :show-inheritance: + +:mod:`atom` Module +------------------ + +.. automodule:: diffpy.Structure.atom + :members: + :undoc-members: + :show-inheritance: + +:mod:`bratomsstructure` Module +------------------------------ + +.. automodule:: diffpy.Structure.bratomsstructure + :members: + :undoc-members: + :show-inheritance: + +:mod:`lattice` Module +--------------------- + +.. automodule:: diffpy.Structure.lattice + :members: + :undoc-members: + :show-inheritance: + +:mod:`mmlibspacegroups` Module +------------------------------ + +.. automodule:: diffpy.Structure.mmlibspacegroups + :members: + :undoc-members: + :show-inheritance: + +:mod:`pdffitstructure` Module +----------------------------- + +.. automodule:: diffpy.Structure.pdffitstructure + :members: + :undoc-members: + :show-inheritance: + +:mod:`sgtbxspacegroups` Module +------------------------------ + +.. automodule:: diffpy.Structure.sgtbxspacegroups + :members: + :undoc-members: + :show-inheritance: + +:mod:`spacegroupmod` Module +--------------------------- + +.. automodule:: diffpy.Structure.spacegroupmod + :members: + :undoc-members: + :show-inheritance: + +:mod:`structure` Module +----------------------- + +.. automodule:: diffpy.Structure.structure + :members: + :undoc-members: + :show-inheritance: + +:mod:`utils` Module +------------------- + +.. automodule:: diffpy.Structure.utils + :members: + :undoc-members: + :show-inheritance: + +:mod:`version` Module +--------------------- + +.. automodule:: diffpy.Structure.version + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + diffpy.Structure.Parsers + diffpy.Structure.applications + diffpy.Structure.expansion + diffpy.Structure.tests + diff --git a/_sources/api/diffpy.txt b/_sources/api/diffpy.txt new file mode 100644 index 00000000..8769c48d --- /dev/null +++ b/_sources/api/diffpy.txt @@ -0,0 +1,7 @@ +diffpy API +============== + +.. toctree:: + + diffpy.Structure + diff --git a/_sources/api/modules.txt b/_sources/api/modules.txt new file mode 100644 index 00000000..23fa663f --- /dev/null +++ b/_sources/api/modules.txt @@ -0,0 +1,7 @@ +diffpy +====== + +.. toctree:: + :maxdepth: 4 + + diffpy diff --git a/_sources/index.txt b/_sources/index.txt new file mode 100644 index 00000000..dd024a94 --- /dev/null +++ b/_sources/index.txt @@ -0,0 +1,28 @@ +.. Structure documentation master file, created by + sphinx-quickstart on Tue Oct 22 12:02:48 2013. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to Structure documentation! +======================================================================== + +diffpy.Structure - simple storage and manipulation of crystal structures + +Contents: + +.. toctree:: + :maxdepth: 2 + + intro + install + + +API and Index +================== + +.. toctree:: + :maxdepth: 2 + + api/api.rst +* :ref:`genindex` + diff --git a/_sources/install.txt b/_sources/install.txt new file mode 100644 index 00000000..4cfaaf76 --- /dev/null +++ b/_sources/install.txt @@ -0,0 +1,49 @@ +Installation +======================================================================== + +.. index:: Requirements + +Requirements +------------------------------------------------------------------------ + +The diffpy.Structure requires Python 2.5 and the following external software: + + setuptools -- software distribution tools for Python + numpy -- numerical mathematics and fast array operations for Python + +On Ubuntu Linux the required software can be easily installed using +the system package manager: + + sudo aptitude install \ + python-setuptools python-numpy + +For other Linux distributions use their respective package manager; note +the packages may have slightly different names. diffpy.Structure should work +on other Unix-like operating systems and on Mac as well. Please, search the +web for instructions how to install external dependencies on your particular +system. + +.. index:: Installation + +Installation +------------------------------------------------------------------------ + +To install the diffpy.Structure package: + + python setup.py install + +By default the files are installed in the system directories, which are +usually only writeable by the root. See the usage info +"./setup.py install --help" for options to install as a normal user under +different location. Note that installation to non-standard directories may +require adjustments to the PATH and PYTHONPATH environment variables. + +The Python setuptools library provides "easy_install" script, which can +be used to update diffpy.Structure installation or even to perform a new +install without explicit need to download and unzip the code: + + easy_install -U diffpy.Structure + +This checks the package repository at http://www.diffpy.org/packages/ +for any newer releases of diffpy.Structure and if present, it updates the +installation. diff --git a/_sources/intro.txt b/_sources/intro.txt new file mode 100644 index 00000000..9ec9c3b2 --- /dev/null +++ b/_sources/intro.txt @@ -0,0 +1,31 @@ +Introduction +======================================================================== + +diffpy.Structure - simple storage and manipulation of crystal structures + +The diffpy.Structure package provides simple crystal structure operation +such as calculations of distances or angles from fractional coordinates. +It also provides imports and exports in several structure file formats +and space group definitions and utilities for symmetry expansion and +generation of symmetry constraints on positions and thermal factors. + +To learn more about diffpy.Structure library, see the examples directory +included in this distribution or the API documentation at + + http://docs.danse.us/diffraction/diffpy.Structure + +.. index:: license + +License notice +------------------------------------------------------------------------ + +.. include:: ../../../LICENSE.txt + +.. index:: authors + +Authors +------------------------------------------------------------------------ + +.. include:: ../../../AUTHORS.txt + + diff --git a/_static/ajax-loader.gif b/_static/ajax-loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..61faf8cab23993bd3e1560bff0668bd628642330 GIT binary patch literal 673 zcmZ?wbhEHb6krfw_{6~Q|Nno%(3)e{?)x>&1u}A`t?OF7Z|1gRivOgXi&7IyQd1Pl zGfOfQ60;I3a`F>X^fL3(@);C=vM_KlFfb_o=k{|A33hf2a5d61U}gjg=>Rd%XaNQW zW@Cw{|b%Y*pl8F?4B9 zlo4Fz*0kZGJabY|>}Okf0}CCg{u4`zEPY^pV?j2@h+|igy0+Kz6p;@SpM4s6)XEMg z#3Y4GX>Hjlml5ftdH$4x0JGdn8~MX(U~_^d!Hi)=HU{V%g+mi8#UGbE-*ao8f#h+S z2a0-5+vc7MU$e-NhmBjLIC1v|)9+Im8x1yacJ7{^tLX(ZhYi^rpmXm0`@ku9b53aN zEXH@Y3JaztblgpxbJt{AtE1ad1Ca>{v$rwwvK(>{m~Gf_=-Ro7Fk{#;i~+{{>QtvI yb2P8Zac~?~=sRA>$6{!(^3;ZP0TPFR(G_-UDU(8Jl0?(IXu$~#4A!880|o%~Al1tN literal 0 HcmV?d00001 diff --git a/_static/basic.css b/_static/basic.css new file mode 100644 index 00000000..43e8bafa --- /dev/null +++ b/_static/basic.css @@ -0,0 +1,540 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox input[type="text"] { + width: 170px; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + width: 30px; +} + +img { + border: 0; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li div.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable dl, table.indextable dd { + margin-top: 0; + margin-bottom: 0; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- general body styles --------------------------------------------------- */ + +a.headerlink { + visibility: hidden; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.field-list ul { + padding-left: 1em; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: #ffe; + width: 40%; + float: right; +} + +p.sidebar-title { + font-weight: bold; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px 7px 0 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +div.admonition dl { + margin-bottom: 0; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + border: 0; + border-collapse: collapse; +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.field-list td, table.field-list th { + border: 0 !important; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +dl { + margin-bottom: 15px; +} + +dd p { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dt:target, .highlighted { + background-color: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.refcount { + color: #060; +} + +.optional { + font-size: 1.3em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +td.linenos pre { + padding: 5px 0px; + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + margin-left: 0.5em; +} + +table.highlighttable td { + padding: 0 0.5em 0 0.5em; +} + +tt.descname { + background-color: transparent; + font-weight: bold; + font-size: 1.2em; +} + +tt.descclassname { + background-color: transparent; +} + +tt.xref, a tt { + background-color: transparent; + font-weight: bold; +} + +h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/_static/comment-bright.png b/_static/comment-bright.png new file mode 100644 index 0000000000000000000000000000000000000000..551517b8c83b76f734ff791f847829a760ad1903 GIT binary patch literal 3500 zcmV;d4O8-oP)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG z3;bXU&9EIRU@z1_9W=mEXoiz;4lcq~xDGvV5BgyU zp1~-*fe8db$Osc*A=-!mVv1NJjtCc-h4>-CNCXm#Bp}I%6j35eku^v$Qi@a{RY)E3 zJ#qp$hg?Rwkvqr$GJ^buyhkyVfwECO)C{#lxu`c9ghrwZ&}4KmnvWKso6vH!8a<3Q zq36)6Xb;+tK10Vaz~~qUGsJ8#F2=(`u{bOVlVi)VBCHIn#u~6ztOL7=^<&SmcLWlF zMZgI*1b0FpVIDz9SWH+>*hr`#93(Um+6gxa1B6k+CnA%mOSC4s5&6UzVlpv@SV$}* z))J2sFA#f(L&P^E5{W}HC%KRUNwK6<(h|}}(r!{C=`5+6G)NjFlgZj-YqAG9lq?`C z$c5yc>d>VnA`E_*3F2Qp##d8RZb=H01_mm@+|Cqnc9PsG(F5HIG_C zt)aG3uTh7n6Et<2In9F>NlT@zqLtGcXcuVrX|L#Xx)I%#9!{6gSJKPrN9dR61N3(c z4Tcqi$B1Vr8Jidf7-t!G7_XR2rWwr)$3XQ?}=hpK0&Z&W{| zep&sA23f;Q!%st`QJ}G3cbou<7-yIK2z4nfCCCtN2-XOGSWo##{8Q{ATurxr~;I`ytDs%xbip}RzP zziy}Qn4Z2~fSycmr`~zJ=lUFdFa1>gZThG6M+{g7vkW8#+YHVaJjFF}Z#*3@$J_By zLtVo_L#1JrVVB{Ak-5=4qt!-@Mh}c>#$4kh<88)m#-k<%CLtzEP3leVno>={htGUuD;o7bD)w_sX$S}eAxwzy?UvgBH(S?;#HZiQMoS*2K2 zT3xe7t(~nU*1N5{rxB;QPLocnp4Ml>u<^FZwyC!nu;thW+pe~4wtZn|Vi#w(#jeBd zlf9FDx_yoPJqHbk*$%56S{;6Kv~mM9!g3B(KJ}#RZ#@)!hR|78Dq|Iq-afF%KE1Brn_fm;Im z_u$xr8UFki1L{Ox>G0o)(&RAZ;=|I=wN2l97;cLaHH6leTB-XXa*h%dBOEvi`+x zi?=Txl?TadvyiL>SuF~-LZ;|cS}4~l2eM~nS7yJ>iOM;atDY;(?aZ^v+mJV$@1Ote z62cPUlD4IWOIIx&SmwQ~YB{nzae3Pc;}r!fhE@iwJh+OsDs9zItL;~pu715HdQEGA zUct(O!LkCy1<%NCg+}G`0PgpNm-?d@-hMgNe6^V+j6x$b<6@S<$+<4_1hi}Ti zncS4LsjI}fWY1>OX6feMEuLErma3QLmkw?X+1j)X-&VBk_4Y;EFPF_I+q;9dL%E~B zJh;4Nr^(LEJ3myURP{Rblsw%57T)g973R8o)DE9*xN#~;4_o$q%o z4K@u`jhx2fBXC4{U8Qn{*%*B$Ge=nny$HAYq{=vy|sI0 z_vss+H_qMky?OB#|JK!>IX&II^LlUh#rO5!7TtbwC;iULyV-Xq?ybB}ykGP{?LpZ? z-G|jbTmIbG@7#ZCz;~eY(cDM(28Dyq{*m>M4?_iynUBkc4TkHUI6gT!;y-fz>HMcd z&t%Ugo)`Y2{>!cx7B7DI)$7;J(U{Spm-3gBzioV_{p!H$8L!*M!p0uH$#^p{Ui4P` z?ZJ24cOCDe-w#jZd?0@)|7iKK^;6KN`;!@ylm7$*nDhK&GcDTy000JJOGiWi{{a60 z|De66lK=n!32;bRa{vGf6951U69E94oEQKA00(qQO+^RV2niQ93PPz|JOBU!-bqA3 zR5;6pl1pe^WfX zkSdl!omi0~*ntl;2q{jA^;J@WT8O!=A(Gck8fa>hn{#u{`Tyg)!KXI6l>4dj==iVKK6+%4zaRizy(5eryC3d2 z+5Y_D$4}k5v2=Siw{=O)SWY2HJwR3xX1*M*9G^XQ*TCNXF$Vj(kbMJXK0DaS_Sa^1 z?CEa!cFWDhcwxy%a?i@DN|G6-M#uuWU>lss@I>;$xmQ|`u3f;MQ|pYuHxxvMeq4TW;>|7Z2*AsqT=`-1O~nTm6O&pNEK?^cf9CX= zkq5|qAoE7un3V z^yy=@%6zqN^x`#qW+;e7j>th{6GV}sf*}g7{(R#T)yg-AZh0C&U;WA`AL$qz8()5^ zGFi2`g&L7!c?x+A2oOaG0c*Bg&YZt8cJ{jq_W{uTdA-<;`@iP$$=$H?gYIYc_q^*$ z#k(Key`d40R3?+GmgK8hHJcwiQ~r4By@w9*PuzR>x3#(F?YW_W5pPc(t(@-Y{psOt zz2!UE_5S)bLF)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG z3;bXU&9EIRU@z1_9W=mEXoiz;4lcq~xDGvV5BgyU zp1~-*fe8db$Osc*A=-!mVv1NJjtCc-h4>-CNCXm#Bp}I%6j35eku^v$Qi@a{RY)E3 zJ#qp$hg?Rwkvqr$GJ^buyhkyVfwECO)C{#lxu`c9ghrwZ&}4KmnvWKso6vH!8a<3Q zq36)6Xb;+tK10Vaz~~qUGsJ8#F2=(`u{bOVlVi)VBCHIn#u~6ztOL7=^<&SmcLWlF zMZgI*1b0FpVIDz9SWH+>*hr`#93(Um+6gxa1B6k+CnA%mOSC4s5&6UzVlpv@SV$}* z))J2sFA#f(L&P^E5{W}HC%KRUNwK6<(h|}}(r!{C=`5+6G)NjFlgZj-YqAG9lq?`C z$c5yc>d>VnA`E_*3F2Qp##d8RZb=H01_mm@+|Cqnc9PsG(F5HIG_C zt)aG3uTh7n6Et<2In9F>NlT@zqLtGcXcuVrX|L#Xx)I%#9!{6gSJKPrN9dR61N3(c z4Tcqi$B1Vr8Jidf7-t!G7_XR2rWwr)$3XQ?}=hpK0&Z&W{| zep&sA23f;Q!%st`QJ}G3cbou<7-yIK2z4nfCCCtN2-XOGSWo##{8Q{ATurxr~;I`ytDs%xbip}RzP zziy}Qn4Z2~fSycmr`~zJ=lUFdFa1>gZThG6M+{g7vkW8#+YHVaJjFF}Z#*3@$J_By zLtVo_L#1JrVVB{Ak-5=4qt!-@Mh}c>#$4kh<88)m#-k<%CLtzEP3leVno>={htGUuD;o7bD)w_sX$S}eAxwzy?UvgBH(S?;#HZiQMoS*2K2 zT3xe7t(~nU*1N5{rxB;QPLocnp4Ml>u<^FZwyC!nu;thW+pe~4wtZn|Vi#w(#jeBd zlf9FDx_yoPJqHbk*$%56S{;6Kv~mM9!g3B(KJ}#RZ#@)!hR|78Dq|Iq-afF%KE1Brn_fm;Im z_u$xr8UFki1L{Ox>G0o)(&RAZ;=|I=wN2l97;cLaHH6leTB-XXa*h%dBOEvi`+x zi?=Txl?TadvyiL>SuF~-LZ;|cS}4~l2eM~nS7yJ>iOM;atDY;(?aZ^v+mJV$@1Ote z62cPUlD4IWOIIx&SmwQ~YB{nzae3Pc;}r!fhE@iwJh+OsDs9zItL;~pu715HdQEGA zUct(O!LkCy1<%NCg+}G`0PgpNm-?d@-hMgNe6^V+j6x$b<6@S<$+<4_1hi}Ti zncS4LsjI}fWY1>OX6feMEuLErma3QLmkw?X+1j)X-&VBk_4Y;EFPF_I+q;9dL%E~B zJh;4Nr^(LEJ3myURP{Rblsw%57T)g973R8o)DE9*xN#~;4_o$q%o z4K@u`jhx2fBXC4{U8Qn{*%*B$Ge=nny$HAYq{=vy|sI0 z_vss+H_qMky?OB#|JK!>IX&II^LlUh#rO5!7TtbwC;iULyV-Xq?ybB}ykGP{?LpZ? z-G|jbTmIbG@7#ZCz;~eY(cDM(28Dyq{*m>M4?_iynUBkc4TkHUI6gT!;y-fz>HMcd z&t%Ugo)`Y2{>!cx7B7DI)$7;J(U{Spm-3gBzioV_{p!H$8L!*M!p0uH$#^p{Ui4P` z?ZJ24cOCDe-w#jZd?0@)|7iKK^;6KN`;!@ylm7$*nDhK&GcDTy000JJOGiWi{{a60 z|De66lK=n!32;bRa{vGf6951U69E94oEQKA00(qQO+^RV2oe()A>y0J-2easEJ;K` zR5;6Jl3z%jbr{D#&+mQTbB>-f&3W<<%ayjKi&ZjBc2N<@)`~{dMXWB0(ajbV85_gJ zf(EU`iek}4Bt%55ix|sVMm1u8KvB#hnmU~_r<Ogd(A5vg_omvd-#L!=(BMVklxVqhdT zofSj`QA^|)G*lu58>#vhvA)%0Or&dIsb%b)st*LV8`ANnOipDbh%_*c7`d6# z21*z~Xd?ovgf>zq(o0?Et~9ti+pljZC~#_KvJhA>u91WRaq|uqBBKP6V0?p-NL59w zrK0w($_m#SDPQ!Z$nhd^JO|f+7k5xca94d2OLJ&sSxlB7F%NtrF@@O7WWlkHSDtor zzD?u;b&KN$*MnHx;JDy9P~G<{4}9__s&MATBV4R+MuA8TjlZ3ye&qZMCUe8ihBnHI zhMSu zSERHwrmBb$SWVr+)Yk2k^FgTMR6mP;@FY2{}BeV|SUo=mNk<-XSOHNErw>s{^rR-bu$@aN7= zj~-qXcS2!BA*(Q**BOOl{FggkyHdCJi_Fy>?_K+G+DYwIn8`29DYPg&s4$}7D`fv? zuyJ2sMfJX(I^yrf6u!(~9anf(AqAk&ke}uL0SIb-H!SaDQvd(}07*qoM6N<$g1Ha7 A2LJ#7 literal 0 HcmV?d00001 diff --git a/_static/comment.png b/_static/comment.png new file mode 100644 index 0000000000000000000000000000000000000000..92feb52b8824c6b0f59b658b1196c61de9162a95 GIT binary patch literal 3445 zcmV-*4T|!KP)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG z3;bXU&9EIRU@z1_9W=mEXoiz;4lcq~xDGvV5BgyU zp1~-*fe8db$Osc*A=-!mVv1NJjtCc-h4>-CNCXm#Bp}I%6j35eku^v$Qi@a{RY)E3 zJ#qp$hg?Rwkvqr$GJ^buyhkyVfwECO)C{#lxu`c9ghrwZ&}4KmnvWKso6vH!8a<3Q zq36)6Xb;+tK10Vaz~~qUGsJ8#F2=(`u{bOVlVi)VBCHIn#u~6ztOL7=^<&SmcLWlF zMZgI*1b0FpVIDz9SWH+>*hr`#93(Um+6gxa1B6k+CnA%mOSC4s5&6UzVlpv@SV$}* z))J2sFA#f(L&P^E5{W}HC%KRUNwK6<(h|}}(r!{C=`5+6G)NjFlgZj-YqAG9lq?`C z$c5yc>d>VnA`E_*3F2Qp##d8RZb=H01_mm@+|Cqnc9PsG(F5HIG_C zt)aG3uTh7n6Et<2In9F>NlT@zqLtGcXcuVrX|L#Xx)I%#9!{6gSJKPrN9dR61N3(c z4Tcqi$B1Vr8Jidf7-t!G7_XR2rWwr)$3XQ?}=hpK0&Z&W{| zep&sA23f;Q!%st`QJ}G3cbou<7-yIK2z4nfCCCtN2-XOGSWo##{8Q{ATurxr~;I`ytDs%xbip}RzP zziy}Qn4Z2~fSycmr`~zJ=lUFdFa1>gZThG6M+{g7vkW8#+YHVaJjFF}Z#*3@$J_By zLtVo_L#1JrVVB{Ak-5=4qt!-@Mh}c>#$4kh<88)m#-k<%CLtzEP3leVno>={htGUuD;o7bD)w_sX$S}eAxwzy?UvgBH(S?;#HZiQMoS*2K2 zT3xe7t(~nU*1N5{rxB;QPLocnp4Ml>u<^FZwyC!nu;thW+pe~4wtZn|Vi#w(#jeBd zlf9FDx_yoPJqHbk*$%56S{;6Kv~mM9!g3B(KJ}#RZ#@)!hR|78Dq|Iq-afF%KE1Brn_fm;Im z_u$xr8UFki1L{Ox>G0o)(&RAZ;=|I=wN2l97;cLaHH6leTB-XXa*h%dBOEvi`+x zi?=Txl?TadvyiL>SuF~-LZ;|cS}4~l2eM~nS7yJ>iOM;atDY;(?aZ^v+mJV$@1Ote z62cPUlD4IWOIIx&SmwQ~YB{nzae3Pc;}r!fhE@iwJh+OsDs9zItL;~pu715HdQEGA zUct(O!LkCy1<%NCg+}G`0PgpNm-?d@-hMgNe6^V+j6x$b<6@S<$+<4_1hi}Ti zncS4LsjI}fWY1>OX6feMEuLErma3QLmkw?X+1j)X-&VBk_4Y;EFPF_I+q;9dL%E~B zJh;4Nr^(LEJ3myURP{Rblsw%57T)g973R8o)DE9*xN#~;4_o$q%o z4K@u`jhx2fBXC4{U8Qn{*%*B$Ge=nny$HAYq{=vy|sI0 z_vss+H_qMky?OB#|JK!>IX&II^LlUh#rO5!7TtbwC;iULyV-Xq?ybB}ykGP{?LpZ? z-G|jbTmIbG@7#ZCz;~eY(cDM(28Dyq{*m>M4?_iynUBkc4TkHUI6gT!;y-fz>HMcd z&t%Ugo)`Y2{>!cx7B7DI)$7;J(U{Spm-3gBzioV_{p!H$8L!*M!p0uH$#^p{Ui4P` z?ZJ24cOCDe-w#jZd?0@)|7iKK^;6KN`;!@ylm7$*nDhK&GcDTy000JJOGiWi{{a60 z|De66lK=n!32;bRa{vGf6951U69E94oEQKA00(qQO+^RV2nzr)JMUJvzW@LNr%6OX zR5;6Zk;`k`RTRfR-*ac2G}PGmXsUu>6ce?Lsn$m^3Q`48f|TwQ+_-Qh=t8Ra7nE)y zf@08(pjZ@22^EVjG*%30TJRMkBUC$WqZ73uoiv&J=APqX;!v%AH}`Vx`999MVjXwy z{f1-vh8P<=plv&cZ>p5jjX~Vt&W0e)wpw1RFRuRdDkwlKb01tp5 zP=trFN0gH^|L4jJkB{6sCV;Q!ewpg-D&4cza%GQ*b>R*=34#dW;ek`FEiB(vnw+U# zpOX5UMJBhIN&;D1!yQoIAySC!9zqJmmfoJqmQp}p&h*HTfMh~u9rKic2oz3sNM^#F zBIq*MRLbsMt%y{EHj8}LeqUUvoxf0=kqji62>ne+U`d#%J)abyK&Y`=eD%oA!36<)baZyK zXJh5im6umkS|_CSGXips$nI)oBHXojzBzyY_M5K*uvb0_9viuBVyV%5VtJ*Am1ag# zczbv4B?u8j68iOz<+)nDu^oWnL+$_G{PZOCcOGQ?!1VCefves~rfpaEZs-PdVYMiV z98ElaJ2}7f;htSXFY#Zv?__sQeckE^HV{ItO=)2hMQs=(_ Xn!ZpXD%P(H00000NkvXXu0mjf= 0 && !jQuery(node.parentNode).hasClass(className)) { + var span = document.createElement("span"); + span.className = className; + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this); + }); + } + } + return this.each(function() { + highlight(this); + }); +}; + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated == 'undefined') + return string; + return (typeof translated == 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated == 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) == 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this == '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/_static/down-pressed.png b/_static/down-pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..6f7ad782782e4f8e39b0c6e15c7344700cdd2527 GIT binary patch literal 368 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6U4S$Y z{B+)352QE?JR*yM+OLB!qm#z$3ZNi+iKnkC`z>}Z23@f-Ava~9&<9T!#}JFtXD=!G zGdl{fK6ro2OGiOl+hKvH6i=D3%%Y^j`yIkRn!8O>@bG)IQR0{Kf+mxNd=_WScA8u_ z3;8(7x2){m9`nt+U(Nab&1G)!{`SPVpDX$w8McLTzAJ39wprG3p4XLq$06M`%}2Yk zRPPsbES*dnYm1wkGL;iioAUB*Or2kz6(-M_r_#Me-`{mj$Z%( literal 0 HcmV?d00001 diff --git a/_static/down.png b/_static/down.png new file mode 100644 index 0000000000000000000000000000000000000000..3003a88770de3977d47a2ba69893436a2860f9e7 GIT binary patch literal 363 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6U4S$Y z{B+)352QE?JR*yM+OLB!qm#z$3ZNi+iKnkC`z>}xaV3tUZ$qnrLa#kt978NlpS`ru z&)HFc^}^>{UOEce+71h5nn>6&w6A!ieNbu1wh)UGh{8~et^#oZ1# z>T7oM=FZ~xXWnTo{qnXm$ZLOlqGswI_m2{XwVK)IJmBjW{J3-B3x@C=M{ShWt#fYS9M?R;8K$~YwlIqwf>VA7q=YKcwf2DS4Zj5inDKXXB1zl=(YO3ST6~rDq)&z z*o>z)=hxrfG-cDBW0G$!?6{M<$@{_4{m1o%Ub!naEtn|@^frU1tDnm{r-UW|!^@B8 literal 0 HcmV?d00001 diff --git a/_static/file.png b/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..d18082e397e7e54f20721af768c4c2983258f1b4 GIT binary patch literal 392 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP$HyOL$D9)yc9|lc|nKf<9@eUiWd>3GuTC!a5vdfWYEazjncPj5ZQX%+1 zt8B*4=d)!cdDz4wr^#OMYfqGz$1LDFF>|#>*O?AGil(WEs?wLLy{Gj2J_@opDm%`dlax3yA*@*N$G&*ukFv>P8+2CBWO(qz zD0k1@kN>hhb1_6`&wrCswzINE(evt-5C1B^STi2@PmdKI;Vst0PQB6!2kdN literal 0 HcmV?d00001 diff --git a/_static/jquery.js b/_static/jquery.js new file mode 100644 index 00000000..7c243080 --- /dev/null +++ b/_static/jquery.js @@ -0,0 +1,154 @@ +/*! + * jQuery JavaScript Library v1.4.2 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Sat Feb 13 22:33:48 2010 -0500 + */ +(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/, +Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&& +(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this, +a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b=== +"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this, +function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b
a"; +var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected, +parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent= +false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n= +s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true, +applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando]; +else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this, +a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b=== +w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i, +cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected= +c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"); +a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g, +function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split("."); +k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a), +C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B=0){a.type= +e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&& +f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive; +if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data", +e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a, +"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a, +d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, +e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift(); +t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D|| +g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, +CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, +g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, +text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, +setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return hl[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= +h[3];l=0;for(m=h.length;l=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== +"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, +h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& +q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML=""; +if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="

";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); +(function(){var g=s.createElement("div");g.innerHTML="
";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: +function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j= +{},i;if(f&&a.length){e=0;for(var o=a.length;e-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a=== +"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode", +d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")? +a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType=== +1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/"},F={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= +c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, +wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, +prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, +this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); +return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja, +""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]); +return this}else{e=0;for(var j=d.length;e0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["", +""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]===""&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e= +c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]? +c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja= +function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter= +Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a, +"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f= +a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b= +a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=//gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!== +"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("
").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this}, +serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), +function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href, +global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&& +e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)? +"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache=== +false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B= +false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since", +c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E|| +d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x); +g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status=== +1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b=== +"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional; +if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration=== +"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]|| +c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start; +this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now= +this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem, +e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b
"; +a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b); +c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a, +d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top- +f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset": +"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in +e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window); diff --git a/_static/minus.png b/_static/minus.png new file mode 100644 index 0000000000000000000000000000000000000000..da1c5620d10c047525a467a425abe9ff5269cfc2 GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^+#t-s1SHkYJtzcHoCO|{#XvD(5N2eUHAey{$X?>< z>&kweokM_|(Po{+Q=kw>iEBiObAE1aYF-J$w=>iB1I2R$WLpMkF=>bh=@O1TaS?83{1OVknK< z>&kweokM`jkU7Va11Q8%;u=xnoS&PUnpeW`?aZ|OK(QcC7sn8Z%gHvy&v=;Q4jejg zV8NnAO`-4Z@2~&zopr02WF_WB>pF literal 0 HcmV?d00001 diff --git a/_static/pygments.css b/_static/pygments.css new file mode 100644 index 00000000..1a14f2ae --- /dev/null +++ b/_static/pygments.css @@ -0,0 +1,62 @@ +.highlight .hll { background-color: #ffffcc } +.highlight { background: #eeffcc; } +.highlight .c { color: #408090; font-style: italic } /* Comment */ +.highlight .err { border: 1px solid #FF0000 } /* Error */ +.highlight .k { color: #007020; font-weight: bold } /* Keyword */ +.highlight .o { color: #666666 } /* Operator */ +.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #007020 } /* Comment.Preproc */ +.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ +.highlight .gd { color: #A00000 } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #FF0000 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #00A000 } /* Generic.Inserted */ +.highlight .go { color: #303030 } /* Generic.Output */ +.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #0040D0 } /* Generic.Traceback */ +.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #007020 } /* Keyword.Pseudo */ +.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #902000 } /* Keyword.Type */ +.highlight .m { color: #208050 } /* Literal.Number */ +.highlight .s { color: #4070a0 } /* Literal.String */ +.highlight .na { color: #4070a0 } /* Name.Attribute */ +.highlight .nb { color: #007020 } /* Name.Builtin */ +.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ +.highlight .no { color: #60add5 } /* Name.Constant */ +.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ +.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ +.highlight .ne { color: #007020 } /* Name.Exception */ +.highlight .nf { color: #06287e } /* Name.Function */ +.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ +.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ +.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #bb60d5 } /* Name.Variable */ +.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mf { color: #208050 } /* Literal.Number.Float */ +.highlight .mh { color: #208050 } /* Literal.Number.Hex */ +.highlight .mi { color: #208050 } /* Literal.Number.Integer */ +.highlight .mo { color: #208050 } /* Literal.Number.Oct */ +.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ +.highlight .sc { color: #4070a0 } /* Literal.String.Char */ +.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ +.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ +.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ +.highlight .sx { color: #c65d09 } /* Literal.String.Other */ +.highlight .sr { color: #235388 } /* Literal.String.Regex */ +.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ +.highlight .ss { color: #517918 } /* Literal.String.Symbol */ +.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ +.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ +.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ +.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/_static/searchtools.js b/_static/searchtools.js new file mode 100644 index 00000000..663be4c9 --- /dev/null +++ b/_static/searchtools.js @@ -0,0 +1,560 @@ +/* + * searchtools.js_t + * ~~~~~~~~~~~~~~~~ + * + * Sphinx JavaScript utilties for the full-text search. + * + * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * helper function to return a node containing the + * search summary for a given text. keywords is a list + * of stemmed words, hlwords is the list of normal, unstemmed + * words. the first one is used to find the occurance, the + * latter for highlighting it. + */ + +jQuery.makeSearchSummary = function(text, keywords, hlwords) { + var textLower = text.toLowerCase(); + var start = 0; + $.each(keywords, function() { + var i = textLower.indexOf(this.toLowerCase()); + if (i > -1) + start = i; + }); + start = Math.max(start - 120, 0); + var excerpt = ((start > 0) ? '...' : '') + + $.trim(text.substr(start, 240)) + + ((start + 240 - text.length) ? '...' : ''); + var rv = $('
').text(excerpt); + $.each(hlwords, function() { + rv = rv.highlightText(this, 'highlighted'); + }); + return rv; +} + + +/** + * Porter Stemmer + */ +var Stemmer = function() { + + var step2list = { + ational: 'ate', + tional: 'tion', + enci: 'ence', + anci: 'ance', + izer: 'ize', + bli: 'ble', + alli: 'al', + entli: 'ent', + eli: 'e', + ousli: 'ous', + ization: 'ize', + ation: 'ate', + ator: 'ate', + alism: 'al', + iveness: 'ive', + fulness: 'ful', + ousness: 'ous', + aliti: 'al', + iviti: 'ive', + biliti: 'ble', + logi: 'log' + }; + + var step3list = { + icate: 'ic', + ative: '', + alize: 'al', + iciti: 'ic', + ical: 'ic', + ful: '', + ness: '' + }; + + var c = "[^aeiou]"; // consonant + var v = "[aeiouy]"; // vowel + var C = c + "[^aeiouy]*"; // consonant sequence + var V = v + "[aeiou]*"; // vowel sequence + + var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 + var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 + var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 + var s_v = "^(" + C + ")?" + v; // vowel in stem + + this.stemWord = function (w) { + var stem; + var suffix; + var firstch; + var origword = w; + + if (w.length < 3) + return w; + + var re; + var re2; + var re3; + var re4; + + firstch = w.substr(0,1); + if (firstch == "y") + w = firstch.toUpperCase() + w.substr(1); + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) + w = w.replace(re,"$1$2"); + else if (re2.test(w)) + w = w.replace(re2,"$1$2"); + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) + w = w + "e"; + else if (re3.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + else if (re4.test(w)) + w = w + "e"; + } + } + + // Step 1c + re = /^(.+?)y$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(s_v); + if (re.test(stem)) + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step2list[suffix]; + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step3list[suffix]; + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) + w = stem; + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) + w = stem; + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) + w = stem; + } + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + if (firstch == "y") + w = firstch.toLowerCase() + w.substr(1); + return w; + } +} + + +/** + * Search Module + */ +var Search = { + + _index : null, + _queued_query : null, + _pulse_status : -1, + + init : function() { + var params = $.getQueryParameters(); + if (params.q) { + var query = params.q[0]; + $('input[name="q"]')[0].value = query; + this.performSearch(query); + } + }, + + loadIndex : function(url) { + $.ajax({type: "GET", url: url, data: null, success: null, + dataType: "script", cache: true}); + }, + + setIndex : function(index) { + var q; + this._index = index; + if ((q = this._queued_query) !== null) { + this._queued_query = null; + Search.query(q); + } + }, + + hasIndex : function() { + return this._index !== null; + }, + + deferQuery : function(query) { + this._queued_query = query; + }, + + stopPulse : function() { + this._pulse_status = 0; + }, + + startPulse : function() { + if (this._pulse_status >= 0) + return; + function pulse() { + Search._pulse_status = (Search._pulse_status + 1) % 4; + var dotString = ''; + for (var i = 0; i < Search._pulse_status; i++) + dotString += '.'; + Search.dots.text(dotString); + if (Search._pulse_status > -1) + window.setTimeout(pulse, 500); + }; + pulse(); + }, + + /** + * perform a search for something + */ + performSearch : function(query) { + // create the required interface elements + this.out = $('#search-results'); + this.title = $('

' + _('Searching') + '

').appendTo(this.out); + this.dots = $('').appendTo(this.title); + this.status = $('

').appendTo(this.out); + this.output = $(' @@ -133,12 +125,6 @@

diffpy API

  • modules |
  • -
  • - next |
  • -
  • - previous |
  • -
  • Structure 1.1-40 documentation »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • diff --git a/api/diffpy.Structure.Parsers.html b/api/diffpy.Structure.Parsers.html index 7768bd6d..0b55db5c 100644 --- a/api/diffpy.Structure.Parsers.html +++ b/api/diffpy.Structure.Parsers.html @@ -8,7 +8,7 @@ - Parsers Package — Structure 1.1-40 documentation + Parsers Package — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - + @@ -47,8 +47,7 @@

    Navigation

  • previous |
  • -
  • Structure 1.1-40 documentation »
  • -
  • diffpy API »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • Structure Package »
  • @@ -639,13 +638,12 @@

    Navigation

  • previous |
  • -
  • Structure 1.1-40 documentation »
  • -
  • diffpy API »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.Structure.applications.html b/api/diffpy.Structure.applications.html index 83180d7f..9033f98c 100644 --- a/api/diffpy.Structure.applications.html +++ b/api/diffpy.Structure.applications.html @@ -8,7 +8,7 @@ - applications Package — Structure 1.1-40 documentation + applications Package — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - + @@ -47,8 +47,7 @@

    Navigation

  • previous |
  • -
  • Structure 1.1-40 documentation »
  • -
  • diffpy API »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • Structure Package »
  • @@ -272,13 +271,12 @@

    Navigation

  • previous |
  • -
  • Structure 1.1-40 documentation »
  • -
  • diffpy API »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.Structure.expansion.html b/api/diffpy.Structure.expansion.html index 160f97a5..172a9688 100644 --- a/api/diffpy.Structure.expansion.html +++ b/api/diffpy.Structure.expansion.html @@ -8,7 +8,7 @@ - expansion Package — Structure 1.1-40 documentation + expansion Package — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - + @@ -47,8 +47,7 @@

    Navigation

  • previous |
  • -
  • Structure 1.1-40 documentation »
  • -
  • diffpy API »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • Structure Package »
  • @@ -206,13 +205,12 @@

    Navigation

  • previous |
  • -
  • Structure 1.1-40 documentation »
  • -
  • diffpy API »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.Structure.html b/api/diffpy.Structure.html index 68ffc828..5196aa69 100644 --- a/api/diffpy.Structure.html +++ b/api/diffpy.Structure.html @@ -8,7 +8,7 @@ - Structure Package — Structure 1.1-40 documentation + Structure Package — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - - + - + @@ -1519,8 +1517,8 @@

    Table Of Contents

    Previous topic

    -

    diffpy API

    +

    diffpy.Structure documentation

    Next topic

    Parsers Package

    @@ -1559,14 +1557,13 @@

    Navigation

    next |
  • - previous |
  • -
  • Structure 1.1-40 documentation »
  • -
  • diffpy API »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • diff --git a/api/diffpy.Structure.tests.html b/api/diffpy.Structure.tests.html index dee0871a..5ea61e5e 100644 --- a/api/diffpy.Structure.tests.html +++ b/api/diffpy.Structure.tests.html @@ -8,7 +8,7 @@ - tests Package — Structure 1.1-40 documentation + tests Package — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - + @@ -43,8 +43,7 @@

    Navigation

  • previous |
  • -
  • Structure 1.1-40 documentation »
  • -
  • diffpy API »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • Structure Package »
  • @@ -175,22 +174,22 @@

    tests
    -badciffile = '/home/juhas/programs/github/diffpy/diffpy.Structure/diffpy/Structure/tests/testdata/LiCl-bad.cif'
    +badciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/LiCl-bad.cif'
    -cdsebulkpdffitfile = '/home/juhas/programs/github/diffpy/diffpy.Structure/diffpy/Structure/tests/testdata/CdSe_bulk.stru'
    +cdsebulkpdffitfile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/CdSe_bulk.stru'
    -goodciffile = '/home/juhas/programs/github/diffpy/diffpy.Structure/diffpy/Structure/tests/testdata/PbTe.cif'
    +goodciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/PbTe.cif'
    -graphiteciffile = '/home/juhas/programs/github/diffpy/diffpy.Structure/diffpy/Structure/tests/testdata/graphite.cif'
    +graphiteciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/graphite.cif'
    @@ -210,7 +209,7 @@

    tests
    -teiciffile = '/home/juhas/programs/github/diffpy/diffpy.Structure/diffpy/Structure/tests/testdata/TeI.cif'
    +teiciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/TeI.cif'

    @@ -1118,13 +1117,12 @@

    Navigation

  • previous |
  • -
  • Structure 1.1-40 documentation »
  • -
  • diffpy API »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.html b/api/diffpy.html index 0ffadd02..2f6c2daf 100644 --- a/api/diffpy.html +++ b/api/diffpy.html @@ -8,7 +8,7 @@ - diffpy API — Structure 1.1-40 documentation + diffpy Package — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - + @@ -47,8 +47,10 @@

    Navigation

    -
    -

    diffpy API

    +
    +

    diffpy Package

    +
    +

    Subpackages

    diff --git a/api/modules.html b/api/modules.html index 898d35ce..1d84aea8 100644 --- a/api/modules.html +++ b/api/modules.html @@ -8,7 +8,7 @@ - diffpy — Structure 1.1-40 documentation + . — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - + @@ -47,31 +47,28 @@

    Navigation

    -
    -

    diffpy

    +
    +

    .

    diff --git a/genindex.html b/genindex.html index 3d36669c..d074fe09 100644 --- a/genindex.html +++ b/genindex.html @@ -10,7 +10,7 @@ - Index — Structure 1.1-40 documentation + Index — diffpy.Structure 1.2b0-15 documentation @@ -18,7 +18,7 @@ - + @@ -120,12 +120,12 @@

    A

    + +
    append() (diffpy.Structure.structure.Structure method)
    -
    -
    ar (diffpy.Structure.lattice.Lattice attribute)
    @@ -188,10 +188,6 @@

    A

    atomLines() (diffpy.Structure.Parsers.P_pdb.P_pdb method)
    - -
    authors -
    -
    @@ -745,7 +741,7 @@

    I

    -
    Installation +
    Installation, [1]
    @@ -823,10 +819,6 @@

    L

    -
    license -
    - -
    loadStructure() (in module diffpy.Structure)
    @@ -1117,7 +1109,7 @@

    R

    -
    Requirements +
    Requirements, [1]
    @@ -2145,11 +2137,11 @@

    Navigation

  • modules |
  • -
  • Structure 1.1-40 documentation »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • diff --git a/index.html b/index.html index 1ad3bfd8..7fb2341e 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - Welcome to Structure documentation! — Structure 1.1-40 documentation + diffpy.Structure documentation — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - - + + @@ -51,31 +51,133 @@

    Navigation

    -
    -

    Welcome to Structure documentation!

    +
    +

    diffpy.Structure documentation

    +

    Software version 1.2b0-15.

    +

    Last updated February 16, 2014.

    diffpy.Structure - simple storage and manipulation of crystal structures

    -

    Contents:

    -
    -
      -
    • Introduction -
    • -
    • Installation -
    • +
      +

      Introduction

      +

      diffpy.Structure - simple storage and manipulation of crystal structures

      +

      The diffpy.Structure package provides simple crystal structure operation +such as calculations of distances or angles from fractional coordinates. +It also provides imports and exports in several structure file formats +and space group definitions and utilities for symmetry expansion and +generation of symmetry constraints on positions and thermal factors.

      +

      To learn more about diffpy.Structure library, see the examples directory +included in this distribution or the API documentation

      +
      +

      Disclaimer

      +

      This program is part of the DiffPy and DANSE open-source projects +and is available subject to the conditions and terms laid out below.

      +

      Copyright 2006-2007, Board of Trustees of Michigan State University, +Copyright 2008-2009, Board of Trustees of Columbia University in the +city of New York. (Copyright holder indicated in each source file).

      +
      +
      For more information please visit the project web-page:
      +
      http://www.diffpy.org/
      +
      +

      or email Prof. Simon Billinge at sb2896@columbia.edu

      +

      Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met:

      +
      +
        +
      • Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer.
      • +
      • Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution.
      • +
      • Neither the name of the copyright holder nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission.
      +
      +

      THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER “AS IS”. COPYRIGHT HOLDER +EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES AND CONDITIONS, EITHER +EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY, TITLE, FITNESS, ADEQUACY OR SUITABILITY +FOR A PARTICULAR PURPOSE, AND ANY WARRANTIES OF FREEDOM FROM +INFRINGEMENT OF ANY DOMESTIC OR FOREIGN PATENT, COPYRIGHTS, TRADE +SECRETS OR OTHER PROPRIETARY RIGHTS OF ANY PARTY. IN NO EVENT SHALL +COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE OR RELATING TO THIS AGREEMENT, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE.

      +
      +
      +

      Acknowledgments

      +
      +

      Developers

      +

      PyObjCryst is developed and maintained by

      +
      Pavol Juhas
      +Chris Farrow
      +Simon J.L. Billinge
      +
      +
      +
      +
      +

      Installation

      +

      The diffpy.Structure requires Python 2.5 and the following external software:

      +
      +
      setuptools – software distribution tools for Python +numpy – numerical mathematics and fast array operations for Python
      +

      On Ubuntu Linux the required software can be easily installed using +the system package manager:

      +
      +
      +
      sudo aptitude install
      +
      python-setuptools python-numpy
      +
      +
      +

      For other Linux distributions use their respective package manager; note +the packages may have slightly different names. diffpy.Structure should work +on other Unix-like operating systems and on Mac as well. Please, search the +web for instructions how to install external dependencies on your particular +system.

      +

      To install the diffpy.Structure package:

      +
      +
      python setup.py install
      +

      By default the files are installed in the system directories, which are +usually only writeable by the root. See the usage info +”./setup.py install –help” for options to install as a normal user under +different location. Note that installation to non-standard directories may +require adjustments to the PATH and PYTHONPATH environment variables.

      +

      The Python setuptools library provides “easy_install” script, which can +be used to update diffpy.Structure installation or even to perform a new +install without explicit need to download and unzip the code:

      +
      +
      easy_install -U diffpy.Structure
      +

      This checks the package repository at http://www.diffpy.org/packages/ +for any newer releases of diffpy.Structure and if present, it updates the +installation.

      +
      @@ -93,17 +196,26 @@

      API and Index

      Table Of Contents

      modules |
    • - next |
    • -
    • Structure 1.1-40 documentation »
    • +
    • diffpy.Structure 1.2b0-15 documentation »
    diff --git a/install.html b/install.html index e526dabe..c0428609 100644 --- a/install.html +++ b/install.html @@ -8,7 +8,7 @@ - Installation — Structure 1.1-40 documentation + Installation — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - - - + @@ -113,12 +105,6 @@

    Table Of Contents

    -

    Previous topic

    -

    Introduction

    -

    Next topic

    -

    diffpy API

    This Page

  • modules |
  • -
  • - next |
  • -
  • - previous |
  • -
  • Structure 1.1-40 documentation »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • diff --git a/intro.html b/intro.html index c49c3436..859dbf0a 100644 --- a/intro.html +++ b/intro.html @@ -8,7 +8,7 @@ - Introduction — Structure 1.1-40 documentation + Introduction — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - - - + @@ -64,20 +56,11 @@

    Introductionhttp://docs.danse.us/diffraction/diffpy.Structure -
    -

    License notice

    +included in this distribution or the API documentation

    +
    +

    Disclaimer

    This program is part of the DiffPy and DANSE open-source projects and is available subject to the conditions and terms laid out below.

    -

    If you use this program to do productive scientific research that leads -to publication, we ask that you acknowledge use of the program by citing -the following paper in your publication:

    -
    -
    P. Juhas, C. L. Farrow, J. W. Liu, D. Bryndin, E. S. Bozin, -W. Zhou and S. J. L. Billinge, DiffPy library - Python packages -for diffraction analysis. To be published.

    Copyright 2006-2007, Board of Trustees of Michigan State University, Copyright 2008-2009, Board of Trustees of Columbia University in the city of New York. (Copyright holder indicated in each source file).

    @@ -117,51 +100,17 @@

    Introduction -

    Authors

    -

    This code was developed as part of the DiffPy project to create python -modules for structure investigations from diffraction data. The main -contributors to this package were

    -
    -
    Pavol Juhas -Chris Farrow
    -

    The DiffPy team is located in the Billinge-group at the Applied Physics -and Applied Mathematics Department of the Columbia University in New York. -Currently the team consists of

    -
    -
    Simon Billinge -Pavol Juhas +
    +

    Acknowledgments

    +
    +

    Developers

    +

    PyObjCryst is developed and maintained by

    +
    Pavol Juhas
     Chris Farrow
    -Jiwu Liu
    -Yingrui Shang
    -Emil Bozin
    -Peng Tian
    -

    Please see the header of each source file for a detailed list of -contributors. This is an open-source project and we hope and expect -that the list of contributors will expand with time. Many thanks to -all current and future contributors!

    -

    For more information on the DiffPy project email sb2896@columbia.edu

    -

    DiffPy was initiated as part of the Distributed Data Analysis of Neutron -Scattering Experiments (DANSE) project, funded by the National Science -Foundation under grant DMR-0520547. More information on DANSE can be -found at http://danse.us. Any opinions, findings, and conclusions or -recommendations expressed in this material are those of the author(s) -and do not necessarily reflect the views of the NSF.

    -

    Acknowledgments:

    -

    We are truly grateful to all the people who have contributed, in all -different ways, to this project: Thomas Proffen, Xiangyun Qiu, Pete -Peterson and Jacques Bloch, previous Billinge-group members whose -contributions to the codes are living well beyond their affiliation with -the group; The hard working DANSE group at Caltech, University of -Maryland, Iowa State and University of Tennessee, especially Brent Fultz -for doggedly putting DANSE all together and Michael Aivazis, and the -indomitable Mike McKerns for their design input and MM’s gargantuan -excel spreadsheets; The former members of the Billinge-group members, -especially HyunJeong Kim and Ahmad Masadeh for enthusiastic testing and -feature requests; Last but not least, our long suffering family members, -and the whole coffee and tea industries at large, without whom none of -this would have been possible.

    -

    Last modified $Date$

    +Simon J.L. Billinge + +

    +
    @@ -174,18 +123,15 @@

    IntroductionTable Of Contents

    -

    Previous topic

    -

    Welcome to Structure documentation!

    -

    Next topic

    -

    Installation

    This Page

    diff --git a/objects.inv b/objects.inv index 66961e0d0e1e0be6aa897a8de25fb1e79948e60c..16df6dbcc19d092fa725490a5fcbf4ee37438119 100644 GIT binary patch delta 3880 zcmV+@57+S29^xL5C?sTQW@d1CE>m=Jbz^jOa%Bo5AXa5^b7^mGIv_DFGGZ_-F*T7x zI)BAo*>2>x6@8ztFp#`|>2-E&3)`iZA` zCe%Is8do>*_ZyP2zl}~V$E!|x^Vgd<er0I)KeYkxm^ zS?B|AwKIL^IHr=H_mV|SGU{UKJrXHdKw%?aanGwZN){dtOu}yWGKnOYDR36!IAXpi zM9~p1ik{7v@!Ea8i^(_oko##M$%%&C(N3>6xL3-4PyK_F{qvZT5dW&W``&CV8sB>R z+Xv25j#x97sS$-P2$U``d)+JMG=EoH9dWOPgoeuH*Yi){7-A1O0etBsf zrT>amZGH9gA&OWgQWiQd6|<)DLx*kyp6dyt@2S+Ki7ZseKA6PfD}h8r-;n zW@vr{Q7)u1O#L)ZLc-6*m6YJ*%+Do7T&#NYy(tJHBEi_N~#*m>x@vot|Bg##t(utObe1=wsBb ze^9<3wb8R6mtG-PSaL+ZpZ)Ev%p#7=EEI?;6^!hUjU#aqU=TvOoKc;ylPSys>p^Utu;Y#u9)vi@X(l!>SxIt?D10X_x(I;#W+Ihb z?LzyTAIq)AkbJLBrJN>#(Pmt)sB3+5(bFApX`=J+GDnRa-FElBDK3dC*5eJ{jOTpxXv8q%PO%Nz6ZQr;5SP|VGxLczvBKf zDnYgIspI&eY{4$Dg9VS4q9Jy=e(C*r&C9y`J!5Or^=jk5SMl{*P7^$wH2Y^$@N9)M;19p-FvvDO;}d*FoGSGZTc^g zgpnB#zZz1QhA&^Z64nJ}00m*11auv2tvTI?4+^D@rj+q<_=RHrr%y1zRD z3q}S6IEdI`9KC%Db{IJgSjN-94hqm|h+>M>5yCQCi2fkJevKA-Au>3*(y4}GCm>w? zWW-)KSosN;WK!kS$jhOf&!*2&MKGq2l$4oQ8F0b1$z zGJiqZokFZLSwYdHQGT4AUtzyUmeWjbjfnqN@eQ?$yvQ_;4GXF;k^2akY%06XHBV@- zoURgtLq0+qG>;nEa7O zc}#I4MX#2esthNV!=q`m8WCV?gDPf}m30ARXK=qvBM%m6oz~PvE~%eK->OXwHl_N- zAFOkVl_6V#;)0L0)G*`)TVBuW#M?k;Fr^@%hD|l=9E_T*W$CZCj zCeJW8r#68QNjamy6EMAEhM3mUKRaQ2(8g)JX|R>GapL=N@>b>zCLrcD_h zyeEjvuZ8M_7?Q#i$gj>VYkw?(%@tFi={k9N-=zmQ_0>QEM63Tn4^b8&RX$i7fx6!D zTCU8G;C9~ODxBTl-MPy}b3u&I214y8Y^K0Ez>gZF3jsWk9B+P1Rnj4&VOc^k2I-EgG(1^ zjW*|${sD^u3Nsj0p72R{V2IjQ)8+LYC5~pPP{QjE66I82>0%RC>ypL**{VyHwJ{NS zUEVm^1+zSoQIGwuymgR9?NH}zVN;;ptWDng6_-8Dqr@CWt$(F&t= zO(4}%N|)XmFb(1!5$zmTkG1suCfX(KdX_WxElsESeuUUQTA;z&N!E{wPSGsO#=)w_ zUHDW#NW{XgG)Q?UKph@dnzopNV-xvI<m(Aq zbrGs7dpX#SJKaagRlYDbaMh2D9oXyV!+%&3rZ3`&$djAZ;ZsRqYolZKgV)Eslk^oN zxH;DtBMVtoTpm}U-xxgs(R90s+n+mZq|c$6aCTsn!|Fi~nqE0hpRuO9&a}dXEYc>9 z2qQsbvrM&VJAbGuG)8z0s5;DacMS*Icl=-<%CgPxMD+(2>=T1Hz)D}%u=0#`nYT5G z8>^^CrWGt!8XsxIgmhBC6h@{uGDOe}KNqE|k0g%mIb?mr=^X!N12$a@m`)u5O!U;6 zfu`kJf@;z?_jtQiix@$bolj$@g{WQdb;sR8Au->^eSgO8-Kh#n8?;U-XBbv%T=O6{ zn_Lqgsk}FHnt*AQ!?ASQG2yY&RF-GVL@W@eAk{5Rr~Qa5!7`IR2IWPR!F4KI<$+AM z0;gJ)pLyLs1y@&K+-tNO0`on>k1SDQ$$c8luq6aYf>*??Vp{GAr_U{O5tle4fL%B) zbm)7T?teizYHr4LoS!;aLG3vyvbH7BI-WV0Bs5+JV5nXkT~cg;IljYGqwT66SIg#< zA1N|zUuP%8%C8052UG3c|C|yFrmPyff~j@2V5u(XWlAwp-V#7J@3o1;r^apCp*?Bf zHMc?-&M`U1oMwEZKE7>+MYD|nmn=Rjvmqps9DfW;wO-LrakAMTf@;x#1h#@Djw9xS zLTcI+Do_so043Qj``D@1jzObVr}$yWRJxp-UD0a!L3zPuGh;{m*qYCaZi#q_xP#JI zE+fLq3u;?6gRP}OYT#y3{S9*@(0uweZ5IO)MestlJF}9ZSGfSrioae*4hM6#H*0!| zZhsjxl#AdfbA7I}$v4hsG7A;1Z{Nqa3c@f@K8?;%&ILIldmD5kbM}RU%%j)#nI_tF zj5JXWqujE&QoRu!wh|oXi=kZW$ubdJ)THb`)Ui1d@EnavSZjmgFs1v9WrK`+k6-W2 zPH@LDdHXB-6`~}83++B3?VYzXHtxyf{(qwQLdxUz(2fe7e6Hh!*zUu|slBV~eclWv=cSjMLDoRj&&gN`!Mu1KVZ4YdADc}V$h2W<6*K6pRs;D)5yyQ#f_ q$z)$2l1D{P%oBFdZEP!~q6_zEx672gp7lD#!n_b#Uq$+X!`k^*kyD0N}x;S1GQX={G@4XkszKDGOb|aPlYrtF{+`PNJ zNlx#=>W9ryg~8u${uBFIz;7P&uYNi3XyBjfZ>#?(FO{67-m!gQ`CWC{OL@UFe>?DB ze6imrr_GB>Gf!nH-@GKu_1w=+f8x8qTWxILDGa$vPdg<7p#-NmdQVI#;c?i=SKRX= zLP`AnUMSe@UN(_sDhBRi7zVa|d;7-B& z9sLg^^z#%mAHP&hx;HzE#;AvT4w%iN$G}EMxf4JA2LqqxU z+vz88b6AoD!edIWiNVu0ubv;fJV{9DbYVS4+r8-NH!9Uo7OlC-u{5* zGBBRfS|%2q_=%&}HZT?R^GEBT+&8RfYm1+cK_C(t3!g;vJUc0S#j=KSm-AOcUbtA) zRQfCMo@rEJBRl2_QEto`e-`UI^2idtGuyTWr>(q?G>cHT4BaMEOV)U&e(0-=tir|W z)#Xj0Gd_u^vMIPaYRPtMaN`D&q5k6qnN(Uab>l4ZS$fK6(u^||Zl*Y5vU25HTi^vu z%In9Tuoqk3KE%1qW+GDavo?;T8DXBSGj}7o+9mTlG&e;huQru|f4cEwH9x4)DxJS; zf6A|L_?zO9Z-4iO(>cz8E2*V8cO2xT?OiEOb}?W2s;@3SI}iQ~C!F&1Q~$=&5Akbc zKa1>JNElUNE>ah+KrHF}1cJX;@%mD5}y@iOJ)Oh`lr`)A7K`R0B8vb(*te1hg! zcfhf>mSc77*_xJ%e^2?){LSM@v4e|;o;Pf7jb!*$EcG*wc&?D8FG8IuSwuonQgNjM zR)ox%Uw`Ac48XDK$wZW7>QkJCtdtY`Eb^wdXo-M2i}Kb78v2^|DFYs8%)?|aHH^>Q zUPS&*-!s$K*BUZPbeZZCR5D+>DU7$z$YC!|P6+B9^pk8df5{Hqgqr#`y|F-KzW;^4 zzOS8VSL#Xi>DPM6^O<0fJYaGkM5M=2WW;~DqP$?EVwgSAa=0~ukQA6XJ`;3?{aOs-y^ zu3E=}xWv0*vr3CEn#-sgdN{4$vk$POS6i z(n*4FW*O6*kD&)V5K~e^|3LYx`_Dkl4u+gEV97LX;PUU8_`w1mX}YTf zq?NfFe{_#M!dP3lc3!OQtQacna^?hft@IzNEgN=4q$J{1+|S|=j$w+H#|3(~JhTV3 zJd@A4Y3bXXrgKok!jaJv@n)VDGZm;E=?1!`hGgWK<6+&l7$dPS%28Z-nIS6Vg~jPD ze=apT0;QK`uLlAx*2=>GO0CVOKZ$_c%iZ!5e}baEqfx2CLMXp*{ujNtbkV)0=kPVv zd^-=+qr8U$86lldBvdwKz?O+U*0XhhvzzA+pFRm?t}oje7lxDzS~5*FU~I|+-l4Q+ zoLC*Ta<{*PgK1;iAc3@)w!a7`Nkw?Oy`zXewDmD54qBV}%JS`nst;hj@&W|8zqssB5U8(Ac}FUVYRG9kmg>KP*^2{E;9x{*Eu|I2?~n8^zzH> zECc&fIG?700o_ePb@YLE0@KJZ45uq(f94{*Xk*!F)X18hHk%3`9om~!>BKZvY^9NE zYT~JS5>mYn!dR-0-?LJ4m=lY}-~y2EqL-y&AC#*!rsn(6= z!$PLUH|CJCh`EbEw9imuW`t z5usE~a|y5Z)B^FSbJh>@eT4Nhf8(w%ymu&{XdPhl(vwuTgyxC8y5HqbStQhtILJbd zV=2R8iBx2eXbw-N!Dd8I>>LO&gR?A)|C0IZRU9}ZaniP=&K<9A7JMs-8mvmSD<@dz z*lI<#@M_!U3U}+sZSKG3<4Z)uaWK>2>;kk&!<|D25gEwm7%zPS-%k8Re-9Ap#PKi+ zeSfN9+nJ9q)3a8HG(kvx&>Cq`7LRJ~2 zxBhiF(sqhoaStICSnq?Tf=mD<#6eq=+;;*D7G#Kz+82oEqqI{32cdoOiQ!SVWGc)B zZlx6_-!U^kKvq>tC7}nEf0b~TK%3mqgw&oZ0mUMQj>3uHc)fv1%cY>KpTs3@P`XSv zRi@Hy5IHiv2of--Vge<0#$q;t@gTyf&E%Ey0fhgy-O0k$23x?PC}mmJrHJ$0GejcR zOwB%vSWW}^qZdnEKHBMt6ZQ6>Z1KJs+b6ZPKzw3Q%!3}HsKBXhf2eZ=39)~bAf-cC zZgFM1?zdaIWHWo8%#gi15Y4pTwTTkr0Mn?GvIDR-TF9X4l`J?ji8GfuM0pp9?-_r} zT{sd9dm=0@H08;SgmbPHM;Tf^#Ia8lTV9$9?i_Ca{V&hq-_dC#)8QgLHMkPqpn^t( zgBpcG0Em1@^0mT{e;9Slq>_Wn{JlWbiW)CoPm~y%#8NZHKUt7*iN%kN%+^Ga0kTo& zG<0K_vVFPRfQLL%$ZDpc^q&|CC1#ery`Y03UqIA*#{)Pdcf2Hr08u2-d0i9blVA8@p zB0M=#@_5ryYOxPBp8EO;qB;zd#}*#%jyOy6UD1c_ELwp9)x4e=ten{ex%7ht!vD&> zIQ1o{5y3(o5mOv%ByFhp^pYI8S%DXmlUpx9oGEk_>+YsQ@L3JW{vAc^tf;7FJMMV9 zAF9+^Y$T~2f2!Jxx5xc|MdZh?@|me4&FOHtVz9H((9*%@bbU;S(;5;sh;alJORw+o zcCFqel50Jmhji^rLd}4HRcNN#T0%mzwE>N#-m!8+EBNV)J%;s(8+Z^KG9M^nRN8Om z(R|Z_e}H}dv=Pz~g|e(pn2nghGC>MKnr{06S?gpXRSODVsA}Av#Rn27150aKqySL5 z!iyT9jfj@(u=F4z&9vwfTDrXqK=7^-f|YODJxlq^8ET00xJqFAhzoxCUd20*pEWZB zCte*`1MSpscNAa%sNc~I47Zl(dh_xCR8#LLe-XC8+}&4eR$V#}zg*=}B}w($Hl@K*Q0^ z*LqTlP9Eyj{6Qf?^Vd=r@tI^v<%qFn+nlU=-KRo_owfxnrg;PuV^x&<~10(gnrjamKBtLzA}var_y z!>#Io_RsZd4MfrHfV#{T92l>zCEI-Ce=I4p=;rc{e5>`m7oa?yA*PJ(c;5^r+E*1a z54hWBnGA}oIMP<9TC;IdMTjf5Bt_ZhqopR+C|KEks6+ip!m~g|ePb&Wm?^MOSO81E zk2j>=(o}wDUXKo$;kmF&A&N&($o&yHKwn7SwEYtOr1<*F{jSnPWmF!kkSDg)f3R^f z@!~T2*MUqLZrF9Z9Tj1A6oAIGULjEy+!d+&uw;=s4uUOmM_wIgJi{0Owj5Ia@-1S) zZ(2MCW>1AZ?&}o-cw23z6Dc}olhmdjGy`iufUG8vp&iMldwJ01{O;~ZufZu#w(iBmJaEv9d-$506Tc4hBR*kM)gd;the7 zEFKt5!y{AJQQ9l7_-DSmMx7UIhzSRR(CY~xnTLTu!6 z0y4q;I0{Zgh?zc`lt_ta;Mzd3%w8Tnx)du{EG3MNwhM%ULw92+;n%VlbgAn+_%EEs zckc^M5==D&#hOM;q=@`g3c26odS{M!<{`Z)2Ar@t<<~w~X}4A;t$UE^wAE{z`aJ!8 zPgMnDxD9=qupxepj!zGr&5S7#upBsmit(7|L8065UXEJ6_mo|1&05-mqseHIx@^4v I1I%P^vb*k-NdN!< diff --git a/py-modindex.html b/py-modindex.html index 1c9c6529..01ea06db 100644 --- a/py-modindex.html +++ b/py-modindex.html @@ -8,7 +8,7 @@ - Python Module Index — Structure 1.1-40 documentation + Python Module Index — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - + @@ -41,7 +41,7 @@

    Navigation

  • modules |
  • -
  • Structure 1.1-40 documentation »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • @@ -335,11 +335,11 @@

    Navigation

  • modules |
  • -
  • Structure 1.1-40 documentation »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • diff --git a/search.html b/search.html index 4fa59539..83fb8d8e 100644 --- a/search.html +++ b/search.html @@ -8,7 +8,7 @@ - Search — Structure 1.1-40 documentation + Search — diffpy.Structure 1.2b0-15 documentation @@ -16,7 +16,7 @@ - + @@ -44,7 +44,7 @@

    Navigation

  • modules |
  • -
  • Structure 1.1-40 documentation »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • @@ -95,11 +95,11 @@

    Navigation

  • modules |
  • -
  • Structure 1.1-40 documentation »
  • +
  • diffpy.Structure 1.2b0-15 documentation »
  • diff --git a/searchindex.js b/searchindex.js index f418dbc1..866112c8 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({objects:{"diffpy.Structure.tests.TestParsers.TestP_xcfg":{setUp:[5,1,1,""],test_rwStr_xcfg_CdSe:[5,1,1,""],test_read_xcfg:[5,1,1,""],assertListAlmostEqual:[5,1,1,""]},"diffpy.Structure.tests.TestP_pdffit":{TestP_pdffit:[5,3,1,""],assertListAlmostEqual:[5,5,1,""]},"diffpy.Structure.tests.TestSuperCell.TestSuperCell":{test_cdse_supercell:[5,1,1,""],tearDown:[5,1,1,""],stru_ni:[5,2,1,""],setUp:[5,1,1,""],test_exceptions:[5,1,1,""],stru_cdse:[5,2,1,""],test_ni_supercell:[5,1,1,""]},"diffpy.Structure.tests.TestLoadStructure.TestLoadStructure":{test_badfile:[5,1,1,""],test_cif:[5,1,1,""],test_xcfg:[5,1,1,""],test_discus:[5,1,1,""]},"diffpy.Structure.SymmetryUtilities":{isconstantFormula:[9,5,1,""],equalPositions:[9,5,1,""],nullSpace:[9,5,1,""],SymmetryConstraints:[9,3,1,""],expandPosition:[9,5,1,""],isSpaceGroupLatPar:[9,5,1,""],positionDifference:[9,5,1,""],pruneFormulaDictionary:[9,5,1,""],ExpandAsymmetricUnit:[9,3,1,""],nearestSiteIndex:[9,5,1,""]},"diffpy.Structure.tests.TestP_discus":{TestP_discus:[5,3,1,""],assertListAlmostEqual:[5,5,1,""]},"diffpy.Structure.expansion.shapeUtils":{findCenter:[10,5,1,""]},"diffpy.Structure.tests.TestP_cif":{TestP_cif:[5,3,1,""],TestRoutines:[5,3,1,""]},diffpy:{Structure:[9,0,1,""]},"diffpy.Structure.tests.TestSuperCell":{TestSuperCell:[5,3,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities.TestRoutines":{test_pruneFormulaDictionary:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_isSpaceGroupLatPar:[5,1,1,""],test_isconstantFormula:[5,1,1,""],test_expandPosition:[5,1,1,""]},"diffpy.Structure.Parsers.P_discus.P_discus":{parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.expansion":{shapeUtils:[10,0,1,""],supercell_mod:[10,0,1,""],makeCuboctahedron:[10,0,1,""],makeEllipsoid:[10,0,1,""]},"diffpy.Structure.Parsers.structureparser":{StructureParser:[3,3,1,""]},"diffpy.Structure.tests.TestParsers.TestP_xyz":{test_writeStr_xyz:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_read_xyz:[5,1,1,""],test_read_xyz_bad:[5,1,1,""],test_write_xyz:[5,1,1,""]},"diffpy.Structure.bratomsstructure":{BRAtomsStructure:[9,3,1,""]},"diffpy.Structure.Parsers.P_pdb":{getParser:[3,5,1,""],P_pdb:[3,3,1,""]},"diffpy.Structure.spacegroupmod.SpaceGroup":{iter_symops:[9,1,1,""],check_group_name:[9,1,1,""],iter_equivalent_positions:[9,1,1,""]},"diffpy.Structure.SymmetryUtilities.SymmetryConstraints":{UparValues:[9,1,1,""],UFormulas:[9,1,1,""],posparSymbols:[9,1,1,""],positionFormulas:[9,1,1,""],positionFormulasPruned:[9,1,1,""],UparSymbols:[9,1,1,""],posparValues:[9,1,1,""],UFormulasPruned:[9,1,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities":{TestSymmetryConstraints:[5,3,1,""],TestRoutines:[5,3,1,""],Test_Position2Tuple:[5,3,1,""],TestGeneratorSite:[5,3,1,""]},"diffpy.Structure.tests.TestLattice":{TestLattice:[5,3,1,""]},"diffpy.Structure.Parsers.structureparser.StructureParser":{parse:[3,1,1,""],parseLines:[3,1,1,""],parseFile:[3,1,1,""],tostring:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.Parsers.P_auto.P_auto":{parse:[3,1,1,""],parseFile:[3,1,1,""],parseLines:[3,1,1,""]},"diffpy.Structure.SymmetryUtilities.GeneratorSite":{eqIndex:[9,1,1,""],idx2Usymbol:[9,2,1,""],Ucomponents:[9,2,1,""],signedRatStr:[9,1,1,""],UFormula:[9,1,1,""],positionFormula:[9,1,1,""]},"diffpy.Structure.Parsers.P_auto":{getParser:[3,5,1,""],P_auto:[3,3,1,""]},"diffpy.Structure.tests.TestStructure":{TestStructure:[5,3,1,""]},"diffpy.Structure.Parsers.P_xcfg.P_xcfg":{cluster_boundary:[3,2,1,""],parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite":{test__findUParameters:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_positionFormula:[5,1,1,""],test_UFormula:[5,1,1,""],test___init__:[5,1,1,""],test_eqIndex:[5,1,1,""],generators:[5,2,1,""],test_UFormula_g186c_eqxyz:[5,1,1,""]},"diffpy.Structure.tests.TestParsers.TestP_rawxyz":{test_read_plainxyz_bad:[5,1,1,""],setUp:[5,1,1,""],test_read_rawxyz:[5,1,1,""],test_writeStr_rawxyz:[5,1,1,""],test_read_plainxyz:[5,1,1,""],test_read_rawxyz_bad:[5,1,1,""]},"diffpy.Structure.Parsers.P_pdffit.P_pdffit":{parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.Parsers.P_pdb.P_pdb":{parseLines:[3,1,1,""],cryst1Lines:[3,1,1,""],orderOfRecords:[3,2,1,""],toLines:[3,1,1,""],validRecords:[3,2,1,""],atomLines:[3,1,1,""],titleLines:[3,1,1,""]},"diffpy.Structure.Parsers.P_pdffit":{getParser:[3,5,1,""],P_pdffit:[3,3,1,""]},"diffpy.Structure.Parsers.P_cif.P_cif":{parse:[3,1,1,""],parseFile:[3,1,1,""],parseLines:[3,1,1,""],BtoU:[3,2,1,""],toLines:[3,1,1,""]},"diffpy.Structure.StructureErrors":{LatticeError:[9,4,1,""],StructureFormatError:[9,4,1,""],IsotropyError:[9,4,1,""],SymmetryError:[9,4,1,""]},"diffpy.Structure.expansion.supercell_mod":{supercell:[10,5,1,""]},"diffpy.Structure.tests.TestP_cif.TestRoutines":{tearDown:[5,1,1,""],setUp:[5,1,1,""],test_getSymOp:[5,1,1,""],test_leading_float:[5,1,1,""]},"diffpy.Structure.tests":{TestLattice:[5,0,1,""],testutils:[5,0,1,""],TestSuperCell:[5,0,1,""],testsuite:[5,5,1,""],TestP_discus:[5,0,1,""],TestParsers:[5,0,1,""],TestLoadStructure:[5,0,1,""],test:[5,5,1,""],run:[5,0,1,""],TestP_cif:[5,0,1,""],TestSymmetryUtilities:[5,0,1,""],TestP_pdffit:[5,0,1,""],TestStructure:[5,0,1,""]},"diffpy.Structure.atom":{Atom:[9,3,1,""]},"diffpy.Structure.tests.TestParsers.TestP_bratoms":{setUp:[5,1,1,""],test_read_bratoms_bad:[5,1,1,""],test_writeStr_cif:[5,1,1,""]},"diffpy.Structure.spacegroupmod.SymOp":{is_identity:[9,1,1,""]},"diffpy.Structure.Parsers.P_xyz":{getParser:[3,5,1,""],P_xyz:[3,3,1,""]},"diffpy.Structure.applications":{transtru:[0,0,1,""],anyeye:[0,0,1,""]},"diffpy.Structure.tests.TestStructure.TestStructure":{test_xyz:[5,1,1,""],test___add__:[5,1,1,""],test_angle:[5,1,1,""],test___isub__:[5,1,1,""],test__get_lattice:[5,1,1,""],test_label:[5,1,1,""],test_Uij:[5,1,1,""],test_extend:[5,1,1,""],test___sub__:[5,1,1,""],test___getitem__:[5,1,1,""],test_append:[5,1,1,""],test_y:[5,1,1,""],test___setslice__:[5,1,1,""],test___imul__:[5,1,1,""],test__set_lattice:[5,1,1,""],test_Bisoequiv:[5,1,1,""],test___iadd__:[5,1,1,""],test_Bij:[5,1,1,""],test___setitem__:[5,1,1,""],test_distance:[5,1,1,""],setUp:[5,1,1,""],test_insert:[5,1,1,""],test_U:[5,1,1,""],test_xyz_cartn:[5,1,1,""],test___getslice__:[5,1,1,""],test_anisotropy:[5,1,1,""],test_assignUniqueLabels:[5,1,1,""],test_occupancy:[5,1,1,""],test_aslist:[5,1,1,""],test_element:[5,1,1,""],assertListAlmostEqual:[5,1,1,""],test___copy__:[5,1,1,""],test___mul__:[5,1,1,""],test_Uisoequiv:[5,1,1,""],test_x:[5,1,1,""],test_cartesian:[5,1,1,""],test_placeInLattice:[5,1,1,""],test_z:[5,1,1,""]},"diffpy.Structure.pdffitstructure":{PDFFitStructure:[9,3,1,""]},"diffpy.Structure.spacegroupmod":{SpaceGroup:[9,3,1,""],SymOp:[9,3,1,""]},"diffpy.Structure.tests.TestP_cif.TestP_cif":{teiciffile:[5,2,1,""],cdsebulkpdffitfile:[5,2,1,""],places:[5,2,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_parseLines:[5,1,1,""],graphiteciffile:[5,2,1,""],test_parse:[5,1,1,""],test_write_and_read:[5,1,1,""],badciffile:[5,2,1,""],test_parseFile:[5,1,1,""],goodciffile:[5,2,1,""],assertListAlmostEqual:[5,1,1,""]},"diffpy.Structure.applications.transtru":{usage:[0,5,1,""],main:[0,5,1,""],version:[0,5,1,""]},"diffpy.Structure.Parsers.P_rawxyz.P_rawxyz":{parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.Parsers":{P_discus:[3,0,1,""],P_cif:[3,0,1,""],P_rawxyz:[3,0,1,""],P_xyz:[3,0,1,""],getParser:[3,5,1,""],structureparser:[3,0,1,""],P_pdffit:[3,0,1,""],parser_index_mod:[3,0,1,""],P_xcfg:[3,0,1,""],inputFormats:[3,5,1,""],outputFormats:[3,5,1,""],P_bratoms:[3,0,1,""],P_auto:[3,0,1,""],P_pdb:[3,0,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities.Test_Position2Tuple":{test___init__:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test___call__:[5,1,1,""]},"diffpy.Structure.Parsers.P_xcfg":{getParser:[3,5,1,""],P_xcfg:[3,3,1,""]},"diffpy.Structure.Parsers.P_xyz.P_xyz":{parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.atom.Atom":{msdCart:[9,1,1,""],U33:[9,2,1,""],B13:[9,2,1,""],B11:[9,2,1,""],U11:[9,2,1,""],U13:[9,2,1,""],B33:[9,2,1,""],x:[9,2,1,""],U12:[9,2,1,""],Bisoequiv:[9,2,1,""],occupancy:[9,2,1,""],Uisoequiv:[9,2,1,""],lattice:[9,2,1,""],label:[9,2,1,""],U:[9,2,1,""],msdLat:[9,1,1,""],U22:[9,2,1,""],U23:[9,2,1,""],xyz_cartn:[9,2,1,""],anisotropy:[9,2,1,""],B23:[9,2,1,""],B22:[9,2,1,""],tol_anisotropy:[9,2,1,""],element:[9,2,1,""],y:[9,2,1,""],B12:[9,2,1,""],z:[9,2,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities.TestSymmetryConstraints":{test_UparValues:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_corepos:[5,1,1,""],test___init__:[5,1,1,""],test_UparSymbols:[5,1,1,""]},"diffpy.Structure.tests.TestLattice.TestLattice":{test_readonly_properties:[5,1,1,""],setUp:[5,1,1,""],test_setLatBase:[5,1,1,""],test_latpar_properties:[5,1,1,""],test_setLatPar:[5,1,1,""],test_repr:[5,1,1,""],assertListAlmostEqual:[5,1,1,""]},"diffpy.Structure.tests.TestParsers.TestP_pdb":{setUp:[5,1,1,""],test_read_pdb_arginine:[5,1,1,""],assertListAlmostEqual:[5,1,1,""],test_rwStr_pdb_CdSe:[5,1,1,""]},"diffpy.Structure.tests.TestP_discus.TestP_discus":{test_read_discus_Ni:[5,1,1,""],test_ignored_lines:[5,1,1,""],setUp:[5,1,1,""],test_stepcut_parsing:[5,1,1,""],test_except_other_formats:[5,1,1,""],test_spdiameter_parsing:[5,1,1,""],assertListAlmostEqual:[5,1,1,""]},"diffpy.Structure.tests.TestLoadStructure":{TestLoadStructure:[5,3,1,""]},"diffpy.Structure.applications.anyeye":{convertStructureFile:[0,5,1,""],version:[0,5,1,""],die:[0,5,1,""],watchStructureFile:[0,5,1,""],cleanUp:[0,5,1,""],signalHandler:[0,5,1,""],usage:[0,5,1,""],parseFormula:[0,5,1,""],main:[0,5,1,""],loadStructureFile:[0,5,1,""]},"diffpy.Structure.lattice":{Lattice:[9,3,1,""],sind:[9,5,1,""],cosd:[9,5,1,""]},"diffpy.Structure.expansion.makeEllipsoid":{makeEllipsoid:[10,5,1,""],makeSphere:[10,5,1,""]},"diffpy.Structure.Parsers.P_rawxyz":{getParser:[3,5,1,""],P_rawxyz:[3,3,1,""]},"diffpy.Structure.tests.testutils":{datafile:[5,5,1,""]},"diffpy.Structure.tests.TestP_pdffit.TestP_pdffit":{test_ignored_lines:[5,1,1,""],setUp:[5,1,1,""],test_writeStr_pdffit:[5,1,1,""],test_stepcut_parsing:[5,1,1,""],assertListAlmostEqual:[5,1,1,""],test_read_pdffit_Ni_prim123:[5,1,1,""],test_read_pdffit_ZnSb:[5,1,1,""],test_read_pdffit_Ni:[5,1,1,""],test_huge_occupancy:[5,1,1,""],test_read_pdffit_bad:[5,1,1,""],test_spdiameter_parsing:[5,1,1,""]},"diffpy.Structure.pdffitstructure.PDFFitStructure":{read:[9,1,1,""],readStr:[9,1,1,""]},"diffpy.Structure.structure":{Structure:[9,3,1,""]},"diffpy.Structure.Parsers.P_cif":{getParser:[3,5,1,""],leading_float:[3,5,1,""],P_cif:[3,3,1,""],getSymOp:[3,5,1,""],fixIfWindowsPath:[3,5,1,""]},"diffpy.Structure":{SpaceGroups:[9,0,1,""],tests:[5,0,1,""],version:[9,0,1,""],loadStructure:[9,5,1,""],mmlibspacegroups:[9,0,1,""],Parsers:[3,0,1,""],utils:[9,0,1,""],StructureErrors:[9,0,1,""],expansion:[10,0,1,""],pdffitstructure:[9,0,1,""],spacegroupmod:[9,0,1,""],bratomsstructure:[9,0,1,""],applications:[0,0,1,""],SymmetryUtilities:[9,0,1,""],lattice:[9,0,1,""],atom:[9,0,1,""],test:[9,5,1,""],sgtbxspacegroups:[9,0,1,""],structure:[9,0,1,""]},"diffpy.Structure.tests.TestParsers":{TestP_xyz:[5,3,1,""],TestP_pdb:[5,3,1,""],TestP_bratoms:[5,3,1,""],TestP_rawxyz:[5,3,1,""],assertListAlmostEqual:[5,5,1,""],TestP_xcfg:[5,3,1,""]},"diffpy.Structure.Parsers.P_bratoms":{getParser:[3,5,1,""],P_bratoms:[3,3,1,""]},"diffpy.Structure.Parsers.P_bratoms.P_bratoms":{parseLines:[3,1,1,""],plist:[3,2,1,""],toLines:[3,1,1,""]},"diffpy.Structure.structure.Structure":{readStr:[9,1,1,""],Uisoequiv:[9,2,1,""],writeStr:[9,1,1,""],U33:[9,2,1,""],B13:[9,2,1,""],B12:[9,2,1,""],B11:[9,2,1,""],U11:[9,2,1,""],U13:[9,2,1,""],U12:[9,2,1,""],B33:[9,2,1,""],append:[9,1,1,""],angle:[9,1,1,""],title:[9,2,1,""],assignUniqueLabels:[9,1,1,""],Bisoequiv:[9,2,1,""],occupancy:[9,2,1,""],label:[9,2,1,""],write:[9,1,1,""],B23:[9,2,1,""],lattice:[9,2,1,""],placeInLattice:[9,1,1,""],composition:[9,2,1,""],tolist:[9,1,1,""],extend:[9,1,1,""],insert:[9,1,1,""],read:[9,1,1,""],U:[9,2,1,""],U22:[9,2,1,""],U23:[9,2,1,""],getLastAtom:[9,1,1,""],pdffit:[9,2,1,""],distance:[9,1,1,""],xyz_cartn:[9,2,1,""],anisotropy:[9,2,1,""],addNewAtom:[9,1,1,""],B22:[9,2,1,""],element:[9,2,1,""],y:[9,2,1,""],x:[9,2,1,""],z:[9,2,1,""],xyz:[9,2,1,""]},"diffpy.Structure.SpaceGroups":{IsSpaceGroupIdentifier:[9,5,1,""],GetSpaceGroup:[9,5,1,""]},"diffpy.Structure.expansion.makeCuboctahedron":{makeCuboctahedron:[10,5,1,""]},"diffpy.Structure.lattice.Lattice":{gamma:[9,2,1,""],dist:[9,1,1,""],cb:[9,2,1,""],ca:[9,2,1,""],sgr:[9,2,1,""],cg:[9,2,1,""],cbr:[9,2,1,""],ar:[9,2,1,""],sar:[9,2,1,""],cr:[9,2,1,""],abcABG:[9,1,1,""],cartesian:[9,1,1,""],angle:[9,1,1,""],fractional:[9,1,1,""],setLatPar:[9,1,1,""],setLatBase:[9,1,1,""],betar:[9,2,1,""],sbr:[9,2,1,""],a:[9,2,1,""],gammar:[9,2,1,""],unitvolume:[9,2,1,""],volume:[9,2,1,""],beta:[9,2,1,""],br:[9,2,1,""],alpha:[9,2,1,""],cgr:[9,2,1,""],alphar:[9,2,1,""],c:[9,2,1,""],b:[9,2,1,""],reciprocal:[9,1,1,""],car:[9,2,1,""],norm:[9,1,1,""],sb:[9,2,1,""],sa:[9,2,1,""],sg:[9,2,1,""],dot:[9,1,1,""]},"diffpy.Structure.Parsers.P_discus":{P_discus:[3,3,1,""],getParser:[3,5,1,""]},"diffpy.Structure.utils":{isfloat:[9,5,1,""],atomBareSymbol:[9,5,1,""]}},terms:{anyey:[0,2,7,9],all:[5,9,6,3],code:[6,8],dist:[9,10],edg:9,represent:[5,9],skip:5,stru_cds:5,symop:[9,3],subclass:[9,3],sratio:9,edu:[9,6],follow:[9,6,3,8],testsupercel:[5,2,7,9],sgtbxspacegroup:[2,9,4,7],positionformula:[5,9],row:9,whose:6,privat:9,typeerror:10,depend:8,properit:9,specif:[6,3],indomit:6,program:[0,5,9,6],"long":6,vec:9,under:[6,8],aris:6,maryland:6,u2213:9,norm:9,merchant:6,datafil:5,sourc:[6,3,10],string:[5,9,3],without:[6,8],fals:9,uisoequiv:[5,9],util:[2,4,6,7,9,10],symmetryconstraint:[5,9],volum:9,truste:6,exact:9,tri:9,getlastatom:9,level:5,p_bratom:[2,3,7,9],cctbx:9,diffract:6,list:[0,5,9,6,3],iter:9,spdiamet:5,item:[9,3],setitem:9,unsupport:5,cosin:9,pbc:3,team:6,small:9,pospar:9,anisotropi:[5,9],"__copy__":5,leonardo:9,round:9,node7:9,pleas:[6,8],atombaresymbol:9,impli:6,cosd:9,cfg:3,mno:10,b23:9,sync:9,molecul:3,sign:9,zero:9,possibl:[9,6,3],design:6,pass:9,download:8,ter:3,append:[5,9],xyzsymbol:9,index:[1,9,3,10],pdffitstructur:[9,2,3,4,7],proffen:6,brief:0,overload:[9,3],test___getitem__:5,cell:[5,9,10],stepcut:5,makecuboctahedron:[2,7,10,9],version:[0,2,9,4,7],u33:9,invers:9,"new":[9,6,3,10,8],normbas:9,method:[5,9,3,10],metadata:9,bratomsstructur:[2,9,4,7],deriv:[9,6,3],urlopen:3,test_readonly_properti:5,gener:[5,9,6,3],waller:9,bisoequiv:[5,9],fultz:6,test_ignored_lin:5,"_symmetry_space_group_name_hal":3,met:6,"_position2tupl":5,modif:6,testp_discu:[5,2,7,9],ubuntu:8,sym:9,path:[3,8],along:[9,10],standard:[0,5,9,3,8],modifi:6,valu:[9,3],procur:6,convert:[0,9,3],msdcart:9,uparamet:9,shift:9,test_writestr_pdffit:5,prior:6,mtrix2:3,mtrix3:3,mtrix1:3,expressli:6,opinion:6,chang:[0,9],crystal_system:9,test_cartesian:5,znsb:5,depart:6,"__getslice__":5,extra:9,appli:6,modul:[0,2,3,4,5,6,7,9,10],sgr:9,foundat:6,submodul:9,testloadstructur:[5,2,7,9],caltech:6,uisotropi:9,unix:8,api:[1,2,6,4,7],expandeduij:9,"_space_group_name_h":3,symmetryerror:9,total:9,unit:[5,9,3],rawxyz:[5,3],kei:[9,3],mckern:6,from:[0,3,5,6,9,10],would:6,test_cdse_supercel:5,ca2:9,univers:6,iter_equivalent_posit:9,test_pruneformuladictionari:5,coordin:[5,9,6,3,10],live:6,deviat:9,call:9,recommend:6,type:[9,3],setlatpar:9,brent:6,more:[0,9,6],wrapper:5,scale1:3,scale2:3,scale3:3,peopl:6,relat:[9,6],origx1:3,aptitud:8,origx3:3,origx2:3,trail:[9,3],flag:9,templat:10,particular:[9,6,3,8],known:3,"_anisotropi":9,cdse:5,must:[9,6],none:[0,3,5,6,9,10],exit:0,expdta:3,car:9,setup:[5,8],testsuit:5,uniqu:[9,3],xyz1:9,xyz0:9,idx2usymbol:9,remain:[9,3],graphit:5,whatev:9,caveat:3,test_repr:5,about:6,unchang:9,purpos:6,root:8,scatter:6,overrid:[0,3],nearest:[9,10],"_space_group_name_hal":3,give:3,process:9,slightli:8,sudo:8,share:9,indic:[9,6],baserot:9,high:5,unzip:8,proprietari:6,plist:3,gargantuan:6,occup:[5,9],huge:5,end:[9,3],testresult:[5,9],siguij:3,anoth:10,spreadsheet:6,endmdl:3,write:[5,9],how:8,abcabg:9,obslt:3,"__init__":5,test_write_and_read:5,sprsde:3,spcgr:9,simpl:[1,9,6,3,10],chri:6,updat:[9,8],map:[9,3],product:[9,6],mmlibspacegroup:[2,9,4,7],recogn:3,gammar:9,"1x2x3":5,watch:0,p_xcfg:[2,3,7,9],rmax:9,test_latpar_properti:5,test_insert:5,reflect:[9,6],befor:9,mac:8,test_xyz_cartn:5,baresymbol:9,mai:[9,6,8],multipl:9,data:[9,6,3],physic:6,welcom:1,"short":9,xyz_cartn:[5,9],third:9,object:[5,9,3],condit:[9,6],atomey:[0,5,3],explicit:8,correspond:[9,3,10],stru:[5,3],element:[0,5,9,3],caus:6,inform:[9,6],environ:8,spheric:10,allow:9,hyunjeong:6,pymmlib:9,order:[0,3],origin:[9,3,10],test_angl:5,equij:9,composit:9,rotat:[5,9],endors:6,stru_ni:5,getspacegroup:9,equatori:10,trade:6,cif_sgnam:3,thermal:[9,6],paper:6,comma:0,nitrogen:9,diffpi:[0,1,2,3,4,5,6,7,8,9,10],suffer:6,test_uformula_g186c_eqxyz:5,test_write_xyz:5,paramet:[9,10],style:[0,9,3],group:[9,6,3,10],sgtbx:9,fit:6,reproduc:6,fix:3,num_sym_equiv:9,peng:6,tort:6,window:3,html:[9,3],isspacegrouplatpar:[5,9],pythonpath:8,waler:9,parseformula:0,main:[0,6],"_finduparamet":5,non:[3,8],good:6,"return":[0,5,9,3,10],thei:3,python:[5,9,6,8],auto:[0,9],test_rwstr_xcfg_cds:5,initi:6,nation:6,automat:3,interrupt:6,test_read_xyz:5,test_badfil:5,nor:6,introduct:[1,6],testsymmetryconstraint:5,modr:3,document:[1,6,3],name:[9,6,3,8],test_isconstantformula:5,separ:0,easili:8,test_read_pdffit_znsb:5,each:[9,6],found:[9,6],poseqn:9,juha:[5,6],mean:9,transtru:[0,2,7,9],test__set_lattic:5,michael:6,findcent:10,test__finduparamet:5,runtest:5,aidx:3,been:6,"static":3,expect:6,loadstructur:[5,9],die:0,test_label:5,search:8,beyond:6,extract:3,orient:9,special:6,out:[0,6,10],variabl:[9,8],isconstantformula:[5,9],matrix:9,test___copy__:5,profit:6,equivel:9,test_u:5,publish:6,research:6,content:[1,3,10],laid:6,adjust:8,test__get_lattic:5,suitabl:6,lattic:[2,4,5,7,9,10],print:0,formula:[0,5,9,3],current:6,factori:[5,3],matric:9,bozin:6,sbr:9,parsefil:[5,3],masadeh:6,test_setlatbas:5,domest:6,manipul:[1,6,10],given:[9,3],b33:9,tian:6,"__setitem__":5,base:[5,9,3],theori:6,dictionari:[9,3],put:6,org:[6,3,8],aid0:9,aid1:9,expandasymmetricunit:[9,3],alphar:9,test_bij:5,hydbnd:3,convent:3,jacqu:6,angl:[5,9,6],cdsebulkpdffitfil:5,script:[0,8],test_aslist:5,turn:3,length:9,test___mul__:5,place:[5,9],tol_anisotropi:9,u22:9,u23:9,retain:6,test_assignuniquelabel:5,testp_rawxyz:5,imposs:9,unitvolum:9,first:[0,9,3],oper:[9,6,8],softwar:[9,6,8],supercel:[5,10],kim:6,tei:5,arrai:[9,8],ncell:9,"__getitem__":5,number:[9,3],test___getslice__:5,instruct:8,alreadi:9,test_eqindex:5,messag:0,symmetri:[5,9,6,3],blank:9,open:[0,6],primari:10,exit_statu:0,differ:[0,9,6,8],cartesian:[5,9,3],sheet:3,structurepars:[2,3,7,9],tvect:3,teardown:5,associ:3,top:3,system:[9,8],least:6,testdata:5,spacegroupmod:[2,9,4,7],citi:6,necessarili:6,master:3,tea:6,termin:3,conveni:5,cite:6,store:9,assign:[5,9],asymmetric_unit:3,option:[0,9,3,8],inspect:9,especi:6,test_ni_supercel:5,test_xyz:5,copi:9,setuptool:8,convertstructurefil:0,specifi:[0,9],b22:9,argon:9,part:[9,6],pars:[0,5,3],structureerror:[2,9,4,7],keywd:3,structureformaterror:[9,3],off:9,holder:6,than:0,std:3,iter_symop:9,prune:9,provid:[9,6,3,8],remov:9,uformula:[5,9],dans:6,second:[9,3],structur:[0,1,2,3,4,5,6,7,8,9,10],charact:[9,3],project:6,positiondiffer:9,were:6,posit:[5,9,6],num_primitive_sym_equiv:9,eqdict:9,analysi:6,vector:[5,9],licl:5,cryst1:3,sgoffset:9,eqindex:[5,9],rcut:9,direct:[9,6],raw:[5,3],width:3,inherit:9,have:[6,8],graphiteciffil:5,need:[3,8],sar:9,"null":9,featur:6,test_read_xyz_bad:5,test_dist:5,dbref:3,squar:9,equival:[9,3],format30:3,test_read_plainxyz_bad:5,self:[5,9,3],cispep:3,test_read_rawxyz:5,isspacegroupidentifi:9,note:[9,8],also:[9,6],test_setlatpar:5,build:[5,3],which:[0,9,3,8],hetnam:3,thoma:6,fmt:9,uparsymbol:[5,9],tool:8,uformulasprun:9,even:[6,8],outfmt:0,jrnl:3,normal:[5,3,8],bruce:[5,9,3],tolin:3,who:6,hetsyn:3,writestr:9,makespher:10,beta:[5,9,3],sb2896:6,pair:9,alpha:[5,9,3],is_ident:9,"class":[5,9,3,10],charg:9,test_huge_occup:5,test_position2tupl:5,url:3,doc:[9,6],test_spdiameter_pars:5,request:6,doe:3,inde:5,emil:6,leading_float:[5,3],determin:9,constrain:9,axi:10,test_getsymop:5,dot:9,bubbleraft:5,event:6,newer:8,test_corepo:5,show:0,strufil:0,spacegrouplist:9,signum:0,p_rawxyz:[2,3,7,9],radiu:10,syntax:3,"3x3":9,permiss:6,"_usync":9,corner:3,label:[5,9,3],find:[5,6,10],help:[0,8],enthusiast:6,absolut:9,onli:[0,5,9,3,8],indexerror:9,copyright:6,eau:3,releas:8,state:6,should:[3,8],structurefil:0,parametr:9,busi:6,helix:3,xcfg:[0,5,3],factor:[9,6],"__call__":5,recbas:9,local:3,over:9,hope:6,smbl:9,loss:6,u110:9,variou:[9,3],get:9,michigan:6,express:6,pruneformuladictionari:[5,9],secondari:10,uspac:9,setlatbas:9,chemic:[0,9],liabl:6,recalcul:9,test_read_pdffit_bad:5,requir:[1,8],truli:6,cdse_bulk:5,arginin:5,test_parsefil:5,jiwu:6,test_i:5,"public":6,"__date__":9,whether:6,bad:5,discu:[5,9,3],contain:[9,3,10],test_read_plainxyz:5,anisotrop:9,test_rwstr_pdb_cds:5,where:[9,3],test_z:5,offset:9,view:[0,6],krypton:9,set:[9,3,10],previou:6,watchstructurefil:0,setslic:9,displai:0,methodnam:5,see:[9,6,8],bare:9,arg:9,fail:[9,3],close:9,"_get_lattic":5,testp_pdffit:[5,2,7,9],peterson:6,subject:6,pete:6,approxim:10,detect:3,tensor:9,record:[5,3],pavol:6,boundari:[9,3],test_append:5,dmr:6,bryndin:6,symop_list:9,written:[6,3],smallest:9,test_read_pdffit_ni_prim123:5,between:9,"import":[9,6],neither:[6,3],experi:6,email:6,attribut:[9,3],"_symmetry_space_group_name_h":3,extend:[5,9,3],numer:8,ask:6,screen:0,ssbond:3,testlattic:[5,2,7,9],"_atom_site_label":3,york:6,measur:9,deby:9,toler:9,testp_cif:[5,2,7,9],getsymop:[5,3],valid:3,thank:6,disclaim:6,coremap:9,last:[9,6],plugin:3,recnormbas:9,howev:6,labelindex:3,incident:6,null_spac:9,foreign:6,sltbrg:3,capabl:3,instanc:[9,3,10],present:8,teststructur:[5,2,7,9],goodciffil:5,bratom:[5,9],whole:6,pdb:[0,5,9,3],independ:9,coordiant:9,concret:3,p_discu:[5,2,3,7,9],can:[5,9,6,8],unittest:[5,9],test_parselin:5,period:[9,3],test___isub__:5,header:[5,6,3],reciproc:9,exemplari:6,test_uisoequiv:5,test_pars:5,ioerror:3,respect:[9,8],assum:9,sind:9,test_leading_float:5,damag:6,liabil:6,becom:9,test_extend:5,divid:10,billing:6,addnewatom:9,locat:[6,8],assertlistalmostequ:5,short_nam:9,numpi:[9,8],three:9,empti:9,alt_nam:9,compon:9,viewer:0,secret:6,basic:3,positionformulasprun:9,futur:6,u13:9,u12:9,valueerror:[9,10],check_group_nam:9,mike:6,parser:[2,3,4,5,7,9],face:10,test_x:5,remark:3,ani:[9,6,3,8],fund:6,p_pdffit:[5,2,3,7,9],togeth:6,date:6,former:6,those:6,doggedli:6,"case":5,ident:9,look:3,readstr:9,packag:[0,1,2,3,4,5,6,7,8,9,10],tostr:[5,3],servic:6,properti:[5,9],iucr:3,"__iadd__":5,defin:[0,9,3],calcul:[5,9,6],m_alt:3,betar:9,abov:6,error:9,"__sub__":5,na4cl4:0,usymbol:9,p_pdb:[2,3,7,9],gamma:[5,9,3],wwpdb:3,helper:5,delta1:9,metric:9,site:[5,9,3],equal:[9,10],cluster:3,"default":[0,9,10,8],kwarg:9,contract:6,testroutin:5,sgid:9,routin:[5,3],sever:[9,6],scienc:6,testp_bratom:5,develop:6,test_read_bratoms_bad:5,inputformat:[0,3],grant:6,perform:[9,10,8],parti:6,make:10,test_el:5,same:[0,9],member:[9,6,3],binari:6,isotrop:9,sgtbxspacegrouplist:9,advis:6,coreuij:9,"__version__":9,test_uij:5,neutron:6,equalposit:9,test_writestr_xyz:5,outputformat:[0,3],columbia:6,ahmad:6,nullspac:9,pbte:5,expans:[2,3,4,5,6,7,9,10],nest:9,permit:6,pdb_name:9,effect:3,coffe:6,ion:9,phy:9,rais:[9,3,10],temporari:0,user:8,"__add__":5,mani:6,isotropyerror:9,implement:3,expand:[9,6,10],subpackag:[2,9,4,7],isotop:9,ni_prim:5,center:10,format23:3,iowa:6,orderofrecord:3,well:[6,8],expandposit:[5,9],magnitud:9,contribut:6,exampl:[9,6,3],test_expandposit:5,thi:[0,3,5,6,8,9,10],model:3,notic:[1,6],dimension:9,usual:8,load:[0,5,9,3],famili:6,distanc:[5,9,6,10],identifi:9,execut:[0,5,9],pycifrw:3,"__gitsha__":9,test___add__:5,test_placeinlattic:5,text:3,obtain:[9,3],shape:10,cluster_boundari:3,test_occup:5,supercell_mod:[2,7,10,9],test_read_discus_ni:5,web:[9,6,8],cut:10,liu:6,farrow:6,point:9,wai:6,except:[5,9,3],anis:3,add:9,cleanup:0,nanoparticl:10,board:6,input:[0,9,6,3],save:[0,9],ravel:[5,9,3],testsymmetryutil:[5,2,7,9],msdlat:9,test___iadd__:5,applic:[0,2,9,4,7],delta2:9,bij:5,around:3,format:[0,5,9,6,3],read:[0,5,9,3],p_cif:[5,2,3,7,9],test_except:5,test_anisotropi:5,term:6,parser_index:3,getpars:3,expandedpo:9,signedratstr:9,nearestsiteindex:9,testp_xyz:5,licens:[1,6],insert:[5,9],like:8,success:3,filenam:[0,5,9,3],aivazi:6,author:[1,6,3],temperatur:9,argument:[5,9,10],test___setitem__:5,"boolean":9,either:[9,6],output:[0,9,3],btou:3,stdbase:9,p_auto:[2,3,7,9],manag:8,excel:6,ucompon:9,www:[6,3,8],right:[9,6],cryst1lin:3,generatorsit:[5,9],regist:3,acknowledg:6,fixifwindowspath:3,linux:8,neglig:6,understood:0,infmt:0,"export":6,integ:[9,10],new_lattic:9,instal:[1,8],home:[5,3],indirect:6,badciffil:5,librari:[6,8],distribut:[6,8],teiciffil:5,scale:9,learn:6,lead:[9,6],closest:10,avoid:[9,3],shall:6,definit:[9,6,3],tolist:[5,9],per:9,multipli:10,substitut:6,mathemat:[6,8],larg:6,tennesse:6,prof:6,duplic:9,notabl:9,test_writestr_cif:5,refer:[9,3],core:9,aid2:9,investig:6,run:[5,2,3,7,9],ration:9,usag:[0,3,8],agreement:6,symmetryutil:[2,3,4,5,7,9],corepo:9,signalhandl:0,fileformat:0,promot:6,repositori:8,spacegroup:[9,2,3,4,7],test_uparsymbol:5,cgr:9,testp_xcfg:5,pdffit:[5,9,3],eqxyz:9,patent:6,hard:6,"__imul__":5,idx:[9,3],constraint:[9,6],column:[9,3],freedom:6,materi:[9,6],http:[9,6,3,8],choke:3,page:6,degre:9,"__mul__":5,test_xcfg:5,constructor:9,seqr:3,industri:6,bond:9,revdat:3,shapeutil:[2,7,10,9],block:3,test_discu:5,pparamet:9,cutoff:9,assignuniquelabel:[5,9],yingrui:6,visit:6,xyz:[5,9,3],"float":[9,3],washington:9,easy_instal:8,nsf:6,two:9,warranti:6,test_read_pdffit_ni:5,sigatm:3,ciffil:3,testp_pdb:5,strip:[9,3],contributor:6,"__setslice__":5,bool:9,storag:[1,9,6],your:[6,8],het:3,suffici:3,test___sub__:5,sine:9,support:0,testgeneratorsit:5,uparvalu:[5,9],fast:8,custom:9,avail:[9,6,3],lost:9,singl:9,formul:3,test___setslice__:5,includ:6,fraction:[9,6,10],suit:5,forward:9,test___imul__:5,strict:6,"function":[9,10],"__isub__":5,test___call__:5,test_cif:5,"_set_lattic":5,plain:5,form:[9,6],convers:[5,3],tupl:[0,9],shang:6,test_except_other_format:5,github:5,u11:9,link:3,translat:[0,9],parselin:[5,3],atom:[2,3,4,5,7,9,10],grate:6,line:[0,5,3],"true":9,seqadv:3,conclus:6,info:[0,9,8],bloch:6,cif:[5,3],consist:[9,6],displac:9,loadstructurefil:0,placeinlattic:[5,9],atomlin:3,writeabl:8,p_xyz:[2,3,7,9],hetatm:3,crystal:[1,6],below:6,limit:6,redistribut:6,otherwis:[9,6,3],adequaci:6,makeellipsoid:[2,7,10,9],point_group_nam:9,parser_index_mod:[2,3,7,9],atyp:9,isfloat:9,upar:9,constant:9,spheroid:10,creat:[6,3,10],test_isspacegrouplatpar:5,uij:[5,9],inp:9,xiangyun:6,test_writestr_rawxyz:5,cbr:9,titlelin:3,testutil:[5,2,7,9],test_positionformula:5,file:[0,3,5,6,8,9],our:6,qiu:6,exist:[3,10],work:[6,8],check:[5,9,8],whom:6,test_read_xcfg:5,testpars:[5,2,7,9],test_uparvalu:5,validrecord:3,titl:[9,6,3],when:[5,9,3,10],detail:6,invalid:[5,9,10],test_uformula:5,dxyz:9,other:[0,5,6,8],b12:9,b13:9,b11:9,test:[2,4,5,6,7,9],you:6,test_read_rawxyz_bad:5,asymmetr:[5,9,3],test_read_pdb_arginin:5,polar:10,conect:3,extern:8,zhou:6,affili:6,sequenc:[9,10],symbol:9,time:6,consequenti:6,latticeerror:9,meaning:9,"_uisoequiv":9,testcas:5,compnd:3,cuboctahedron:10,test___init__:5,test_bisoequiv:5,simon:6,invari:9,posparsymbol:9,longer:9,test_stepcut_pars:5,scientif:6,directori:[6,8],space:[9,6,3],descript:9,comparison:5,infring:6,na1:9,ignor:[5,3],dcell:9,ueqn:9,understand:[0,3],mmlib:9,posparvalu:9,stackfram:0},objtypes:{"0":"py:module","1":"py:method","2":"py:attribute","3":"py:class","4":"py:exception","5":"py:function"},titles:["applications Package","Welcome to Structure documentation!","diffpy API","Parsers Package","diffpy","tests Package","Introduction","diffpy API","Installation","Structure Package","expansion Package"],objnames:{"0":["py","module","Python module"],"1":["py","method","Python method"],"2":["py","attribute","Python attribute"],"3":["py","class","Python class"],"4":["py","exception","Python exception"],"5":["py","function","Python function"]},filenames:["api/diffpy.Structure.applications","index","api/api","api/diffpy.Structure.Parsers","api/modules","api/diffpy.Structure.tests","intro","api/diffpy","install","api/diffpy.Structure","api/diffpy.Structure.expansion"]}) \ No newline at end of file +Search.setIndex({objects:{"diffpy.Structure.tests.TestParsers.TestP_xcfg":{setUp:[5,1,1,""],test_rwStr_xcfg_CdSe:[5,1,1,""],test_read_xcfg:[5,1,1,""],assertListAlmostEqual:[5,1,1,""]},"diffpy.Structure.tests.TestP_pdffit":{TestP_pdffit:[5,3,1,""],assertListAlmostEqual:[5,5,1,""]},"diffpy.Structure.tests.TestLoadStructure.TestLoadStructure":{test_badfile:[5,1,1,""],test_cif:[5,1,1,""],test_xcfg:[5,1,1,""],test_discus:[5,1,1,""]},"diffpy.Structure.SymmetryUtilities":{isconstantFormula:[9,5,1,""],equalPositions:[9,5,1,""],nullSpace:[9,5,1,""],SymmetryConstraints:[9,3,1,""],expandPosition:[9,5,1,""],isSpaceGroupLatPar:[9,5,1,""],positionDifference:[9,5,1,""],pruneFormulaDictionary:[9,5,1,""],ExpandAsymmetricUnit:[9,3,1,""],nearestSiteIndex:[9,5,1,""]},"diffpy.Structure.SpaceGroups":{IsSpaceGroupIdentifier:[9,5,1,""],GetSpaceGroup:[9,5,1,""]},"diffpy.Structure.expansion.shapeUtils":{findCenter:[10,5,1,""]},"diffpy.Structure.tests.TestP_cif":{TestP_cif:[5,3,1,""],TestRoutines:[5,3,1,""]},diffpy:{Structure:[9,0,1,""]},"diffpy.Structure.tests.TestSuperCell":{TestSuperCell:[5,3,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities.TestRoutines":{test_pruneFormulaDictionary:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_isSpaceGroupLatPar:[5,1,1,""],test_isconstantFormula:[5,1,1,""],test_expandPosition:[5,1,1,""]},"diffpy.Structure.Parsers.P_discus.P_discus":{parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.tests.TestSuperCell.TestSuperCell":{stru_cdse:[5,2,1,""],tearDown:[5,1,1,""],stru_ni:[5,2,1,""],setUp:[5,1,1,""],test_exceptions:[5,1,1,""],test_cdse_supercell:[5,1,1,""],test_ni_supercell:[5,1,1,""]},"diffpy.Structure.Parsers.structureparser":{StructureParser:[3,3,1,""]},"diffpy.Structure.tests.TestParsers.TestP_xyz":{test_writeStr_xyz:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_read_xyz:[5,1,1,""],test_read_xyz_bad:[5,1,1,""],test_write_xyz:[5,1,1,""]},"diffpy.Structure.bratomsstructure":{BRAtomsStructure:[9,3,1,""]},"diffpy.Structure.Parsers.P_pdb":{getParser:[3,5,1,""],P_pdb:[3,3,1,""]},"diffpy.Structure.spacegroupmod.SpaceGroup":{iter_symops:[9,1,1,""],check_group_name:[9,1,1,""],iter_equivalent_positions:[9,1,1,""]},"diffpy.Structure.SymmetryUtilities.SymmetryConstraints":{UparValues:[9,1,1,""],UFormulas:[9,1,1,""],posparSymbols:[9,1,1,""],positionFormulas:[9,1,1,""],positionFormulasPruned:[9,1,1,""],UparSymbols:[9,1,1,""],posparValues:[9,1,1,""],UFormulasPruned:[9,1,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities":{TestSymmetryConstraints:[5,3,1,""],TestRoutines:[5,3,1,""],Test_Position2Tuple:[5,3,1,""],TestGeneratorSite:[5,3,1,""]},"diffpy.Structure.tests.TestLattice":{TestLattice:[5,3,1,""]},"diffpy.Structure.Parsers.structureparser.StructureParser":{parse:[3,1,1,""],parseLines:[3,1,1,""],parseFile:[3,1,1,""],tostring:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.Parsers.P_auto.P_auto":{parse:[3,1,1,""],parseFile:[3,1,1,""],parseLines:[3,1,1,""]},"diffpy.Structure.SymmetryUtilities.GeneratorSite":{eqIndex:[9,1,1,""],idx2Usymbol:[9,2,1,""],Ucomponents:[9,2,1,""],signedRatStr:[9,1,1,""],UFormula:[9,1,1,""],positionFormula:[9,1,1,""]},"diffpy.Structure.Parsers.P_auto":{getParser:[3,5,1,""],P_auto:[3,3,1,""]},"diffpy.Structure.tests.TestStructure":{TestStructure:[5,3,1,""]},"diffpy.Structure.Parsers.P_xcfg.P_xcfg":{cluster_boundary:[3,2,1,""],parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite":{test__findUParameters:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_positionFormula:[5,1,1,""],test_UFormula:[5,1,1,""],test___init__:[5,1,1,""],test_eqIndex:[5,1,1,""],generators:[5,2,1,""],test_UFormula_g186c_eqxyz:[5,1,1,""]},"diffpy.Structure.tests.TestParsers.TestP_rawxyz":{test_read_plainxyz_bad:[5,1,1,""],setUp:[5,1,1,""],test_read_rawxyz:[5,1,1,""],test_writeStr_rawxyz:[5,1,1,""],test_read_plainxyz:[5,1,1,""],test_read_rawxyz_bad:[5,1,1,""]},"diffpy.Structure.Parsers.P_pdffit.P_pdffit":{parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.Parsers.P_pdb.P_pdb":{parseLines:[3,1,1,""],cryst1Lines:[3,1,1,""],orderOfRecords:[3,2,1,""],toLines:[3,1,1,""],validRecords:[3,2,1,""],atomLines:[3,1,1,""],titleLines:[3,1,1,""]},"diffpy.Structure.Parsers.P_pdffit":{getParser:[3,5,1,""],P_pdffit:[3,3,1,""]},"diffpy.Structure.Parsers.P_cif.P_cif":{parse:[3,1,1,""],parseFile:[3,1,1,""],parseLines:[3,1,1,""],BtoU:[3,2,1,""],toLines:[3,1,1,""]},"diffpy.Structure.StructureErrors":{LatticeError:[9,4,1,""],StructureFormatError:[9,4,1,""],IsotropyError:[9,4,1,""],SymmetryError:[9,4,1,""]},"diffpy.Structure.expansion.supercell_mod":{supercell:[10,5,1,""]},"diffpy.Structure.tests.TestP_cif.TestRoutines":{tearDown:[5,1,1,""],setUp:[5,1,1,""],test_getSymOp:[5,1,1,""],test_leading_float:[5,1,1,""]},"diffpy.Structure.tests":{TestLattice:[5,0,1,""],testutils:[5,0,1,""],TestSuperCell:[5,0,1,""],testsuite:[5,5,1,""],TestP_discus:[5,0,1,""],TestParsers:[5,0,1,""],TestLoadStructure:[5,0,1,""],test:[5,5,1,""],run:[5,0,1,""],TestP_cif:[5,0,1,""],TestSymmetryUtilities:[5,0,1,""],TestP_pdffit:[5,0,1,""],TestStructure:[5,0,1,""]},"diffpy.Structure.atom":{Atom:[9,3,1,""]},"diffpy.Structure.tests.TestParsers.TestP_bratoms":{setUp:[5,1,1,""],test_read_bratoms_bad:[5,1,1,""],test_writeStr_cif:[5,1,1,""]},"diffpy.Structure.spacegroupmod.SymOp":{is_identity:[9,1,1,""]},"diffpy.Structure.Parsers.P_xyz":{getParser:[3,5,1,""],P_xyz:[3,3,1,""]},"diffpy.Structure.applications":{transtru:[0,0,1,""],anyeye:[0,0,1,""]},"diffpy.Structure.tests.TestStructure.TestStructure":{test_xyz:[5,1,1,""],test___add__:[5,1,1,""],test_angle:[5,1,1,""],test___isub__:[5,1,1,""],test__get_lattice:[5,1,1,""],test_label:[5,1,1,""],test_Uij:[5,1,1,""],test_extend:[5,1,1,""],test___sub__:[5,1,1,""],test___getitem__:[5,1,1,""],test_append:[5,1,1,""],test_y:[5,1,1,""],test___setslice__:[5,1,1,""],test___imul__:[5,1,1,""],test__set_lattice:[5,1,1,""],test_Bisoequiv:[5,1,1,""],test___iadd__:[5,1,1,""],test_Bij:[5,1,1,""],test___setitem__:[5,1,1,""],test_distance:[5,1,1,""],setUp:[5,1,1,""],test_insert:[5,1,1,""],test_U:[5,1,1,""],test_xyz_cartn:[5,1,1,""],test___getslice__:[5,1,1,""],test_anisotropy:[5,1,1,""],test_assignUniqueLabels:[5,1,1,""],test_occupancy:[5,1,1,""],test_aslist:[5,1,1,""],test_element:[5,1,1,""],assertListAlmostEqual:[5,1,1,""],test___copy__:[5,1,1,""],test___mul__:[5,1,1,""],test_Uisoequiv:[5,1,1,""],test_x:[5,1,1,""],test_cartesian:[5,1,1,""],test_placeInLattice:[5,1,1,""],test_z:[5,1,1,""]},"diffpy.Structure.pdffitstructure":{PDFFitStructure:[9,3,1,""]},"diffpy.Structure.spacegroupmod":{SpaceGroup:[9,3,1,""],SymOp:[9,3,1,""]},"diffpy.Structure.tests.TestP_cif.TestP_cif":{teiciffile:[5,2,1,""],cdsebulkpdffitfile:[5,2,1,""],places:[5,2,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_parseLines:[5,1,1,""],graphiteciffile:[5,2,1,""],test_parse:[5,1,1,""],test_write_and_read:[5,1,1,""],badciffile:[5,2,1,""],goodciffile:[5,2,1,""],test_parseFile:[5,1,1,""],assertListAlmostEqual:[5,1,1,""]},"diffpy.Structure.applications.transtru":{usage:[0,5,1,""],main:[0,5,1,""],version:[0,5,1,""]},"diffpy.Structure.Parsers.P_rawxyz.P_rawxyz":{parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.Parsers":{P_discus:[3,0,1,""],P_cif:[3,0,1,""],P_rawxyz:[3,0,1,""],P_xyz:[3,0,1,""],getParser:[3,5,1,""],structureparser:[3,0,1,""],P_pdffit:[3,0,1,""],parser_index_mod:[3,0,1,""],P_xcfg:[3,0,1,""],inputFormats:[3,5,1,""],outputFormats:[3,5,1,""],P_bratoms:[3,0,1,""],P_auto:[3,0,1,""],P_pdb:[3,0,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities.Test_Position2Tuple":{test___init__:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test___call__:[5,1,1,""]},"diffpy.Structure.Parsers.P_xcfg":{getParser:[3,5,1,""],P_xcfg:[3,3,1,""]},"diffpy.Structure.Parsers.P_xyz.P_xyz":{parseLines:[3,1,1,""],toLines:[3,1,1,""]},"diffpy.Structure.expansion":{shapeUtils:[10,0,1,""],supercell_mod:[10,0,1,""],makeCuboctahedron:[10,0,1,""],makeEllipsoid:[10,0,1,""]},"diffpy.Structure.tests.TestSymmetryUtilities.TestSymmetryConstraints":{test_UparValues:[5,1,1,""],tearDown:[5,1,1,""],setUp:[5,1,1,""],test_corepos:[5,1,1,""],test___init__:[5,1,1,""],test_UparSymbols:[5,1,1,""]},"diffpy.Structure.tests.TestLattice.TestLattice":{test_readonly_properties:[5,1,1,""],setUp:[5,1,1,""],test_setLatBase:[5,1,1,""],test_latpar_properties:[5,1,1,""],test_setLatPar:[5,1,1,""],test_repr:[5,1,1,""],assertListAlmostEqual:[5,1,1,""]},"diffpy.Structure.tests.TestParsers.TestP_pdb":{setUp:[5,1,1,""],test_read_pdb_arginine:[5,1,1,""],assertListAlmostEqual:[5,1,1,""],test_rwStr_pdb_CdSe:[5,1,1,""]},"diffpy.Structure.tests.TestP_discus.TestP_discus":{test_read_discus_Ni:[5,1,1,""],test_ignored_lines:[5,1,1,""],setUp:[5,1,1,""],test_stepcut_parsing:[5,1,1,""],test_except_other_formats:[5,1,1,""],test_spdiameter_parsing:[5,1,1,""],assertListAlmostEqual:[5,1,1,""]},"diffpy.Structure.tests.TestLoadStructure":{TestLoadStructure:[5,3,1,""]},"diffpy.Structure.applications.anyeye":{convertStructureFile:[0,5,1,""],version:[0,5,1,""],die:[0,5,1,""],watchStructureFile:[0,5,1,""],cleanUp:[0,5,1,""],signalHandler:[0,5,1,""],usage:[0,5,1,""],parseFormula:[0,5,1,""],main:[0,5,1,""],loadStructureFile:[0,5,1,""]},"diffpy.Structure.lattice":{Lattice:[9,3,1,""],sind:[9,5,1,""],cosd:[9,5,1,""]},"diffpy.Structure.expansion.makeEllipsoid":{makeEllipsoid:[10,5,1,""],makeSphere:[10,5,1,""]},"diffpy.Structure.Parsers.P_rawxyz":{getParser:[3,5,1,""],P_rawxyz:[3,3,1,""]},"diffpy.Structure.tests.testutils":{datafile:[5,5,1,""]},"diffpy.Structure.tests.TestP_pdffit.TestP_pdffit":{test_ignored_lines:[5,1,1,""],setUp:[5,1,1,""],test_writeStr_pdffit:[5,1,1,""],test_stepcut_parsing:[5,1,1,""],assertListAlmostEqual:[5,1,1,""],test_spdiameter_parsing:[5,1,1,""],test_read_pdffit_ZnSb:[5,1,1,""],test_read_pdffit_Ni:[5,1,1,""],test_huge_occupancy:[5,1,1,""],test_read_pdffit_bad:[5,1,1,""],test_read_pdffit_Ni_prim123:[5,1,1,""]},"diffpy.Structure.pdffitstructure.PDFFitStructure":{read:[9,1,1,""],readStr:[9,1,1,""]},"diffpy.Structure.structure":{Structure:[9,3,1,""]},"diffpy.Structure.Parsers.P_cif":{getParser:[3,5,1,""],leading_float:[3,5,1,""],P_cif:[3,3,1,""],getSymOp:[3,5,1,""],fixIfWindowsPath:[3,5,1,""]},"diffpy.Structure.utils":{isfloat:[9,5,1,""],atomBareSymbol:[9,5,1,""]},"diffpy.Structure":{SpaceGroups:[9,0,1,""],tests:[5,0,1,""],version:[9,0,1,""],loadStructure:[9,5,1,""],mmlibspacegroups:[9,0,1,""],Parsers:[3,0,1,""],utils:[9,0,1,""],StructureErrors:[9,0,1,""],expansion:[10,0,1,""],pdffitstructure:[9,0,1,""],spacegroupmod:[9,0,1,""],bratomsstructure:[9,0,1,""],applications:[0,0,1,""],SymmetryUtilities:[9,0,1,""],lattice:[9,0,1,""],atom:[9,0,1,""],test:[9,5,1,""],sgtbxspacegroups:[9,0,1,""],structure:[9,0,1,""]},"diffpy.Structure.tests.TestParsers":{TestP_xyz:[5,3,1,""],TestP_pdb:[5,3,1,""],TestP_bratoms:[5,3,1,""],TestP_rawxyz:[5,3,1,""],assertListAlmostEqual:[5,5,1,""],TestP_xcfg:[5,3,1,""]},"diffpy.Structure.Parsers.P_bratoms":{getParser:[3,5,1,""],P_bratoms:[3,3,1,""]},"diffpy.Structure.Parsers.P_bratoms.P_bratoms":{parseLines:[3,1,1,""],plist:[3,2,1,""],toLines:[3,1,1,""]},"diffpy.Structure.structure.Structure":{readStr:[9,1,1,""],Uisoequiv:[9,2,1,""],writeStr:[9,1,1,""],U33:[9,2,1,""],B13:[9,2,1,""],B12:[9,2,1,""],B11:[9,2,1,""],U11:[9,2,1,""],U13:[9,2,1,""],U12:[9,2,1,""],B33:[9,2,1,""],append:[9,1,1,""],angle:[9,1,1,""],title:[9,2,1,""],assignUniqueLabels:[9,1,1,""],Bisoequiv:[9,2,1,""],occupancy:[9,2,1,""],label:[9,2,1,""],write:[9,1,1,""],B23:[9,2,1,""],lattice:[9,2,1,""],placeInLattice:[9,1,1,""],composition:[9,2,1,""],tolist:[9,1,1,""],extend:[9,1,1,""],insert:[9,1,1,""],read:[9,1,1,""],U:[9,2,1,""],U22:[9,2,1,""],U23:[9,2,1,""],getLastAtom:[9,1,1,""],pdffit:[9,2,1,""],distance:[9,1,1,""],xyz_cartn:[9,2,1,""],anisotropy:[9,2,1,""],addNewAtom:[9,1,1,""],B22:[9,2,1,""],element:[9,2,1,""],y:[9,2,1,""],x:[9,2,1,""],z:[9,2,1,""],xyz:[9,2,1,""]},"diffpy.Structure.expansion.makeCuboctahedron":{makeCuboctahedron:[10,5,1,""]},"diffpy.Structure.tests.TestP_discus":{TestP_discus:[5,3,1,""],assertListAlmostEqual:[5,5,1,""]},"diffpy.Structure.lattice.Lattice":{gamma:[9,2,1,""],dist:[9,1,1,""],cb:[9,2,1,""],ca:[9,2,1,""],sgr:[9,2,1,""],cg:[9,2,1,""],cbr:[9,2,1,""],ar:[9,2,1,""],sar:[9,2,1,""],cr:[9,2,1,""],abcABG:[9,1,1,""],cartesian:[9,1,1,""],angle:[9,1,1,""],fractional:[9,1,1,""],setLatPar:[9,1,1,""],setLatBase:[9,1,1,""],betar:[9,2,1,""],sbr:[9,2,1,""],a:[9,2,1,""],gammar:[9,2,1,""],unitvolume:[9,2,1,""],volume:[9,2,1,""],beta:[9,2,1,""],br:[9,2,1,""],alpha:[9,2,1,""],cgr:[9,2,1,""],alphar:[9,2,1,""],c:[9,2,1,""],b:[9,2,1,""],reciprocal:[9,1,1,""],car:[9,2,1,""],norm:[9,1,1,""],sb:[9,2,1,""],sa:[9,2,1,""],sg:[9,2,1,""],dot:[9,1,1,""]},"diffpy.Structure.Parsers.P_discus":{P_discus:[3,3,1,""],getParser:[3,5,1,""]},"diffpy.Structure.atom.Atom":{msdCart:[9,1,1,""],U33:[9,2,1,""],B13:[9,2,1,""],B11:[9,2,1,""],U11:[9,2,1,""],U13:[9,2,1,""],B33:[9,2,1,""],x:[9,2,1,""],U12:[9,2,1,""],Bisoequiv:[9,2,1,""],occupancy:[9,2,1,""],Uisoequiv:[9,2,1,""],lattice:[9,2,1,""],label:[9,2,1,""],U:[9,2,1,""],msdLat:[9,1,1,""],U22:[9,2,1,""],U23:[9,2,1,""],xyz_cartn:[9,2,1,""],anisotropy:[9,2,1,""],B23:[9,2,1,""],B22:[9,2,1,""],tol_anisotropy:[9,2,1,""],element:[9,2,1,""],y:[9,2,1,""],B12:[9,2,1,""],z:[9,2,1,""]}},terms:{anyey:[0,2,7,9],all:[1,9,6,3,5],code:[1,6,8],dist:[9,10],edg:9,represent:[5,9],skip:5,stru_cds:5,per:9,sratio:9,mno:10,follow:[1,9,6,3,8],testsupercel:[5,2,7,9],sgtbxspacegroup:[1,2,9,4,7],positionformula:[5,9],row:9,privat:9,typeerror:10,depend:[1,8],properit:9,doe:3,posparvalu:9,program:[0,1,9,6],parametr:9,vec:9,spacegrouplist:9,aris:[1,6],u2213:9,norm:9,merchant:[1,6],datafil:5,sourc:[1,6,3,10],string:[5,9,3],ration:9,fals:9,uisoequiv:[5,9],util:[1,2,4,6,7,9,10],symmetryconstraint:[5,9],volum:9,formula:[0,5,9,3],exact:9,tri:9,getlastatom:9,level:5,p_bratom:[2,3,7,9],cctbx:9,unsupport:5,list:[0,1,3,5,6,9],metadata:9,iter:9,factori:[5,3],item:[9,3],setitem:9,vector:[5,9],cosin:9,pbc:3,tostr:[5,3],small:9,pospar:9,anisotropi:[5,9],"__copy__":5,leonardo:9,round:9,node7:9,pleas:[1,6,8],atombaresymbol:9,impli:[1,6],cosd:9,cfg:3,edu:[1,9,6],b23:9,sync:9,sign:9,zero:9,beta:[5,9,3],pass:9,download:[1,8],ter:3,append:[5,9],xyzsymbol:9,index:[1,9,3,10],pdffitstructur:[1,2,3,4,7,9],brief:0,overload:[9,3],cell:[5,9,10],stepcut:5,makecuboctahedron:[2,7,10,9],version:[0,1,2,4,7,9],u33:9,"new":[1,3,6,8,9,10],normbas:9,method:[5,9,3,10],whatev:9,bratomsstructur:[1,2,9,4,7],deriv:[1,9,6,3],urlopen:3,test_readonly_properti:5,gener:[1,9,6,3,5],test_repr:5,bisoequiv:[5,9],test_ignored_lin:5,"_symmetry_space_group_name_hal":3,met:[1,6],"_position2tupl":5,modif:[1,6],testp_discu:[5,2,7,9],ubuntu:[1,8],path:[1,3,8],along:[9,10],b33:9,delta2:9,valu:[9,3],procur:[1,6],convert:[0,9,3],msdcart:9,uparamet:9,shift:9,test_writestr_pdffit:5,prior:[1,6],atom:[1,2,3,4,5,7,9,10],mtrix2:3,mtrix3:3,mtrix1:3,expressli:[1,6],chang:[0,9],crystal_system:9,test_cartesian:5,znsb:5,imposs:9,"__getslice__":5,extra:9,modul:[0,1,2,3,4,5,7,9,10],sgr:9,submodul:9,testloadstructur:[5,2,7,9],uisotropi:9,unix:[1,8],api:[1,2,6],expandeduij:9,org:[1,6,3,8],symmetryerror:9,total:9,unit:[5,9,3],wwpdb:3,kei:[9,3],from:[0,1,3,5,6,9,10],test_cdse_supercel:5,ca2:9,univers:[1,6],iter_equivalent_posit:9,test_pruneformuladictionari:5,deviat:9,call:9,type:[9,3],setlatpar:9,more:[0,1,9,6],scale1:3,scale2:3,scale3:3,remark:3,relat:[1,9,6],origx1:3,aptitud:[1,8],origx3:3,origx2:3,trail:[9,3],flag:9,templat:10,particular:[1,9,6,3,8],known:3,"_anisotropi":9,cdse:5,must:[1,9,6],none:[0,5,9,3,10],expdta:3,car:9,setup:[1,8,5],constraint:[1,9,6],uniqu:[9,3],xyz1:9,xyz0:9,idx2usymbol:9,remain:[9,3],graphit:5,transtru:[0,2,7,9],caveat:3,waller:9,under:[1,8],unchang:9,purpos:[1,6],root:[1,8],p_cif:[5,2,3,7,9],overrid:[0,3],nearest:[9,10],"_space_group_name_hal":3,give:3,process:9,slightli:[1,8],sudo:[1,8],share:9,indic:[1,9,6],choke:3,high:5,unzip:[1,8],proprietari:[1,6],plist:3,occup:[5,9],huge:5,end:[9,3],testresult:[5,9],siguij:3,anoth:10,endmdl:3,write:[5,9],how:[1,8],obslt:3,sever:[1,9,6],test_write_and_read:5,sprsde:3,test_badfil:5,simpl:[1,9,6,3,10],chri:[1,6],updat:[1,9,8],map:[9,3],test__finduparamet:5,mmlibspacegroup:[1,2,9,4,7],recogn:3,gammar:9,pruneformuladictionari:[5,9],u23:9,rmax:9,test_latpar_properti:5,test_insert:5,reflect:9,befor:9,mac:[1,8],test_xyz_cartn:5,baresymbol:9,mai:[1,9,6,8],multipl:9,pdffit:[5,9,3],data:[1,9,6,3],test_read_bratoms_bad:5,"short":9,xyz_cartn:[5,9],third:9,condit:[1,9,6],atomey:[0,5,3],explicit:[1,8],correspond:[9,3,10],stru:[5,3],element:[0,5,9,3],caus:[1,6],inform:[1,9,6],maintain:[1,6],environ:[1,8],spheric:10,allow:9,pymmlib:9,egg:5,order:[0,3],oper:[1,9,6,8],test_angl:5,equij:9,composit:9,rotat:[5,9],softwar:[1,9,6,8],stru_ni:5,getspacegroup:9,equatori:10,trade:[1,6],cif_sgnam:3,thermal:[1,9,6],positionformulasprun:9,comma:0,nitrogen:9,diffpi:[0,1,2,3,4,5,6,7,8,9,10],test_uformula_g186c_eqxyz:5,test_write_xyz:5,paramet:[9,10],style:[0,9,3],group:[1,9,6,3,10],sgtbx:9,fit:[1,6],fix:3,num_sym_equiv:9,tort:[1,6],window:3,isotrop:9,isspacegrouplatpar:[5,9],waler:9,parseformula:0,main:0,"_finduparamet":5,non:[1,3,8],good:[1,6],"return":[0,5,9,3,10],thei:3,python:[1,9,8,5],auto:[0,9],interrupt:[1,6],test_read_xyz:5,anis:3,nor:[1,6],introduct:[1,6],testsymmetryconstraint:5,modr:3,"__version__":9,name:[1,9,6,3,8],test_isconstantformula:5,separ:0,easili:[1,8],februari:1,exampl:[1,9,6,3],test_read_pdffit_znsb:5,each:[1,9,6],found:9,"_uisoequiv":9,poseqn:9,juha:[1,6],mean:9,expans:[1,2,3,5,6,7,9,10],tolist:[5,9],test__set_lattic:5,blank:9,product:[1,9,6],runtest:5,aidx:3,"static":3,expandedpo:9,loadstructur:[5,9],die:0,test_label:5,test_cif:5,extract:3,orient:9,special:[1,6],out:[0,1,6,10],variabl:[1,9,8],isconstantformula:[5,9],matrix:9,test___copy__:5,profit:[1,6],equivel:9,bad:5,your:[1,8],content:[3,10],laid:[1,6],adjust:[1,8],test__get_lattic:5,suitabl:[1,6],translat:[0,9],lattic:[1,2,4,5,7,9,10],print:0,truste:[1,6],spdiamet:5,matric:9,sbr:9,model:3,parsefil:[5,3],test_setlatbas:5,domest:[1,6],manipul:[1,6,10],differ:[0,1,9,8],standard:[0,1,3,5,8,9],"__setitem__":5,base:[5,9,3],theori:[1,6],dictionari:[9,3],aid2:9,"_space_group_name_h":3,aid0:9,aid1:9,expandasymmetricunit:[9,3],refer:[9,3],alphar:9,test_bij:5,hydbnd:3,structurepars:[2,3,7,9],ion:9,angl:[1,9,6,5],cdsebulkpdffitfil:5,tvect:3,test_aslist:5,success:3,local:3,turn:3,length:9,test___mul__:5,place:[5,9],tol_anisotropi:9,u22:9,p_xcfg:[2,3,7,9],retain:[1,6],test_assignuniquelabel:5,testp_rawxyz:5,top:3,unitvolum:9,first:[0,9,3],origin:[9,3,10],endors:[1,6],atyp:9,supercel:[5,10],tei:5,arrai:[1,9,8],ncell:9,number:[9,3],test___getslice__:5,instruct:[1,8],alreadi:9,messag:0,symmetri:[1,9,6,3,5],findcent:10,open:[0,1,6],primari:10,exit_statu:0,given:[9,3],cartesian:[5,9,3],sheet:3,convent:3,script:[0,1,8],teardown:5,associ:3,test_rwstr_xcfg_cds:5,system:[1,9,8],wrapper:5,spacegroupmod:[1,2,9,4,7],citi:[1,6],master:3,termin:3,conveni:5,store:9,assign:[5,9],asymmetric_unit:3,option:[0,1,9,3,8],test_ni_supercel:5,test_xyz:5,copi:9,setuptool:[1,8],isotop:9,specifi:[0,9],b22:9,argon:9,part:[1,9,6],pars:[0,5,3],structureerror:[1,2,9,4,7],keywd:3,structureformaterror:[9,3],stackfram:0,holder:[1,6],than:0,center:10,std:3,prune:9,provid:[1,9,6,3,8],remov:9,dans:[1,6],second:[9,3],structur:[0,1,2,3,4,5,6,7,8,9,10],charact:[9,3],project:[1,6],positiondiffer:9,posit:[1,9,6,5],num_primitive_sym_equiv:9,eqdict:9,licl:5,cryst1:3,py2:5,arg:9,test_discu:5,ani:[1,9,6,3,8],rcut:9,direct:[1,9,6],packag:[0,1,2,3,4,5,6,7,8,9,10],width:3,expandposit:[5,9],have:[1,8],close:9,need:[1,3,8],sar:9,"null":9,test_read_xyz_bad:5,test_dist:5,dbref:3,squar:9,lib:5,output:[0,9,3],format30:3,test_read_plainxyz_bad:5,self:[5,9,3],cispep:3,test_read_rawxyz:5,isspacegroupidentifi:9,note:[1,9,8],also:[1,9,6],test_setlatpar:5,build:[5,3],which:[0,1,9,3,8],hetnam:3,uparsymbol:[5,9],tool:[1,8],uformulasprun:9,even:[1,6,8],infmt:0,jrnl:3,normal:[1,3,8,5],bruce:[5,9,3],tolin:3,object:[5,9,3],hetsyn:3,makespher:10,coordiant:9,sb2896:[1,6],pair:9,alpha:[5,9,3],is_ident:9,"class":[5,9,3,10],charg:9,test_huge_occup:5,url:3,doc:9,test_spdiameter_pars:5,nearestsiteindex:9,inde:5,leading_float:[5,3],error:9,determin:9,constrain:9,axi:10,boundari:[9,3],dot:9,bubbleraft:5,parselin:[5,3],show:0,strufil:0,text:3,signum:0,p_rawxyz:[2,3,7,9],radiu:10,syntax:3,"3x3":9,permiss:[1,6],"_usync":9,corner:3,dimension:9,find:[5,10],help:[0,1,8],absolut:9,onli:[0,1,3,5,8,9],indexerror:9,copyright:[1,6],materi:[1,9,6],releas:[1,8,5],written:[1,6,3],should:[1,3,8],structurefil:0,upar:9,busi:[1,6],helix:3,xcfg:[0,5,3],factor:[1,9,6],"__call__":5,recbas:9,testdata:5,over:9,smbl:9,u110:9,variou:[9,3],get:9,michigan:[1,6],express:[1,6],watch:0,new_lattic:9,secondari:10,uspac:9,setlatbas:9,"import":[1,9,6],liabl:[1,6],recalcul:9,test_read_pdffit_bad:5,requir:[1,8],arginin:5,test_parsefil:5,possibl:[1,9,6,3],test_i:5,"2b0":[1,5],"__date__":9,loadstructurefil:0,test_u:5,cluster_boundari:3,discu:[5,9,3],contain:[9,3,10],test_read_plainxyz:5,anisotrop:9,test_rwstr_pdb_cds:5,where:[9,3],test_z:5,view:0,krypton:9,set:[9,3,10],setslic:9,p_xyz:[2,3,7,9],methodnam:5,see:[1,9,6,8],bare:9,sgoffset:9,testcas:5,graphiteciffil:5,"_get_lattic":5,hetatm:3,testp_pdffit:[5,2,7,9],b12:9,subject:[1,6],uparvalu:[5,9],detect:3,tensor:9,crystal:[1,6],pavol:[1,6],test_getsymop:5,test_append:5,label:[5,9,3],symop_list:9,state:[1,6],smallest:9,test_read_pdffit_ni_prim123:5,between:9,chemic:[0,9],neither:[1,6,3],test_writestr_cif:5,email:[1,6],attribut:[9,3],"_symmetry_space_group_name_h":3,extend:[5,9,3],numer:[1,8],test_positionformula:5,screen:0,ssbond:3,testlattic:[5,2,7,9],"_atom_site_label":3,york:[1,6],p_discu:[5,2,3,7,9],toler:9,testp_cif:[5,2,7,9],getsymop:[5,3],valid:3,disclaim:[1,6],coremap:9,last:[1,9],plugin:3,makeellipsoid:[2,7,10,9],howev:[1,6],labelindex:3,incident:[1,6],null_spac:9,foreign:[1,6],sltbrg:3,instanc:[9,3,10],teststructur:[5,2,7,9],goodciffil:5,bratom:[5,9],pdb:[0,5,9,3],load:[0,5,9,3],concret:3,deby:9,can:[1,9,8,5],unittest:[5,9],test_parselin:5,period:[9,3],suffici:3,except:[5,9,3],header:[5,3],exemplari:[1,6],test_uisoequiv:5,test_pars:5,ioerror:3,respect:[1,9,8],assum:9,sind:9,test_leading_float:5,damag:[1,6],liabil:[1,6],becom:9,test_extend:5,divid:10,billing:[1,6],locat:[1,8],assertlistalmostequ:5,short_nam:9,numpi:[1,9,8],invers:9,empti:9,alt_nam:9,compon:9,viewer:0,secret:[1,6],basic:3,u11:9,u13:9,u12:9,valueerror:[9,10],check_group_nam:9,uij:[5,9],cutoff:9,test_x:5,search:[1,8],argument:[5,9,10],coordin:[1,3,5,6,9,10],p_pdffit:[5,2,3,7,9],workspac:5,present:[1,8],convers:[5,3],"case":5,ident:9,look:3,readstr:9,raw:[5,3],plain:5,servic:[1,6],properti:[5,9],iucr:3,"__iadd__":5,defin:[0,9,3],calcul:[1,9,6,5],m_alt:3,betar:9,abov:[1,6],visit:[1,6],"__sub__":5,na4cl4:0,usymbol:9,p_pdb:[2,3,7,9],understand:[0,3],gamma:[5,9,3],rawxyz:[5,3],helper:5,applic:[0,2,7,9],formul:3,metric:9,site:[5,9,3],equal:[9,10],cluster:3,kwarg:9,contract:[1,6],testroutin:5,sgid:9,"__init__":5,around:3,testp_bratom:5,develop:[1,6],"__getitem__":5,inputformat:[0,3],author:3,perform:[1,9,10,8],parti:[1,6],make:10,format:[0,1,3,5,6,9],same:[0,9],check:[1,9,8,5],member:[9,3],binari:[1,6],html:[9,3],sgtbxspacegrouplist:9,advis:[1,6],coreuij:9,document:[1,6,3],test_uij:5,equalposit:9,test_writestr_xyz:5,outputformat:[0,3],columbia:[1,6],ni_prim:5,nullspac:9,pbte:5,test_anisotropi:5,nest:9,permit:[1,6],pdb_name:9,effect:3,sym:9,capabl:3,phy:9,rais:[9,3,10],temporari:0,user:[1,8],"__add__":5,test_stepcut_pars:5,isotropyerror:9,implement:3,expand:[9,10],subpackag:[1,2,9,4,7],convertstructurefil:0,off:9,equival:[9,3],format23:3,orderofrecord:3,well:[1,8],inherit:9,magnitud:9,without:[1,6,8],test_expandposit:5,thi:[0,1,3,5,6,8,9,10],fail:[9,3],writestr:9,usual:[1,8],distanc:[1,9,6,10,5],identifi:9,execut:[0,5,9],pycifrw:3,"__gitsha__":9,test___add__:5,test_placeinlattic:5,obtain:[9,3],shape:10,eqindex:[5,9],test_occup:5,test_uformula:5,supercell_mod:[2,7,10,9],test_read_discus_ni:5,web:[1,9,6,8],cut:10,dxyz:9,point:9,symop:[9,3],add:9,other:[0,1,6,8,5],nanoparticl:10,board:[1,6],input:[0,9,3],save:[0,9],ravel:[5,9,3],testsymmetryutil:[5,2,7,9],b13:9,test___iadd__:5,delta1:9,abcabg:9,bij:5,sine:9,test_el:5,read:[0,5,9,3],test_except:5,molecul:3,term:[1,6],parser_index:3,getpars:3,insert:[5,9],signedratstr:9,test___isub__:5,testp_xyz:5,python2:5,meaning:9,loss:[1,6],like:[1,8],specif:[1,6,3],filenam:[0,5,9,3],temperatur:9,test___setitem__:5,"true":9,"boolean":9,singl:9,spacegroup:[1,2,3,4,7,9],btou:3,stdbase:9,p_auto:[2,3,7,9],page:[1,6],two:9,ucompon:9,www:[1,6,3,8],right:[1,9,6],cryst1lin:3,generatorsit:[5,9],regist:3,acknowledg:[1,6],fixifwindowspath:3,linux:[1,8,5],testgeneratorsit:5,neglig:[1,6],understood:0,outfmt:0,"export":[1,6],integ:[9,10],spheroid:10,instal:[1,8],home:[5,3],indirect:[1,6],badciffil:5,librari:[1,6,8],distribut:[1,6,8],teiciffil:5,scale:9,learn:[1,6],lead:9,closest:10,avoid:[9,3],shall:[1,6],definit:[1,9,6,3],subclass:[9,3],multipli:10,substitut:[1,6],mathemat:[1,8],exit:0,prof:[1,6],duplic:9,notabl:9,either:[1,9,6],core:9,run:[5,2,3,7,9],revdat:3,inspect:9,usag:[0,1,3,8],agreement:[1,6],corepo:9,signalhandl:0,fileformat:0,promot:[1,6],repositori:[1,8],offset:9,test_uparsymbol:5,cgr:9,comparison:5,about:[1,6],patent:[1,6],"__imul__":5,idx:[9,3],testsuit:5,column:[9,3],freedom:[1,6],"__setslice__":5,eqxyz:9,http:[1,9,6,3,8],baserot:9,manag:[1,8],degre:9,"__mul__":5,constructor:9,seqr:3,approxim:10,bond:9,watchstructurefil:0,shapeutil:[2,7,10,9],block:3,testp_xcfg:5,pparamet:9,routin:[5,3],assignuniquelabel:[5,9],pythonpath:[1,8],xyz:[5,9,3],"float":[9,3],washington:9,easy_instal:[1,8],automat:3,three:9,warranti:[1,6],cuboctahedron:10,sigatm:3,ciffil:3,testp_pdb:5,strip:[9,3],contributor:[1,6],reproduc:[1,6],storag:[1,9,6],iter_symop:9,het:3,wai:[1,6],test___sub__:5,test___getitem__:5,support:0,test_isspacegrouplatpar:5,fast:[1,8],custom:9,avail:[1,9,6,3],lost:9,test_eqindex:5,test___setslice__:5,includ:[1,6],fraction:[1,9,6,10],suit:5,forward:9,test___imul__:5,strict:[1,6],record:[5,3],"function":[9,10],"__isub__":5,test___call__:5,test_position2tupl:5,"_set_lattic":5,form:[1,9,6],tupl:[0,9],test_except_other_format:5,fmt:9,link:3,measur:9,newer:[1,8],farrow:[1,6],line:[0,5,3],eau:3,seqadv:3,info:[0,1,9,8],cif:[5,3],consist:9,displac:9,whether:[1,6],placeinlattic:[5,9],atomlin:3,writeabl:[1,8],displai:0,isfloat:9,pyobjcryst:[1,6],work:[1,8],independ:9,below:[1,6],limit:[1,6],redistribut:[1,6],otherwis:[1,9,6,3],adequaci:[1,6],recnormbas:9,point_group_nam:9,parser_index_mod:[2,3,7,9],testutil:[5,2,7,9],cdse_bulk:5,reciproc:9,constant:9,symmetryutil:[1,2,3,4,5,7,9],creat:[3,10],descript:9,parser:[5,2,3,7,9],inp:9,test_writestr_rawxyz:5,cbr:9,titlelin:3,exist:[3,10],file:[0,1,3,5,6,8,9],face:10,test_corepo:5,test_read_xcfg:5,testpars:[5,2,7,9],test_uparvalu:5,validrecord:3,titl:[1,9,6,3],when:[5,9,3,10],invalid:[5,9,10],event:[1,6],"default":[0,1,9,10,8],cleanup:0,bool:9,msdlat:9,b11:9,test:[5,2,7,9],test_read_rawxyz_bad:5,asymmetr:[5,9,3],test_read_pdb_arginin:5,polar:10,conect:3,extern:[1,8],sequenc:[9,10],symbol:9,consequenti:[1,6],latticeerror:9,uformula:[5,9],notic:[1,6],compnd:3,test_read_pdffit_ni:5,test___init__:5,test_bisoequiv:5,spcgr:9,simon:[1,6],invari:9,longer:9,directori:[1,6,8],xyang:5,space:[1,9,6,3],addnewatom:9,infring:[1,6],na1:9,ignor:[5,3],dcell:9,ueqn:9,test_xcfg:5,mmlib:9,posparsymbol:9,"1x2x3":5},objtypes:{"0":"py:module","1":"py:method","2":"py:attribute","3":"py:class","4":"py:exception","5":"py:function"},titles:["applications Package","diffpy.Structure documentation","diffpy API","Parsers Package",".","tests Package","Introduction","diffpy Package","Installation","Structure Package","expansion Package"],objnames:{"0":["py","module","Python module"],"1":["py","method","Python method"],"2":["py","attribute","Python attribute"],"3":["py","class","Python class"],"4":["py","exception","Python exception"],"5":["py","function","Python function"]},filenames:["api/diffpy.Structure.applications","index","api/api","api/diffpy.Structure.Parsers","api/modules","api/diffpy.Structure.tests","intro","api/diffpy","install","api/diffpy.Structure","api/diffpy.Structure.expansion"]}) \ No newline at end of file From fd1932f20751f9b68d831f93b9a323f0c5e1efc3 Mon Sep 17 00:00:00 2001 From: XiaohaoYang Date: Sun, 16 Feb 2014 18:20:53 -0500 Subject: [PATCH 06/41] Synced with the source at fa7c47a9faa3260bba6d3cdd284958115c468fa0. --- .buildinfo | 2 +- _sources/index.txt | 32 ++++- _sources/intro.txt | 31 ----- api/api.html | 10 +- api/diffpy.Structure.Parsers.html | 10 +- api/diffpy.Structure.applications.html | 10 +- api/diffpy.Structure.expansion.html | 10 +- api/diffpy.Structure.html | 10 +- api/diffpy.Structure.tests.html | 20 +-- api/diffpy.html | 10 +- api/modules.html | 10 +- genindex.html | 10 +- index.html | 43 +++--- install.html | 10 +- intro.html | 174 ------------------------- objects.inv | Bin 3938 -> 3938 bytes py-modindex.html | 10 +- search.html | 10 +- searchindex.js | 2 +- 19 files changed, 121 insertions(+), 293 deletions(-) delete mode 100644 _sources/intro.txt delete mode 100644 intro.html diff --git a/.buildinfo b/.buildinfo index 939003b1..b4e1826b 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: faca0229fe1368786a2b55fbecea821b +config: 66fbdc5068eb70760e7550c5ec7360f0 tags: fbb0d17656682115ca4d033fb2f83ba1 diff --git a/_sources/index.txt b/_sources/index.txt index 33cf6880..29c722bf 100644 --- a/_sources/index.txt +++ b/_sources/index.txt @@ -13,9 +13,37 @@ Last updated |today|. diffpy.Structure - simple storage and manipulation of crystal structures -.. include:: intro.rst +The diffpy.Structure package provides simple crystal structure operation +such as calculations of distances or angles from fractional coordinates. +It also provides imports and exports in several structure file formats +and space group definitions and utilities for symmetry expansion and +generation of symmetry constraints on positions and thermal factors. + +To learn more about diffpy.Structure library, see the examples directory +included in this distribution or the API documentation + +=================== +Disclaimer +=================== + +.. include:: ../../../LICENSE.txt + +================ +Acknowledgments +================ + +Developers +----------- + +diffpy.Structure is developed and maintained by + +.. literalinclude:: ../../../AUTHORS.txt + +====================================== +Installation +====================================== + .. include:: install.rst - API and Index ================== diff --git a/_sources/intro.txt b/_sources/intro.txt deleted file mode 100644 index 395a0d45..00000000 --- a/_sources/intro.txt +++ /dev/null @@ -1,31 +0,0 @@ -Introduction -======================================================================== - -diffpy.Structure - simple storage and manipulation of crystal structures - -The diffpy.Structure package provides simple crystal structure operation -such as calculations of distances or angles from fractional coordinates. -It also provides imports and exports in several structure file formats -and space group definitions and utilities for symmetry expansion and -generation of symmetry constraints on positions and thermal factors. - -To learn more about diffpy.Structure library, see the examples directory -included in this distribution or the API documentation - -=================== -Disclaimer -=================== - -.. include:: ../../../LICENSE.txt - -================ -Acknowledgments -================ - -Developers ------------ - -PyObjCryst is developed and maintained by - -.. literalinclude:: ../../../AUTHORS.txt - diff --git a/api/api.html b/api/api.html index 4d7988b6..96fc50b5 100644 --- a/api/api.html +++ b/api/api.html @@ -8,7 +8,7 @@ - diffpy API — diffpy.Structure 1.2b0-15 documentation + diffpy API — diffpy.Structure 1.2b0-16 documentation @@ -16,7 +16,7 @@ - + @@ -156,7 +156,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • @@ -638,7 +638,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.Structure.applications.html b/api/diffpy.Structure.applications.html index 9033f98c..3811f08c 100644 --- a/api/diffpy.Structure.applications.html +++ b/api/diffpy.Structure.applications.html @@ -8,7 +8,7 @@ - applications Package — diffpy.Structure 1.2b0-15 documentation + applications Package — diffpy.Structure 1.2b0-16 documentation @@ -16,7 +16,7 @@ - + @@ -47,7 +47,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • Structure Package »
  • @@ -271,7 +271,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.Structure.expansion.html b/api/diffpy.Structure.expansion.html index 172a9688..4672895f 100644 --- a/api/diffpy.Structure.expansion.html +++ b/api/diffpy.Structure.expansion.html @@ -8,7 +8,7 @@ - expansion Package — diffpy.Structure 1.2b0-15 documentation + expansion Package — diffpy.Structure 1.2b0-16 documentation @@ -16,7 +16,7 @@ - + @@ -47,7 +47,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • Structure Package »
  • @@ -205,7 +205,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.Structure.html b/api/diffpy.Structure.html index 5196aa69..8860bb94 100644 --- a/api/diffpy.Structure.html +++ b/api/diffpy.Structure.html @@ -8,7 +8,7 @@ - Structure Package — diffpy.Structure 1.2b0-15 documentation + Structure Package — diffpy.Structure 1.2b0-16 documentation @@ -16,7 +16,7 @@ - + @@ -46,7 +46,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • @@ -1559,7 +1559,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • @@ -174,22 +174,22 @@

    tests
    -badciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/LiCl-bad.cif'
    +badciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/LiCl-bad.cif'
    -cdsebulkpdffitfile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/CdSe_bulk.stru'
    +cdsebulkpdffitfile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/CdSe_bulk.stru'
    -goodciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/PbTe.cif'
    +goodciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/PbTe.cif'
    -graphiteciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/graphite.cif'
    +graphiteciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/graphite.cif'
    @@ -209,7 +209,7 @@

    tests
    -teiciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/TeI.cif'
    +teiciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/TeI.cif'

    @@ -1117,7 +1117,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.html b/api/diffpy.html index 2f6c2daf..cd1336ae 100644 --- a/api/diffpy.html +++ b/api/diffpy.html @@ -8,7 +8,7 @@ - diffpy Package — diffpy.Structure 1.2b0-15 documentation + diffpy Package — diffpy.Structure 1.2b0-16 documentation @@ -16,7 +16,7 @@ - + @@ -169,7 +169,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • @@ -53,12 +53,9 @@

    Navigation

    diffpy.Structure documentation

    -

    Software version 1.2b0-15.

    +

    Software version 1.2b0-16.

    Last updated February 16, 2014.

    diffpy.Structure - simple storage and manipulation of crystal structures

    -
    -

    Introduction

    -

    diffpy.Structure - simple storage and manipulation of crystal structures

    The diffpy.Structure package provides simple crystal structure operation such as calculations of distances or angles from fractional coordinates. It also provides imports and exports in several structure file formats @@ -67,7 +64,7 @@

    Introduction -

    Disclaimer

    +

    Disclaimer

    This program is part of the DiffPy and DANSE open-source projects and is available subject to the conditions and terms laid out below.

    Copyright 2006-2007, Board of Trustees of Michigan State University, @@ -110,10 +107,10 @@

    Disclaimer -

    Acknowledgments

    +

    Acknowledgments

    -

    Developers

    -

    PyObjCryst is developed and maintained by

    +

    Developers

    +

    diffpy.Structure is developed and maintained by

    Pavol Juhas
     Chris Farrow
     Simon J.L. Billinge
    @@ -121,9 +118,10 @@ 

    Developers

    Installation

    +
    +

    Requirements

    The diffpy.Structure requires Python 2.5 and the following external software:

    setuptools – software distribution tools for Python @@ -141,6 +139,9 @@

    Installation +

    Installation

    To install the diffpy.Structure package:

    python setup.py install
    @@ -157,9 +158,8 @@

    Installationhttp://www.diffpy.org/packages/ for any newer releases of diffpy.Structure and if present, it updates the installation.

    -

    -

    API and Index

    +

    API and Index

    +
    +

    @@ -197,16 +199,19 @@

    API and IndexTable Of Contents

    @@ -335,7 +335,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • @@ -95,7 +95,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-15 documentation »
  • +
  • diffpy.Structure 1.2b0-16 documentation »
  • @@ -638,7 +638,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.Structure.applications.html b/api/diffpy.Structure.applications.html index 3811f08c..3785e71d 100644 --- a/api/diffpy.Structure.applications.html +++ b/api/diffpy.Structure.applications.html @@ -8,7 +8,7 @@ - applications Package — diffpy.Structure 1.2b0-16 documentation + applications Package — diffpy.Structure 1.2b0-18 documentation @@ -16,7 +16,7 @@ - + @@ -47,7 +47,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • Structure Package »
  • @@ -271,7 +271,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.Structure.expansion.html b/api/diffpy.Structure.expansion.html index 4672895f..ec9a1c85 100644 --- a/api/diffpy.Structure.expansion.html +++ b/api/diffpy.Structure.expansion.html @@ -8,7 +8,7 @@ - expansion Package — diffpy.Structure 1.2b0-16 documentation + expansion Package — diffpy.Structure 1.2b0-18 documentation @@ -16,7 +16,7 @@ - + - @@ -41,13 +40,10 @@

    Navigation

  • modules |
  • -
  • - next |
  • previous |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • Structure Package »
  • @@ -165,9 +161,6 @@

    Table Of Contents

    Previous topic

    applications Package

    -

    Next topic

    -

    tests Package

    This Page

  • modules |
  • -
  • - next |
  • previous |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.Structure.html b/api/diffpy.Structure.html index 8860bb94..39a79d4f 100644 --- a/api/diffpy.Structure.html +++ b/api/diffpy.Structure.html @@ -8,7 +8,7 @@ - Structure Package — diffpy.Structure 1.2b0-16 documentation + Structure Package — diffpy.Structure 1.2b0-18 documentation @@ -16,7 +16,7 @@ - + @@ -46,7 +46,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • @@ -1466,21 +1466,6 @@

    Subpackagessupercell_mod Module -
  • tests Package -
  • @@ -1559,7 +1544,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • @@ -174,22 +174,22 @@

    tests
    -badciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/LiCl-bad.cif'
    +badciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/LiCl-bad.cif'
    -cdsebulkpdffitfile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/CdSe_bulk.stru'
    +cdsebulkpdffitfile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/CdSe_bulk.stru'
    -goodciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/PbTe.cif'
    +goodciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/PbTe.cif'
    -graphiteciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/graphite.cif'
    +graphiteciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/graphite.cif'
    @@ -209,7 +209,7 @@

    tests
    -teiciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0_16-py2.7.egg/diffpy/Structure/tests/testdata/TeI.cif'
    +teiciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/TeI.cif'

    @@ -1117,7 +1117,7 @@

    Navigation

  • previous |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • Structure Package »
  • diff --git a/api/diffpy.html b/api/diffpy.html index cd1336ae..fad5acc5 100644 --- a/api/diffpy.html +++ b/api/diffpy.html @@ -8,7 +8,7 @@ - diffpy Package — diffpy.Structure 1.2b0-16 documentation + diffpy Package — diffpy.Structure 1.2b0-18 documentation @@ -16,7 +16,7 @@ - + @@ -98,21 +98,6 @@

    Subpackagessupercell_mod Module -
  • tests Package -
  • @@ -169,7 +154,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • -
    badciffile (diffpy.Structure.tests.TestP_cif.TestP_cif attribute) -
    - -
    beta (diffpy.Structure.lattice.Lattice attribute)
    @@ -325,10 +279,6 @@

    C

    -
    cdsebulkpdffitfile (diffpy.Structure.tests.TestP_cif.TestP_cif attribute) -
    - -
    cg (diffpy.Structure.lattice.Lattice attribute)
    @@ -377,10 +327,6 @@

    D

    + - + -
    -
    datafile() (in module diffpy.Structure.tests.testutils) -
    - -
    die() (in module diffpy.Structure.applications.anyeye)
    @@ -456,6 +402,8 @@

    D

    diffpy.Structure.Parsers.P_discus (module)
    +
    diffpy.Structure.Parsers.P_pdb (module)
    @@ -480,8 +428,6 @@

    D

    diffpy.Structure.Parsers.parser_index_mod (module)
    -
    diffpy.Structure.Parsers.structureparser (module)
    @@ -515,54 +461,6 @@

    D

    -
    diffpy.Structure.tests (module) -
    - - -
    diffpy.Structure.tests.run (module) -
    - - -
    diffpy.Structure.tests.TestLattice (module) -
    - - -
    diffpy.Structure.tests.TestLoadStructure (module) -
    - - -
    diffpy.Structure.tests.TestP_cif (module) -
    - - -
    diffpy.Structure.tests.TestP_discus (module) -
    - - -
    diffpy.Structure.tests.TestP_pdffit (module) -
    - - -
    diffpy.Structure.tests.TestParsers (module) -
    - - -
    diffpy.Structure.tests.TestStructure (module) -
    - - -
    diffpy.Structure.tests.TestSuperCell (module) -
    - - -
    diffpy.Structure.tests.TestSymmetryUtilities (module) -
    - - -
    diffpy.Structure.tests.testutils (module) -
    - -
    diffpy.Structure.utils (module)
    @@ -655,13 +553,11 @@

    G

    -
    generators (diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite attribute) -
    - -
    getLastAtom() (diffpy.Structure.structure.Structure method)
    +
    getParser() (in module diffpy.Structure.Parsers)
    @@ -704,8 +600,6 @@

    G

    -
    GetSpaceGroup() (in module diffpy.Structure.SpaceGroups)
    @@ -714,14 +608,6 @@

    G

    getSymOp() (in module diffpy.Structure.Parsers.P_cif)
    - -
    goodciffile (diffpy.Structure.tests.TestP_cif.TestP_cif attribute) -
    - - -
    graphiteciffile (diffpy.Structure.tests.TestP_cif.TestP_cif attribute) -
    -
    @@ -984,6 +870,8 @@

    P

    parseFormula() (in module diffpy.Structure.applications.anyeye)
    +
    +
    parseLines() (diffpy.Structure.Parsers.P_auto.P_auto method)
    @@ -1026,8 +914,6 @@

    P

    - -
    pdffit (diffpy.Structure.structure.Structure attribute)
    @@ -1041,10 +927,6 @@

    P

    -
    places (diffpy.Structure.tests.TestP_cif.TestP_cif attribute) -
    - -
    plist (diffpy.Structure.Parsers.P_bratoms.P_bratoms attribute)
    @@ -1143,72 +1025,6 @@

    S

    -
    setUp() (diffpy.Structure.tests.TestLattice.TestLattice method) -
    - -
    - -
    (diffpy.Structure.tests.TestP_cif.TestP_cif method) -
    - - -
    (diffpy.Structure.tests.TestP_cif.TestRoutines method) -
    - - -
    (diffpy.Structure.tests.TestP_discus.TestP_discus method) -
    - - -
    (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - - -
    (diffpy.Structure.tests.TestParsers.TestP_bratoms method) -
    - - -
    (diffpy.Structure.tests.TestParsers.TestP_pdb method) -
    - - -
    (diffpy.Structure.tests.TestParsers.TestP_rawxyz method) -
    - - -
    (diffpy.Structure.tests.TestParsers.TestP_xcfg method) -
    - - -
    (diffpy.Structure.tests.TestParsers.TestP_xyz method) -
    - - -
    (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    (diffpy.Structure.tests.TestSuperCell.TestSuperCell method) -
    - - -
    (diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite method) -
    - - -
    (diffpy.Structure.tests.TestSymmetryUtilities.TestRoutines method) -
    - - -
    (diffpy.Structure.tests.TestSymmetryUtilities.TestSymmetryConstraints method) -
    - - -
    (diffpy.Structure.tests.TestSymmetryUtilities.Test_Position2Tuple method) -
    - -
    -
    sg (diffpy.Structure.lattice.Lattice attribute)
    @@ -1235,14 +1051,6 @@

    S

    -
    stru_cdse (diffpy.Structure.tests.TestSuperCell.TestSuperCell attribute) -
    - - -
    stru_ni (diffpy.Structure.tests.TestSuperCell.TestSuperCell attribute) -
    - -
    Structure (class in diffpy.Structure.structure)
    @@ -1277,546 +1085,24 @@

    T

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"
    -
    tearDown() (diffpy.Structure.tests.TestP_cif.TestP_cif method) -
    - -
    - -
    (diffpy.Structure.tests.TestP_cif.TestRoutines method) -
    - - -
    (diffpy.Structure.tests.TestParsers.TestP_xyz method) -
    - - -
    (diffpy.Structure.tests.TestSuperCell.TestSuperCell method) -
    - - -
    (diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite method) -
    - - -
    (diffpy.Structure.tests.TestSymmetryUtilities.TestRoutines method) -
    - - -
    (diffpy.Structure.tests.TestSymmetryUtilities.TestSymmetryConstraints method) -
    - - -
    (diffpy.Structure.tests.TestSymmetryUtilities.Test_Position2Tuple method) -
    - -
    - -
    teiciffile (diffpy.Structure.tests.TestP_cif.TestP_cif attribute) -
    - -
    test() (in module diffpy.Structure)
    -
    - -
    (in module diffpy.Structure.tests) -
    - -
    - -
    test___add__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___call__() (diffpy.Structure.tests.TestSymmetryUtilities.Test_Position2Tuple method) -
    - - -
    test___copy__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___getitem__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___getslice__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___iadd__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___imul__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___init__() (diffpy.Structure.tests.TestSymmetryUtilities.Test_Position2Tuple method) -
    - -
    - -
    (diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite method) -
    - - -
    (diffpy.Structure.tests.TestSymmetryUtilities.TestSymmetryConstraints method) -
    - -
    - -
    test___isub__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___mul__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___setitem__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___setslice__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test___sub__() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test__findUParameters() (diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite method) -
    - - -
    test__get_lattice() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test__set_lattice() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_angle() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_anisotropy() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - -
    test_append() (diffpy.Structure.tests.TestStructure.TestStructure method) +
    title (diffpy.Structure.structure.Structure attribute)
    -
    test_aslist() (diffpy.Structure.tests.TestStructure.TestStructure method) +
    titleLines() (diffpy.Structure.Parsers.P_pdb.P_pdb method)
    -
    test_assignUniqueLabels() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_badfile() (diffpy.Structure.tests.TestLoadStructure.TestLoadStructure method) -
    - - -
    test_Bij() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_Bisoequiv() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_cartesian() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_cdse_supercell() (diffpy.Structure.tests.TestSuperCell.TestSuperCell method) -
    - - -
    test_cif() (diffpy.Structure.tests.TestLoadStructure.TestLoadStructure method) -
    - - -
    test_corepos() (diffpy.Structure.tests.TestSymmetryUtilities.TestSymmetryConstraints method) -
    - - -
    test_discus() (diffpy.Structure.tests.TestLoadStructure.TestLoadStructure method) -
    - - -
    test_distance() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_element() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_eqIndex() (diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite method) -
    - - -
    test_except_other_formats() (diffpy.Structure.tests.TestP_discus.TestP_discus method) -
    - - -
    test_exceptions() (diffpy.Structure.tests.TestSuperCell.TestSuperCell method) -
    - - -
    test_expandPosition() (diffpy.Structure.tests.TestSymmetryUtilities.TestRoutines method) -
    - - -
    test_extend() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_getSymOp() (diffpy.Structure.tests.TestP_cif.TestRoutines method) -
    - - -
    test_huge_occupancy() (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - - -
    test_ignored_lines() (diffpy.Structure.tests.TestP_discus.TestP_discus method) -
    - -
    - -
    (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - -
    - -
    test_insert() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_isconstantFormula() (diffpy.Structure.tests.TestSymmetryUtilities.TestRoutines method) -
    - - -
    test_isSpaceGroupLatPar() (diffpy.Structure.tests.TestSymmetryUtilities.TestRoutines method) -
    - - -
    test_label() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_latpar_properties() (diffpy.Structure.tests.TestLattice.TestLattice method) -
    - - -
    test_leading_float() (diffpy.Structure.tests.TestP_cif.TestRoutines method) -
    - - -
    test_ni_supercell() (diffpy.Structure.tests.TestSuperCell.TestSuperCell method) -
    - - -
    test_occupancy() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_parse() (diffpy.Structure.tests.TestP_cif.TestP_cif method) -
    - - -
    test_parseFile() (diffpy.Structure.tests.TestP_cif.TestP_cif method) -
    - - -
    test_parseLines() (diffpy.Structure.tests.TestP_cif.TestP_cif method) -
    - - -
    test_placeInLattice() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    Test_Position2Tuple (class in diffpy.Structure.tests.TestSymmetryUtilities) -
    - - -
    test_positionFormula() (diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite method) -
    - - -
    test_pruneFormulaDictionary() (diffpy.Structure.tests.TestSymmetryUtilities.TestRoutines method) -
    - - -
    test_read_bratoms_bad() (diffpy.Structure.tests.TestParsers.TestP_bratoms method) -
    - - -
    test_read_discus_Ni() (diffpy.Structure.tests.TestP_discus.TestP_discus method) -
    - - -
    test_read_pdb_arginine() (diffpy.Structure.tests.TestParsers.TestP_pdb method) +
    tol_anisotropy (diffpy.Structure.atom.Atom attribute)
    -
    test_read_pdffit_bad() (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - - -
    test_read_pdffit_Ni() (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - - -
    test_read_pdffit_Ni_prim123() (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - - -
    test_read_pdffit_ZnSb() (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - - -
    test_read_plainxyz() (diffpy.Structure.tests.TestParsers.TestP_rawxyz method) -
    - - -
    test_read_plainxyz_bad() (diffpy.Structure.tests.TestParsers.TestP_rawxyz method) -
    - - -
    test_read_rawxyz() (diffpy.Structure.tests.TestParsers.TestP_rawxyz method) -
    - - -
    test_read_rawxyz_bad() (diffpy.Structure.tests.TestParsers.TestP_rawxyz method) -
    - - -
    test_read_xcfg() (diffpy.Structure.tests.TestParsers.TestP_xcfg method) -
    - - -
    test_read_xyz() (diffpy.Structure.tests.TestParsers.TestP_xyz method) -
    - - -
    test_read_xyz_bad() (diffpy.Structure.tests.TestParsers.TestP_xyz method) -
    - - -
    test_readonly_properties() (diffpy.Structure.tests.TestLattice.TestLattice method) -
    - - -
    test_repr() (diffpy.Structure.tests.TestLattice.TestLattice method) -
    - - -
    test_rwStr_pdb_CdSe() (diffpy.Structure.tests.TestParsers.TestP_pdb method) -
    - - -
    test_rwStr_xcfg_CdSe() (diffpy.Structure.tests.TestParsers.TestP_xcfg method) -
    - - -
    test_setLatBase() (diffpy.Structure.tests.TestLattice.TestLattice method) -
    - - -
    test_setLatPar() (diffpy.Structure.tests.TestLattice.TestLattice method) -
    - - -
    test_spdiameter_parsing() (diffpy.Structure.tests.TestP_discus.TestP_discus method) -
    - -
    - -
    (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - -
    - -
    test_stepcut_parsing() (diffpy.Structure.tests.TestP_discus.TestP_discus method) -
    - -
    - -
    (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - -
    - -
    test_U() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_UFormula() (diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite method) -
    - - -
    test_UFormula_g186c_eqxyz() (diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite method) -
    - - -
    test_Uij() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_Uisoequiv() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_UparSymbols() (diffpy.Structure.tests.TestSymmetryUtilities.TestSymmetryConstraints method) -
    - - -
    test_UparValues() (diffpy.Structure.tests.TestSymmetryUtilities.TestSymmetryConstraints method) -
    - - -
    test_write_and_read() (diffpy.Structure.tests.TestP_cif.TestP_cif method) -
    - - -
    test_write_xyz() (diffpy.Structure.tests.TestParsers.TestP_xyz method) -
    - - -
    test_writeStr_cif() (diffpy.Structure.tests.TestParsers.TestP_bratoms method) -
    - - -
    test_writeStr_pdffit() (diffpy.Structure.tests.TestP_pdffit.TestP_pdffit method) -
    - - -
    test_writeStr_rawxyz() (diffpy.Structure.tests.TestParsers.TestP_rawxyz method) -
    - - -
    test_writeStr_xyz() (diffpy.Structure.tests.TestParsers.TestP_xyz method) -
    - - -
    test_x() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_xcfg() (diffpy.Structure.tests.TestLoadStructure.TestLoadStructure method) -
    - - -
    test_xyz() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_xyz_cartn() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_y() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    test_z() (diffpy.Structure.tests.TestStructure.TestStructure method) -
    - - -
    TestGeneratorSite (class in diffpy.Structure.tests.TestSymmetryUtilities) -
    - - -
    TestLattice (class in diffpy.Structure.tests.TestLattice) -
    - - -
    TestLoadStructure (class in diffpy.Structure.tests.TestLoadStructure) -
    - - -
    TestP_bratoms (class in diffpy.Structure.tests.TestParsers) -
    - - -
    TestP_cif (class in diffpy.Structure.tests.TestP_cif) -
    - - -
    TestP_discus (class in diffpy.Structure.tests.TestP_discus) -
    - - -
    TestP_pdb (class in diffpy.Structure.tests.TestParsers) -
    - - -
    TestP_pdffit (class in diffpy.Structure.tests.TestP_pdffit) -
    - - -
    TestP_rawxyz (class in diffpy.Structure.tests.TestParsers) -
    - - -
    TestP_xcfg (class in diffpy.Structure.tests.TestParsers) -
    - - -
    TestP_xyz (class in diffpy.Structure.tests.TestParsers) -
    - - -
    TestRoutines (class in diffpy.Structure.tests.TestP_cif) -
    - -
    - -
    (class in diffpy.Structure.tests.TestSymmetryUtilities) -
    - -
    - -
    TestStructure (class in diffpy.Structure.tests.TestStructure) -
    - - -
    testsuite() (in module diffpy.Structure.tests) -
    - - -
    TestSuperCell (class in diffpy.Structure.tests.TestSuperCell) -
    - - -
    TestSymmetryConstraints (class in diffpy.Structure.tests.TestSymmetryUtilities) -
    - - -
    title (diffpy.Structure.structure.Structure attribute) -
    - - -
    titleLines() (diffpy.Structure.Parsers.P_pdb.P_pdb method) -
    - - -
    tol_anisotropy (diffpy.Structure.atom.Atom attribute) -
    - -
    toLines() (diffpy.Structure.Parsers.P_bratoms.P_bratoms method)
    @@ -2137,7 +1423,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • @@ -53,8 +53,8 @@

    Navigation

    diffpy.Structure documentation

    -

    Software version 1.2b0-16.

    -

    Last updated February 16, 2014.

    +

    Software version 1.2b0-18.

    +

    Last updated February 17, 2014.

    diffpy.Structure - simple storage and manipulation of crystal structures

    The diffpy.Structure package provides simple crystal structure operation such as calculations of distances or angles from fractional coordinates. @@ -255,7 +255,7 @@

    Navigation

  • next |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • @@ -217,66 +217,6 @@

    Python Module Index

        diffpy.Structure.SymmetryUtilities
        - diffpy.Structure.tests -
        - diffpy.Structure.tests.run -
        - diffpy.Structure.tests.TestLattice -
        - diffpy.Structure.tests.TestLoadStructure -
        - diffpy.Structure.tests.TestP_cif -
        - diffpy.Structure.tests.TestP_discus -
        - diffpy.Structure.tests.TestP_pdffit -
        - diffpy.Structure.tests.TestParsers -
        - diffpy.Structure.tests.TestStructure -
        - diffpy.Structure.tests.TestSuperCell -
        - diffpy.Structure.tests.TestSymmetryUtilities -
        - diffpy.Structure.tests.testutils -
        @@ -335,7 +275,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • @@ -95,7 +95,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-16 documentation »
  • +
  • diffpy.Structure 1.2b0-18 documentation »
  • ","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div
    ","
    "];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= -c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, -wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, -prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, -this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); -return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja, -""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]); -return this}else{e=0;for(var j=d.length;e0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["", -""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]===""&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e= -c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]? -c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja= -function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter= -Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a, -"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f= -a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b= -a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=//gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!== -"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("
    ").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this}, -serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), -function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href, -global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&& -e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)? -"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache=== -false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B= -false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since", -c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E|| -d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x); -g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status=== -1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b=== -"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional; -if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration=== -"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]|| -c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start; -this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now= -this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem, -e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b
    "; -a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b); -c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a, -d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top- -f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset": -"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in -e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window); +/*! jQuery v1.8.3 jquery.com | jquery.org/license */ +(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
    a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
    t
    ",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
    ",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
    ",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

    ",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
    ","
    "]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
    ").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); \ No newline at end of file diff --git a/_static/searchtools.js b/_static/searchtools.js index 663be4c9..f5c7e5fe 100644 --- a/_static/searchtools.js +++ b/_static/searchtools.js @@ -4,38 +4,11 @@ * * Sphinx JavaScript utilties for the full-text search. * - * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ -/** - * helper function to return a node containing the - * search summary for a given text. keywords is a list - * of stemmed words, hlwords is the list of normal, unstemmed - * words. the first one is used to find the occurance, the - * latter for highlighting it. - */ - -jQuery.makeSearchSummary = function(text, keywords, hlwords) { - var textLower = text.toLowerCase(); - var start = 0; - $.each(keywords, function() { - var i = textLower.indexOf(this.toLowerCase()); - if (i > -1) - start = i; - }); - start = Math.max(start - 120, 0); - var excerpt = ((start > 0) ? '...' : '') + - $.trim(text.substr(start, 240)) + - ((start + 240 - text.length) ? '...' : ''); - var rv = $('
    ').text(excerpt); - $.each(hlwords, function() { - rv = rv.highlightText(this, 'highlighted'); - }); - return rv; -} - /** * Porter Stemmer @@ -220,6 +193,38 @@ var Stemmer = function() { } + +/** + * Simple result scoring code. + */ +var Scorer = { + // Implement the following function to further tweak the score for each result + // The function takes a result array [filename, title, anchor, descr, score] + // and returns the new score. + /* + score: function(result) { + return result[4]; + }, + */ + + // query matches the full name of an object + objNameMatch: 11, + // or matches in the last dotted part of the object name + objPartialMatch: 6, + // Additive scores depending on the priority of the object + objPrio: {0: 15, // used to be importantResults + 1: 5, // used to be objectResults + 2: -5}, // used to be unimportantResults + // Used when the priority is not in the mapping. + objPrioDefault: 0, + + // query found in title + title: 15, + // query found in terms + term: 5 +}; + + /** * Search Module */ @@ -239,8 +244,13 @@ var Search = { }, loadIndex : function(url) { - $.ajax({type: "GET", url: url, data: null, success: null, - dataType: "script", cache: true}); + $.ajax({type: "GET", url: url, data: null, + dataType: "script", cache: true, + complete: function(jqxhr, textstatus) { + if (textstatus != "success") { + document.getElementById("searchindexloader").src = url; + } + }}); }, setIndex : function(index) { @@ -268,19 +278,20 @@ var Search = { if (this._pulse_status >= 0) return; function pulse() { + var i; Search._pulse_status = (Search._pulse_status + 1) % 4; var dotString = ''; - for (var i = 0; i < Search._pulse_status; i++) + for (i = 0; i < Search._pulse_status; i++) dotString += '.'; Search.dots.text(dotString); if (Search._pulse_status > -1) window.setTimeout(pulse, 500); - }; + } pulse(); }, /** - * perform a search for something + * perform a search for something (or wait until index is loaded) */ performSearch : function(query) { // create the required interface elements @@ -300,41 +311,46 @@ var Search = { this.deferQuery(query); }, + /** + * execute search (requires search index to be loaded) + */ query : function(query) { - var stopwords = ["and","then","into","it","as","are","in","if","for","no","there","their","was","is","be","to","that","but","they","not","such","with","by","a","on","these","of","will","this","near","the","or","at"]; + var i; + var stopwords = ["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"]; - // Stem the searchterms and add them to the correct list + // stem the searchterms and add them to the correct list var stemmer = new Stemmer(); var searchterms = []; var excluded = []; var hlterms = []; var tmp = query.split(/\s+/); var objectterms = []; - for (var i = 0; i < tmp.length; i++) { - if (tmp[i] != "") { + for (i = 0; i < tmp.length; i++) { + if (tmp[i] !== "") { objectterms.push(tmp[i].toLowerCase()); } - if ($u.indexOf(stopwords, tmp[i]) != -1 || tmp[i].match(/^\d+$/) || - tmp[i] == "") { + if ($u.indexOf(stopwords, tmp[i].toLowerCase()) != -1 || tmp[i].match(/^\d+$/) || + tmp[i] === "") { // skip this "word" continue; } // stem the word - var word = stemmer.stemWord(tmp[i]).toLowerCase(); + var word = stemmer.stemWord(tmp[i].toLowerCase()); + var toAppend; // select the correct list if (word[0] == '-') { - var toAppend = excluded; + toAppend = excluded; word = word.substr(1); } else { - var toAppend = searchterms; + toAppend = searchterms; hlterms.push(tmp[i].toLowerCase()); } // only add if not already in the list - if (!$.contains(toAppend, word)) + if (!$u.contains(toAppend, word)) toAppend.push(word); - }; + } var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" ")); // console.debug('SEARCH: searching for:'); @@ -342,89 +358,51 @@ var Search = { // console.info('excluded: ', excluded); // prepare search - var filenames = this._index.filenames; - var titles = this._index.titles; var terms = this._index.terms; - var fileMap = {}; - var files = null; - // different result priorities - var importantResults = []; - var objectResults = []; - var regularResults = []; - var unimportantResults = []; + var titleterms = this._index.titleterms; + + // array of [filename, title, anchor, descr, score] + var results = []; $('#search-progress').empty(); // lookup as object - for (var i = 0; i < objectterms.length; i++) { - var others = [].concat(objectterms.slice(0,i), - objectterms.slice(i+1, objectterms.length)) - var results = this.performObjectSearch(objectterms[i], others); - // Assume first word is most likely to be the object, - // other words more likely to be in description. - // Therefore put matches for earlier words first. - // (Results are eventually used in reverse order). - objectResults = results[0].concat(objectResults); - importantResults = results[1].concat(importantResults); - unimportantResults = results[2].concat(unimportantResults); + for (i = 0; i < objectterms.length; i++) { + var others = [].concat(objectterms.slice(0, i), + objectterms.slice(i+1, objectterms.length)); + results = results.concat(this.performObjectSearch(objectterms[i], others)); } - // perform the search on the required terms - for (var i = 0; i < searchterms.length; i++) { - var word = searchterms[i]; - // no match but word was a required one - if ((files = terms[word]) == null) - break; - if (files.length == undefined) { - files = [files]; - } - // create the mapping - for (var j = 0; j < files.length; j++) { - var file = files[j]; - if (file in fileMap) - fileMap[file].push(word); - else - fileMap[file] = [word]; - } - } - - // now check if the files don't contain excluded terms - for (var file in fileMap) { - var valid = true; - - // check if all requirements are matched - if (fileMap[file].length != searchterms.length) - continue; - - // ensure that none of the excluded terms is in the - // search result. - for (var i = 0; i < excluded.length; i++) { - if (terms[excluded[i]] == file || - $.contains(terms[excluded[i]] || [], file)) { - valid = false; - break; - } - } + // lookup as search terms in fulltext + results = results.concat(this.performTermsSearch(searchterms, excluded, terms, Scorer.term)) + .concat(this.performTermsSearch(searchterms, excluded, titleterms, Scorer.title)); - // if we have still a valid result we can add it - // to the result list - if (valid) - regularResults.push([filenames[file], titles[file], '', null]); + // let the scorer override scores with a custom scoring function + if (Scorer.score) { + for (i = 0; i < results.length; i++) + results[i][4] = Scorer.score(results[i]); } - // delete unused variables in order to not waste - // memory until list is retrieved completely - delete filenames, titles, terms; - - // now sort the regular results descending by title - regularResults.sort(function(a, b) { - var left = a[1].toLowerCase(); - var right = b[1].toLowerCase(); - return (left > right) ? -1 : ((left < right) ? 1 : 0); + // now sort the results by score (in opposite order of appearance, since the + // display function below uses pop() to retrieve items) and then + // alphabetically + results.sort(function(a, b) { + var left = a[4]; + var right = b[4]; + if (left > right) { + return 1; + } else if (left < right) { + return -1; + } else { + // same score: sort alphabetically + left = a[1].toLowerCase(); + right = b[1].toLowerCase(); + return (left > right) ? -1 : ((left < right) ? 1 : 0); + } }); - // combine all results - var results = unimportantResults.concat(regularResults) - .concat(objectResults).concat(importantResults); + // for debugging + //Search.lastresults = results.slice(); // a copy + //console.info('search results:', Search.lastresults); // print the results var resultCount = results.length; @@ -433,7 +411,7 @@ var Search = { if (results.length) { var item = results.pop(); var listItem = $('
  • '); - if (DOCUMENTATION_OPTIONS.FILE_SUFFIX == '') { + if (DOCUMENTATION_OPTIONS.FILE_SUFFIX === '') { // dirhtml builder var dirname = item[0] + '/'; if (dirname.match(/\/index\/$/)) { @@ -457,16 +435,18 @@ var Search = { displayNextItem(); }); } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) { - $.get(DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + - item[0] + '.txt', function(data) { - if (data != '') { - listItem.append($.makeSearchSummary(data, searchterms, hlterms)); - Search.output.append(listItem); - } - listItem.slideDown(5, function() { - displayNextItem(); - }); - }, "text"); + $.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[0] + '.txt', + dataType: "text", + complete: function(jqxhr, textstatus) { + var data = jqxhr.responseText; + if (data !== '') { + listItem.append(Search.makeSearchSummary(data, searchterms, hlterms)); + } + Search.output.append(listItem); + listItem.slideDown(5, function() { + displayNextItem(); + }); + }}); } else { // no source available, just display title Search.output.append(listItem); @@ -489,20 +469,32 @@ var Search = { displayNextItem(); }, + /** + * search for object names + */ performObjectSearch : function(object, otherterms) { var filenames = this._index.filenames; var objects = this._index.objects; var objnames = this._index.objnames; var titles = this._index.titles; - var importantResults = []; - var objectResults = []; - var unimportantResults = []; + var i; + var results = []; for (var prefix in objects) { for (var name in objects[prefix]) { var fullname = (prefix ? prefix + '.' : '') + name; if (fullname.toLowerCase().indexOf(object) > -1) { + var score = 0; + var parts = fullname.split('.'); + // check for different match types: exact matches of full name or + // "last name" (i.e. last dotted part) + if (fullname == object || parts[parts.length - 1] == object) { + score += Scorer.objNameMatch; + // matches in last name + } else if (parts[parts.length - 1].indexOf(object) > -1) { + score += Scorer.objPartialMatch; + } var match = objects[prefix][name]; var objname = objnames[match[1]][2]; var title = titles[match[0]]; @@ -512,7 +504,7 @@ var Search = { var haystack = (prefix + ' ' + name + ' ' + objname + ' ' + title).toLowerCase(); var allfound = true; - for (var i = 0; i < otherterms.length; i++) { + for (i = 0; i < otherterms.length; i++) { if (haystack.indexOf(otherterms[i]) == -1) { allfound = false; break; @@ -523,37 +515,107 @@ var Search = { } } var descr = objname + _(', in ') + title; - anchor = match[3]; - if (anchor == '') + + var anchor = match[3]; + if (anchor === '') anchor = fullname; else if (anchor == '-') anchor = objnames[match[1]][1] + '-' + fullname; - result = [filenames[match[0]], fullname, '#'+anchor, descr]; - switch (match[2]) { - case 1: objectResults.push(result); break; - case 0: importantResults.push(result); break; - case 2: unimportantResults.push(result); break; + // add custom score for some objects according to scorer + if (Scorer.objPrio.hasOwnProperty(match[2])) { + score += Scorer.objPrio[match[2]]; + } else { + score += Scorer.objPrioDefault; } + results.push([filenames[match[0]], fullname, '#'+anchor, descr, score]); } } } - // sort results descending - objectResults.sort(function(a, b) { - return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0); - }); + return results; + }, - importantResults.sort(function(a, b) { - return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0); - }); + /** + * search for full-text terms in the index + */ + performTermsSearch : function(searchterms, excluded, terms, score) { + var filenames = this._index.filenames; + var titles = this._index.titles; - unimportantResults.sort(function(a, b) { - return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0); - }); + var i, j, file, files; + var fileMap = {}; + var results = []; + + // perform the search on the required terms + for (i = 0; i < searchterms.length; i++) { + var word = searchterms[i]; + // no match but word was a required one + if ((files = terms[word]) === undefined) + break; + if (files.length === undefined) { + files = [files]; + } + // create the mapping + for (j = 0; j < files.length; j++) { + file = files[j]; + if (file in fileMap) + fileMap[file].push(word); + else + fileMap[file] = [word]; + } + } + + // now check if the files don't contain excluded terms + for (file in fileMap) { + var valid = true; + + // check if all requirements are matched + if (fileMap[file].length != searchterms.length) + continue; + + // ensure that none of the excluded terms is in the search result + for (i = 0; i < excluded.length; i++) { + if (terms[excluded[i]] == file || + $u.contains(terms[excluded[i]] || [], file)) { + valid = false; + break; + } + } + + // if we have still a valid result we can add it to the result list + if (valid) { + results.push([filenames[file], titles[file], '', null, score]); + } + } + return results; + }, - return [importantResults, objectResults, unimportantResults] + /** + * helper function to return a node containing the + * search summary for a given text. keywords is a list + * of stemmed words, hlwords is the list of normal, unstemmed + * words. the first one is used to find the occurance, the + * latter for highlighting it. + */ + makeSearchSummary : function(text, keywords, hlwords) { + var textLower = text.toLowerCase(); + var start = 0; + $.each(keywords, function() { + var i = textLower.indexOf(this.toLowerCase()); + if (i > -1) + start = i; + }); + start = Math.max(start - 120, 0); + var excerpt = ((start > 0) ? '...' : '') + + $.trim(text.substr(start, 240)) + + ((start + 240 - text.length) ? '...' : ''); + var rv = $('
    ').text(excerpt); + $.each(hlwords, function() { + rv = rv.highlightText(this, 'highlighted'); + }); + return rv; } -} +}; $(document).ready(function() { Search.init(); diff --git a/_static/sidebar.js b/_static/sidebar.js index a45e1926..874a890a 100644 --- a/_static/sidebar.js +++ b/_static/sidebar.js @@ -16,12 +16,20 @@ * Once the browser is closed the cookie is deleted and the position * reset to the default (expanded). * - * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ $(function() { + + + + + + + + // global elements used by the functions. // the 'sidebarbutton' element is defined as global after its // creation, in the add_sidebar_button function @@ -134,7 +142,7 @@ $(function() { var items = document.cookie.split(';'); for(var k=0; k=e.computed&&(e={value:f,computed:g})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);var e={computed:Infinity};b.each(a,function(f,g,h){g=c?c.call(d,f,g,h):f;gf?1:0}),"value")};b.sortedIndex=function(a,c,d){d=d||b.identity;for(var e=0,f=a.length;e>1;d(a[g])=0})})};b.zip=function(){for(var a=b.toArray(arguments),c=b.max(b.pluck(a,"length")),d=new Array(c),e=0;e0?f-c:c-f)>=0)return e;e[g++]=f}};b.bind=function(a,c){var d=b.rest(arguments,2);return function(){return a.apply(c||j,d.concat(b.toArray(arguments)))}};b.bindAll=function(a){var c=b.rest(arguments);if(c.length==0)c=b.functions(a);b.each(c,function(d){a[d]=b.bind(a[d],a)}); -return a};b.delay=function(a,c){var d=b.rest(arguments,2);return setTimeout(function(){return a.apply(a,d)},c)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(b.rest(arguments)))};b.wrap=function(a,c){return function(){var d=[a].concat(b.toArray(arguments));return c.apply(c,d)}};b.compose=function(){var a=b.toArray(arguments);return function(){for(var c=b.toArray(arguments),d=a.length-1;d>=0;d--)c=[a[d].apply(this,c)];return c[0]}};b.keys=function(a){if(b.isArray(a))return b.range(0,a.length); -var c=[];for(var d in a)q.call(a,d)&&c.push(d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=function(a){return b.select(b.keys(a),function(c){return b.isFunction(a[c])}).sort()};b.extend=function(a,c){for(var d in c)a[d]=c[d];return a};b.clone=function(a){if(b.isArray(a))return a.slice(0);return b.extend({},a)};b.tap=function(a,c){c(a);return a};b.isEqual=function(a,c){if(a===c)return true;var d=typeof a;if(d!=typeof c)return false;if(a==c)return true;if(!a&&c||a&&!c)return false; -if(a.isEqual)return a.isEqual(c);if(b.isDate(a)&&b.isDate(c))return a.getTime()===c.getTime();if(b.isNaN(a)&&b.isNaN(c))return true;if(b.isRegExp(a)&&b.isRegExp(c))return a.source===c.source&&a.global===c.global&&a.ignoreCase===c.ignoreCase&&a.multiline===c.multiline;if(d!=="object")return false;if(a.length&&a.length!==c.length)return false;d=b.keys(a);var e=b.keys(c);if(d.length!=e.length)return false;for(var f in a)if(!b.isEqual(a[f],c[f]))return false;return true};b.isEmpty=function(a){return b.keys(a).length== -0};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=function(a){return!!(a&&a.concat&&a.unshift)};b.isArguments=function(a){return a&&b.isNumber(a.length)&&!b.isArray(a)&&!r.call(a,"length")};b.isFunction=function(a){return!!(a&&a.constructor&&a.call&&a.apply)};b.isString=function(a){return!!(a===""||a&&a.charCodeAt&&a.substr)};b.isNumber=function(a){return p.call(a)==="[object Number]"};b.isDate=function(a){return!!(a&&a.getTimezoneOffset&&a.setUTCFullYear)};b.isRegExp=function(a){return!!(a&& -a.test&&a.exec&&(a.ignoreCase||a.ignoreCase===false))};b.isNaN=function(a){return b.isNumber(a)&&isNaN(a)};b.isNull=function(a){return a===null};b.isUndefined=function(a){return typeof a=="undefined"};b.noConflict=function(){j._=n;return this};b.identity=function(a){return a};b.breakLoop=function(){throw m;};var s=0;b.uniqueId=function(a){var c=s++;return a?a+c:c};b.template=function(a,c){a=new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+a.replace(/[\r\t\n]/g, -" ").replace(/'(?=[^%]*%>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<%=(.+?)%>/g,"',$1,'").split("<%").join("');").split("%>").join("p.push('")+"');}return p.join('');");return c?a(c):a};b.forEach=b.each;b.foldl=b.inject=b.reduce;b.foldr=b.reduceRight;b.filter=b.select;b.every=b.all;b.some=b.any;b.head=b.first;b.tail=b.rest;b.methods=b.functions;var l=function(a,c){return c?b(a).chain():a};b.each(b.functions(b),function(a){var c=b[a];i.prototype[a]=function(){var d=b.toArray(arguments); -o.call(d,this._wrapped);return l(c.apply(b,d),this._chain)}});b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){c.apply(this._wrapped,arguments);return l(this._wrapped,this._chain)}});b.each(["concat","join","slice"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){return l(c.apply(this._wrapped,arguments),this._chain)}});i.prototype.chain=function(){this._chain=true;return this};i.prototype.value=function(){return this._wrapped}})(); +// http://documentcloud.github.com/underscore +(function(){function q(a,c,d){if(a===c)return a!==0||1/a==1/c;if(a==null||c==null)return a===c;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return false;switch(e){case "[object String]":return a==String(c);case "[object Number]":return a!=+a?c!=+c:a==0?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source== +c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if(typeof a!="object"||typeof c!="object")return false;for(var f=d.length;f--;)if(d[f]==a)return true;d.push(a);var f=0,g=true;if(e=="[object Array]"){if(f=a.length,g=f==c.length)for(;f--;)if(!(g=f in a==f in c&&q(a[f],c[f],d)))break}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return false;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&q(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c, +h)&&!f--)break;g=!f}}d.pop();return g}var r=this,G=r._,n={},k=Array.prototype,o=Object.prototype,i=k.slice,H=k.unshift,l=o.toString,I=o.hasOwnProperty,w=k.forEach,x=k.map,y=k.reduce,z=k.reduceRight,A=k.filter,B=k.every,C=k.some,p=k.indexOf,D=k.lastIndexOf,o=Array.isArray,J=Object.keys,s=Function.prototype.bind,b=function(a){return new m(a)};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports)exports=module.exports=b;exports._=b}else r._=b;b.VERSION="1.3.1";var j=b.each= +b.forEach=function(a,c,d){if(a!=null)if(w&&a.forEach===w)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e2;a== +null&&(a=[]);if(y&&a.reduce===y)return e&&(c=b.bind(c,e)),f?a.reduce(c,d):a.reduce(c);j(a,function(a,b,i){f?d=c.call(e,d,a,b,i):(d=a,f=true)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(z&&a.reduceRight===z)return e&&(c=b.bind(c,e)),f?a.reduceRight(c,d):a.reduceRight(c);var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect= +function(a,c,b){var e;E(a,function(a,g,h){if(c.call(b,a,g,h))return e=a,true});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(A&&a.filter===A)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(B&&a.every===B)return a.every(c,b);j(a,function(a,g,h){if(!(e= +e&&c.call(b,a,g,h)))return n});return e};var E=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(C&&a.some===C)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return n});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;return p&&a.indexOf===p?a.indexOf(c)!=-1:b=E(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck= +function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;bd?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]};j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a, +c,d){d||(d=b.identity);for(var e=0,f=a.length;e>1;d(a[g])=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1));return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e=0;d--)b=[a[d].apply(this,b)];return b[0]}}; +b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=J||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.defaults=function(a){j(i.call(arguments, +1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return q(a,b,[])};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=o||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)}; +b.isArguments=function(a){return l.call(a)=="[object Arguments]"};if(!b.isArguments(arguments))b.isArguments=function(a){return!(!a||!b.has(a,"callee"))};b.isFunction=function(a){return l.call(a)=="[object Function]"};b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"}; +b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a,b){return I.call(a,b)};b.noConflict=function(){r._=G;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")};b.mixin=function(a){j(b.functions(a), +function(c){K(c,b[c]=a[c])})};var L=0;b.uniqueId=function(a){var b=L++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/.^/,u=function(a){return a.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};b.template=function(a,c){var d=b.templateSettings,d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.escape||t,function(a,b){return"',_.escape("+ +u(b)+"),'"}).replace(d.interpolate||t,function(a,b){return"',"+u(b)+",'"}).replace(d.evaluate||t,function(a,b){return"');"+u(b).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",e=new Function("obj","_",d);return c?e(c,b):function(a){return e.call(this,a,b)}};b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var v=function(a,c){return c?b(a).chain():a},K=function(a,c){m.prototype[a]= +function(){var a=i.call(arguments);H.call(a,this._wrapped);return v(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return v(d,this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return v(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain= +true;return this};m.prototype.value=function(){return this._wrapped}}).call(this); diff --git a/_static/websupport.js b/_static/websupport.js index e9bd1b85..19fcda56 100644 --- a/_static/websupport.js +++ b/_static/websupport.js @@ -4,7 +4,7 @@ * * sphinx.websupport utilties for all documentation. * - * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ diff --git a/api/diffpy.Structure.Parsers.html b/api/diffpy.Structure.Parsers.html index d8c4b7f3..1cda88a9 100644 --- a/api/diffpy.Structure.Parsers.html +++ b/api/diffpy.Structure.Parsers.html @@ -1,5 +1,3 @@ - - @@ -8,7 +6,7 @@ - Parsers Package — diffpy.Structure 1.2b0-18 documentation + diffpy.Structure.Parsers package — diffpy.Structure 1.2b2 documentation @@ -16,7 +14,7 @@ - - - - + @@ -57,47 +45,13 @@

    Navigation

    -
    -

    Parsers Package

    -
    -

    Parsers Package

    -

    Conversion plugins for various structure formats

    -

    The recognized structure formats are defined by subclassing StructureParser, -by convention these classes are named P_<format>. The parser classes should -to override the parseLines() and toLines() methods of StructureParser. -Any structure parser needs to be registered in parser_index module.

    -

    For normal usage it should be sufficient to use the routines provided -in this module.

    -
    -
    Content:
    -
    StructureParser – base class for concrete Parsers -parser_index – dictionary of known structure formats -getParser – factory for Parser at given format -inputFormats – list of available input formats -outputFormats – list of available output formats
    -
    -
    -
    -diffpy.Structure.Parsers.getParser(format)
    -

    Return Parser instance for a given structure format. -Raises StructureFormatError exception when format is not defined.

    -
    - -
    -
    -diffpy.Structure.Parsers.inputFormats()
    -

    Return list of implemented input structure formats

    -
    - -
    -
    -diffpy.Structure.Parsers.outputFormats()
    -

    return list of implemented output structure formats

    -
    - +
    +

    diffpy.Structure.Parsers package

    +
    +

    Submodules

    -

    P_auto Module

    +

    diffpy.Structure.Parsers.P_auto module

    Parser for automatic file format detection

    This Parser does not provide the the toLines() method.

    @@ -142,7 +96,7 @@

    Parsers

    -

    P_bratoms Module

    +

    diffpy.Structure.Parsers.P_bratoms module

    Parser for Bruce Ravel’s Atoms structure format

    @@ -177,7 +131,7 @@

    Parsers

    -

    P_cif Module

    +

    diffpy.Structure.Parsers.P_cif module

    Parser for basic CIF file format

    http://www.iucr.org/iucr-top/cif/home.html

    @@ -275,7 +229,7 @@

    Parsers

    -

    P_discus Module

    +

    diffpy.Structure.Parsers.P_discus module

    Parser for DISCUS structure format

    @@ -306,7 +260,7 @@

    Parsers

    -

    P_pdb Module

    +

    diffpy.Structure.Parsers.P_pdb module

    Basic parser for PDB structure format.

    References

    @@ -374,7 +328,7 @@

    Parsers

    -

    P_pdffit Module

    +

    diffpy.Structure.Parsers.P_pdffit module

    Parser for PDFfit structure format

    @@ -405,7 +359,7 @@

    Parsers

    -

    P_rawxyz Module

    +

    diffpy.Structure.Parsers.P_rawxyz module

    Parser for raw XYZ file format. Raw XYZ is a 3 or 4 column text file with cartesian coordinates of atoms and an optional first column for atom types.

    @@ -437,7 +391,7 @@

    Parsers

    -

    P_xcfg Module

    +

    diffpy.Structure.Parsers.P_xcfg module

    Parser for extended CFG format used by atomeye

    @@ -476,7 +430,7 @@

    Parsers

    -

    P_xyz Module

    +

    diffpy.Structure.Parsers.P_xyz module

    Parser for XYZ file format, where first line gives number of atoms second one has optional title @@ -509,13 +463,13 @@

    Parsers

    -

    parser_index_mod Module

    +

    diffpy.Structure.Parsers.parser_index_mod module

    Index of recognized structure formats, their IO capabilities and associated modules where they are defined. Plugins for new structure formats need to be added to the parser_index dictionary in this module.

    -

    structureparser Module

    +

    diffpy.Structure.Parsers.structureparser module

    Definition of StructureParser, a base class for specific parsers.

    @@ -567,6 +521,43 @@

    Parsers

    +
    +
    +

    Module contents

    +

    Conversion plugins for various structure formats

    +

    The recognized structure formats are defined by subclassing StructureParser, +by convention these classes are named P_<format>. The parser classes should +to override the parseLines() and toLines() methods of StructureParser. +Any structure parser needs to be registered in parser_index module.

    +

    For normal usage it should be sufficient to use the routines provided +in this module.

    +
    +
    Content:
    +
    StructureParser – base class for concrete Parsers +parser_index – dictionary of known structure formats +getParser – factory for Parser at given format +inputFormats – list of available input formats +outputFormats – list of available output formats
    +
    +
    +
    +diffpy.Structure.Parsers.getParser(format)
    +

    Return Parser instance for a given structure format. +Raises StructureFormatError exception when format is not defined.

    +
    + +
    +
    +diffpy.Structure.Parsers.inputFormats()
    +

    Return list of implemented input structure formats

    +
    + +
    +
    +diffpy.Structure.Parsers.outputFormats()
    +

    return list of implemented output structure formats

    +
    +
    @@ -578,29 +569,24 @@

    Parsers

  • modules |
  • -
  • - next |
  • -
  • - previous |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • -
  • Structure Package »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • \ No newline at end of file diff --git a/api/diffpy.Structure.applications.html b/api/diffpy.Structure.applications.html index 3785e71d..fbb03d6a 100644 --- a/api/diffpy.Structure.applications.html +++ b/api/diffpy.Structure.applications.html @@ -1,5 +1,3 @@ - - @@ -8,7 +6,7 @@ - applications Package — diffpy.Structure 1.2b0-18 documentation + diffpy.Structure.applications package — diffpy.Structure 1.2b2 documentation @@ -16,7 +14,7 @@ - - - - + @@ -57,14 +45,13 @@

    Navigation

    -
    -

    applications Package

    -
    -

    applications Package

    -

    Script applications that use the diffpy.Structure package.

    +
    +

    diffpy.Structure.applications package

    +
    +

    Submodules

    -

    anyeye Module

    +

    diffpy.Structure.applications.anyeye module

    anyeye view structure file in atomeye Usage: anyeye [options] strufile

    anyeye understands more structure formats than atomeye. It converts strufile @@ -166,7 +153,7 @@

    applications
    -

    transtru Module

    +

    diffpy.Structure.applications.transtru module

    transtru translate structure file to different format Usage: transtru INFMT..OUTFMT strufile

    translates structure file strufile from INFMT to OUTFMT format and prints it @@ -209,6 +196,10 @@

    applicationsdiffpy.Structure.applications.transtru.version()
    +

    +
    +

    Module contents

    +

    Script applications that use the diffpy.Structure package.

    @@ -220,20 +211,15 @@

    applications

    Table Of Contents

  • modules |
  • -
  • - next |
  • -
  • - previous |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • -
  • Structure Package »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • \ No newline at end of file diff --git a/api/diffpy.Structure.expansion.html b/api/diffpy.Structure.expansion.html index ec9a1c85..aeead16e 100644 --- a/api/diffpy.Structure.expansion.html +++ b/api/diffpy.Structure.expansion.html @@ -1,5 +1,3 @@ - - @@ -8,7 +6,7 @@ - expansion Package — diffpy.Structure 1.2b0-18 documentation + diffpy.Structure.expansion package — diffpy.Structure 1.2b2 documentation @@ -16,7 +14,7 @@ - - - + @@ -53,16 +45,13 @@

    Navigation

    -
    -

    expansion Package

    -
    -

    expansion Package

    -

    Methods and classes for manipulating Structure instances.

    -

    Package content:

    -

    supercell – create a supercell from an existing Structure.

    +
    +

    diffpy.Structure.expansion package

    +
    +

    Submodules

    -

    makeCuboctahedron Module

    +

    diffpy.Structure.expansion.makeCuboctahedron module

    Make a spheroid nanoparticle from a template structure.

    @@ -76,7 +65,7 @@

    expansion
    -

    makeEllipsoid Module

    +

    diffpy.Structure.expansion.makeEllipsoid module

    Make a spheroid nanoparticle from a template structure.

    @@ -107,7 +96,7 @@

    expansion
    -

    shapeUtils Module

    +

    diffpy.Structure.expansion.shapeUtils module

    Utilities for making shapes.

    @@ -119,7 +108,7 @@

    expansion
    -

    supercell_mod Module

    +

    diffpy.Structure.expansion.supercell_mod module

    This module contains functions for simple structure manipulation.

    @@ -137,6 +126,12 @@

    expansion

    +
    +
    +

    Module contents

    +

    Methods and classes for manipulating Structure instances.

    +

    Package content:

    +

    supercell – create a supercell from an existing Structure.

    @@ -148,19 +143,17 @@

    expansion

    Table Of Contents

  • modules |
  • -
  • - previous |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • -
  • Structure Package »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • \ No newline at end of file diff --git a/api/diffpy.Structure.html b/api/diffpy.Structure.html index 39a79d4f..e584f162 100644 --- a/api/diffpy.Structure.html +++ b/api/diffpy.Structure.html @@ -1,5 +1,3 @@ - - @@ -8,7 +6,7 @@ - Structure Package — diffpy.Structure 1.2b0-18 documentation + diffpy.Structure package — diffpy.Structure 1.2b2 documentation @@ -16,7 +14,7 @@ - - - + @@ -55,47 +45,52 @@

    Navigation

    -
    -

    Structure Package

    -
    -

    Structure Package

    -

    classes related to structure of materials -Classes:

    -
    -
    Atom -Lattice -Structure -PDFFitStructure
    -
    -
    Exceptions:
    -
    StructureFormatError -LatticeError -SymmetryError -IsotropyError
    -
    -
    -
    -diffpy.Structure.loadStructure(filename, fmt='auto')
    -

    Load a new structure from a specified file.

    -

    filename – file to be loaded -fmt – format of the structure file. Must be one of the formats

    -
    -
    defined in the Parsers subpackage. When ‘auto’, all -Parsers are tried in sequence.
    -

    Return a new Structure object. -Return PDFFitStructure object for ‘pdffit’ or ‘discus’ formats.

    -
    - -
    -
    -diffpy.Structure.test()
    -

    Execute all unit tests for the diffpy.Structure package. -Return a unittest TestResult object.

    -
    - +
    +

    diffpy.Structure package

    + +
    +

    Submodules

    -

    SpaceGroups Module

    +

    diffpy.Structure.SpaceGroups module

    Space group classes and definitions from mmLib and sgtbx.

    @@ -118,7 +113,7 @@

    Structure
    -

    StructureErrors Module

    +

    diffpy.Structure.StructureErrors module

    Exceptions used in Structure package.

    @@ -150,7 +145,7 @@

    Structure
    -

    SymmetryUtilities Module

    +

    diffpy.Structure.SymmetryUtilities module

    Symmetry utility functions such as expansion of asymmetric unit, and generation of positional constraints.

    @@ -433,7 +428,7 @@

    Structure
    -

    atom Module

    +

    diffpy.Structure.atom module

    class Atom for storing properties of a single atom

    @@ -641,7 +636,7 @@

    Structure
    -

    bratomsstructure Module

    +

    diffpy.Structure.bratomsstructure module

    definition of BRAtomsStructure class derived from Structure

    @@ -668,7 +663,7 @@

    Structure
    -

    lattice Module

    +

    diffpy.Structure.lattice module

    class Lattice stores properites and provides simple operations in lattice coordinate system.

    @@ -954,11 +949,11 @@

    Structure
    -

    mmlibspacegroups Module

    +

    diffpy.Structure.mmlibspacegroups module

    Space groups defined as a part of the pymmlib.

    -

    pdffitstructure Module

    +

    diffpy.Structure.pdffitstructure module

    definition of PDFFitStructure class derived from Structure

    @@ -1000,14 +995,14 @@

    Structure
    -

    sgtbxspacegroups Module

    +

    diffpy.Structure.sgtbxspacegroups module

    Extra space group representations generated using sgtbx module from cctbx. Import of this module extends the SpaceGroupList in the SpaceGroups module. Notable variables:

    sgtbxSpaceGroupList – list of space group instances defined in this module

    -

    spacegroupmod Module

    +

    diffpy.Structure.spacegroupmod module

    Symmetry operations as functions on vectors or arrays.

    @@ -1055,11 +1050,11 @@

    Structure
    -

    structure Module

    +

    diffpy.Structure.structure module

    This module defines class Structure.

    -class diffpy.Structure.structure.Structure(atoms=[], lattice=None, title=None, filename=None, format=None)
    +class diffpy.Structure.structure.Structure(atoms=, []lattice=None, title=None, filename=None, format=None)

    Bases: list

    Structure –> group of atoms

    Structure class is inherited from Python list. It contains @@ -1411,7 +1406,7 @@

    Structure
    -

    utils Module

    +

    diffpy.Structure.utils module

    Small shared functions.

    @@ -1430,44 +1425,45 @@

    Structure
    -

    version Module

    +

    diffpy.Structure.version module

    Definition of __version__, __date__, __gitsha__.

    -
    -

    Subpackages

    - +
    +

    Module contents

    +

    classes related to structure of materials +Classes:

    +
    +
    Atom +Lattice +Structure +PDFFitStructure
    +
    +
    Exceptions:
    +
    StructureFormatError +LatticeError +SymmetryError +IsotropyError
    +
    +
    +
    +diffpy.Structure.loadStructure(filename, fmt='auto')
    +

    Load a new structure from a specified file.

    +

    filename – file to be loaded +fmt – format of the structure file. Must be one of the formats

    +
    +
    defined in the Parsers subpackage. When ‘auto’, all +Parsers are tried in sequence.
    +

    Return a new Structure object. +Return PDFFitStructure object for ‘pdffit’ or ‘discus’ formats.

    +
    + +
    +
    +diffpy.Structure.test()
    +

    Execute all unit tests for the diffpy.Structure package. +Return a unittest TestResult object.

    +
    +
    @@ -1479,34 +1475,27 @@

    Subpackages

    Table Of Contents

  • modules |
  • -
  • - next |
  • -
  • - previous |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • \ No newline at end of file diff --git a/api/diffpy.Structure.tests.html b/api/diffpy.Structure.tests.html deleted file mode 100644 index 7fc1297b..00000000 --- a/api/diffpy.Structure.tests.html +++ /dev/null @@ -1,1129 +0,0 @@ - - - - - - - - - - tests Package — diffpy.Structure 1.2b0-18 documentation - - - - - - - - - - - - - - - - -
    -
    -
    -
    - -
    -

    tests Package

    -
    -

    tests Package

    -

    Unit tests for diffpy.Structure.

    -
    -
    -diffpy.Structure.tests.test()
    -

    Execute all unit tests for the diffpy.Structure package. -Return a unittest TestResult object.

    -
    - -
    -
    -diffpy.Structure.tests.testsuite()
    -

    Build a unit tests suite for the diffpy.Structure package.

    -

    Return a unittest.TestSuite object.

    -
    - -
    -
    -

    TestLattice Module

    -

    Unit tests for Lattice class.

    -
    -
    -class diffpy.Structure.tests.TestLattice.TestLattice(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -

    test methods of Lattice class

    -
    -
    -assertListAlmostEqual(l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -setUp()
    -
    - -
    -
    -test_latpar_properties()
    -

    check assignment to a, b, c, alpha, beta, gamma.

    -
    - -
    -
    -test_readonly_properties()
    -

    Check that read-only properties are indeed such.

    -
    - -
    -
    -test_repr()
    -

    check string representation of this lattice

    -
    - -
    -
    -test_setLatBase()
    -

    check calculation of unit cell rotation

    -
    - -
    -
    -test_setLatPar()
    -

    check calculation of standard unit cell vectors

    -
    - -
    - -
    -
    -

    TestLoadStructure Module

    -

    Unit tests for the loadStructure factory.

    -
    -
    -class diffpy.Structure.tests.TestLoadStructure.TestLoadStructure(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -
    -
    -test_badfile()
    -

    check loading of CIF file format

    -
    - -
    -
    -test_cif()
    -

    check loading of CIF file format

    -
    - -
    -
    -test_discus()
    -

    check loading of discus file format

    -
    - -
    -
    -test_xcfg()
    -

    check loading of atomeye xcfg format

    -
    - -
    - -
    -
    -

    TestP_cif Module

    -

    Unit tests for diffpy.Structure.Parsers.P_cif module

    -
    -
    -class diffpy.Structure.tests.TestP_cif.TestP_cif(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -
    -
    -assertListAlmostEqual(l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -badciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/LiCl-bad.cif'
    -
    - -
    -
    -cdsebulkpdffitfile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/CdSe_bulk.stru'
    -
    - -
    -
    -goodciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/PbTe.cif'
    -
    - -
    -
    -graphiteciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/graphite.cif'
    -
    - -
    -
    -places = 6
    -
    - -
    -
    -setUp()
    -
    - -
    -
    -tearDown()
    -
    - -
    -
    -teiciffile = '/home/xyang/workspace/diffpy-release/Linux/lib/python2.7/site-packages/diffpy.Structure-1.2b0-py2.7.egg/diffpy/Structure/tests/testdata/TeI.cif'
    -
    - -
    -
    -test_parse()
    -

    check P_cif.parse()

    -
    - -
    -
    -test_parseFile()
    -

    check P_cif.parseFile()

    -
    - -
    -
    -test_parseLines()
    -

    check P_cif.parseLines()

    -
    - -
    -
    -test_write_and_read()
    -

    high-level check of P_cif.tostring()

    -
    - -
    - -
    -
    -class diffpy.Structure.tests.TestP_cif.TestRoutines(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -
    -
    -setUp()
    -
    - -
    -
    -tearDown()
    -
    - -
    -
    -test_getSymOp()
    -

    check getSymOp()

    -
    - -
    -
    -test_leading_float()
    -

    check leading_float()

    -
    - -
    - -
    -
    -

    TestP_discus Module

    -

    Unit tests for diffpy.Structure.Parsers.P_discus module

    -
    -
    -class diffpy.Structure.tests.TestP_discus.TestP_discus(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -

    test Parser for PDFFit file format

    -
    -
    -assertListAlmostEqual(l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -setUp()
    -
    - -
    -
    -test_except_other_formats()
    -

    check exceptions when reading files in other formats

    -
    - -
    -
    -test_ignored_lines()
    -

    check skipping of ignored lines in the header

    -
    - -
    -
    -test_read_discus_Ni()
    -

    check reading of Ni structure in discus format

    -
    - -
    -
    -test_spdiameter_parsing()
    -

    check parsing of spdiameter record from a file.

    -
    - -
    -
    -test_stepcut_parsing()
    -

    check parsing of stepcut record from a file.

    -
    - -
    - -
    -
    -diffpy.Structure.tests.TestP_discus.assertListAlmostEqual(self, l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -

    TestP_pdffit Module

    -

    Unit tests for diffpy.Structure.Parsers.P_pdffit module

    -
    -
    -class diffpy.Structure.tests.TestP_pdffit.TestP_pdffit(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -

    test Parser for PDFFit file format

    -
    -
    -assertListAlmostEqual(l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -setUp()
    -
    - -
    -
    -test_huge_occupancy()
    -

    check structure with huge occupancy can be read.

    -
    - -
    -
    -test_ignored_lines()
    -

    check skipping of ignored lines in the header

    -
    - -
    -
    -test_read_pdffit_Ni()
    -

    check reading of Ni pdffit structure file

    -
    - -
    -
    -test_read_pdffit_Ni_prim123()
    -

    check reading of Ni_prim supercell 1x2x3

    -
    - -
    -
    -test_read_pdffit_ZnSb()
    -

    check reading of ZnSb pdffit structure file

    -
    - -
    -
    -test_read_pdffit_bad()
    -

    check exceptions when reading invalid pdffit file

    -
    - -
    -
    -test_spdiameter_parsing()
    -

    check parsing of spdiameter record from a file.

    -
    - -
    -
    -test_stepcut_parsing()
    -

    check parsing of stepcut record from a file.

    -
    - -
    -
    -test_writeStr_pdffit()
    -

    check writing of normal xyz file

    -
    - -
    - -
    -
    -diffpy.Structure.tests.TestP_pdffit.assertListAlmostEqual(self, l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -

    TestParsers Module

    -

    Unit tests for Structure.Parsers module.

    -
    -
    -class diffpy.Structure.tests.TestParsers.TestP_bratoms(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -

    test Parser for Bruce Ravel’s atoms file format

    -
    -
    -setUp()
    -
    - -
    -
    -test_read_bratoms_bad()
    -

    check exceptions when reading invalid bratoms file

    -
    - -
    -
    -test_writeStr_cif()
    -

    check conversion to CIF string

    -
    - -
    - -
    -
    -class diffpy.Structure.tests.TestParsers.TestP_pdb(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -

    test Parser for PDB file format

    -
    -
    -assertListAlmostEqual(l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -setUp()
    -
    - -
    -
    -test_read_pdb_arginine()
    -

    check reading of arginine PDB file

    -
    - -
    -
    -test_rwStr_pdb_CdSe()
    -

    check conversion to PDB file format

    -
    - -
    - -
    -
    -class diffpy.Structure.tests.TestParsers.TestP_rawxyz(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -

    test Parser for rawxyz file format

    -
    -
    -setUp()
    -
    - -
    -
    -test_read_plainxyz()
    -

    check reading of a plain xyz file

    -
    - -
    -
    -test_read_plainxyz_bad()
    -

    check exceptions when reading invalid plain xyz file

    -
    - -
    -
    -test_read_rawxyz()
    -

    check reading of raw xyz file

    -
    - -
    -
    -test_read_rawxyz_bad()
    -

    check exceptions when reading unsupported xy file

    -
    - -
    -
    -test_writeStr_rawxyz()
    -

    check writing of normal xyz file

    -
    - -
    - -
    -
    -class diffpy.Structure.tests.TestParsers.TestP_xcfg(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -

    test Parser for XCFG file format

    -
    -
    -assertListAlmostEqual(l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -setUp()
    -
    - -
    -
    -test_read_xcfg()
    -

    check reading of BubbleRaft XCFG file

    -
    - -
    -
    -test_rwStr_xcfg_CdSe()
    -

    check conversion to XCFG file format

    -
    - -
    - -
    -
    -class diffpy.Structure.tests.TestParsers.TestP_xyz(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -

    test Parser for xyz file format

    -
    -
    -setUp()
    -
    - -
    -
    -tearDown()
    -
    - -
    -
    -test_read_xyz()
    -

    check reading of normal xyz file

    -
    - -
    -
    -test_read_xyz_bad()
    -

    check exceptions when reading invalid xyz file

    -
    - -
    -
    -test_writeStr_xyz()
    -

    check string representation of normal xyz file

    -
    - -
    -
    -test_write_xyz()
    -

    check writing of normal xyz file

    -
    - -
    - -
    -
    -diffpy.Structure.tests.TestParsers.assertListAlmostEqual(self, l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -

    TestStructure Module

    -

    Unit tests for Structure class.

    -
    -
    -class diffpy.Structure.tests.TestStructure.TestStructure(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -

    test methods of Structure class

    -
    -
    -assertListAlmostEqual(l1, l2, places=None)
    -

    wrapper for list comparison

    -
    - -
    -
    -setUp()
    -
    - -
    -
    -test_Bij()
    -

    check Structure.Bij

    -
    - -
    -
    -test_Bisoequiv()
    -

    check Structure.Bisoequiv

    -
    - -
    -
    -test_U()
    -

    check Structure.U

    -
    - -
    -
    -test_Uij()
    -

    check Structure.Uij

    -
    - -
    -
    -test_Uisoequiv()
    -

    check Structure.Uisoequiv

    -
    - -
    -
    -test___add__()
    -

    check Structure.__add__()

    -
    - -
    -
    -test___copy__()
    -

    check Structure.__copy__()

    -
    - -
    -
    -test___getitem__()
    -

    check Structure.__getitem__()

    -
    - -
    -
    -test___getslice__()
    -

    check Structure.__getslice__()

    -
    - -
    -
    -test___iadd__()
    -

    check Structure.__iadd__()

    -
    - -
    -
    -test___imul__()
    -

    check Structure.__imul__()

    -
    - -
    -
    -test___isub__()
    -

    check Structure.__isub__()

    -
    - -
    -
    -test___mul__()
    -

    check Structure.__mul__()

    -
    - -
    -
    -test___setitem__()
    -

    check Structure.__setitem__()

    -
    - -
    -
    -test___setslice__()
    -

    check Structure.__setslice__()

    -
    - -
    -
    -test___sub__()
    -

    check Structure.__sub__()

    -
    - -
    -
    -test__get_lattice()
    -

    check Structure._get_lattice()

    -
    - -
    -
    -test__set_lattice()
    -

    check Structure._set_lattice()

    -
    - -
    -
    -test_angle()
    -

    check Structure.angle()

    -
    - -
    -
    -test_anisotropy()
    -

    check Structure.anisotropy

    -
    - -
    -
    -test_append()
    -

    check Structure.append()

    -
    - -
    -
    -test_aslist()
    -

    check Structure.tolist()

    -
    - -
    -
    -test_assignUniqueLabels()
    -

    check Structure.assignUniqueLabels()

    -
    - -
    -
    -test_cartesian()
    -

    check conversion to cartesian coordinates

    -
    - -
    -
    -test_distance()
    -

    check Structure.distance()

    -
    - -
    -
    -test_element()
    -

    check Structure.element

    -
    - -
    -
    -test_extend()
    -

    check Structure.extend()

    -
    - -
    -
    -test_insert()
    -

    check Structure.insert()

    -
    - -
    -
    -test_label()
    -

    check Structure.label

    -
    - -
    -
    -test_occupancy()
    -

    check Structure.occupancy

    -
    - -
    -
    -test_placeInLattice()
    -

    check Structure.placeInLattice() – conversion of coordinates

    -
    - -
    -
    -test_x()
    -

    check Structure.x

    -
    - -
    -
    -test_xyz()
    -

    check Structure.xyz

    -
    - -
    -
    -test_xyz_cartn()
    -

    check Structure.xyz_cartn

    -
    - -
    -
    -test_y()
    -

    check Structure.y

    -
    - -
    -
    -test_z()
    -

    check Structure.z

    -
    - -
    - -
    -
    -

    TestSuperCell Module

    -

    Unit tests for supercell.py

    -
    -
    -class diffpy.Structure.tests.TestSuperCell.TestSuperCell(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -
    -
    -setUp()
    -
    - -
    -
    -stru_cdse = None
    -
    - -
    -
    -stru_ni = None
    -
    - -
    -
    -tearDown()
    -
    - -
    -
    -test_cdse_supercell()
    -

    check supercell expansion for CdSe.

    -
    - -
    -
    -test_exceptions()
    -

    check argument checking of supercell.

    -
    - -
    -
    -test_ni_supercell()
    -

    check supercell expansion for Ni.

    -
    - -
    - -
    -
    -

    TestSymmetryUtilities Module

    -

    Unit tests for SymmetryUtilities.py

    -
    -
    -class diffpy.Structure.tests.TestSymmetryUtilities.TestGeneratorSite(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -
    -
    -generators = {}
    -
    - -
    -
    -setUp()
    -
    - -
    -
    -tearDown()
    -
    - -
    -
    -test_UFormula()
    -

    check GeneratorSite.UFormula()

    -
    - -
    -
    -test_UFormula_g186c_eqxyz()
    -

    Check rotated U formulas at the symmetry positions of c-site in 186.

    -
    - -
    -
    -test___init__()
    -

    check GeneratorSite.__init__()

    -
    - -
    -
    -test__findUParameters()
    -

    check GeneratorSite._findUParameters()

    -
    - -
    -
    -test_eqIndex()
    -

    check GeneratorSite.eqIndex()

    -
    - -
    -
    -test_positionFormula()
    -

    check GeneratorSite.positionFormula()

    -
    - -
    - -
    -
    -class diffpy.Structure.tests.TestSymmetryUtilities.TestRoutines(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -
    -
    -setUp()
    -
    - -
    -
    -tearDown()
    -
    - -
    -
    -test_expandPosition()
    -

    check expandPosition()

    -
    - -
    -
    -test_isSpaceGroupLatPar()
    -

    check isSpaceGroupLatPar()

    -
    - -
    -
    -test_isconstantFormula()
    -

    check isconstantFormula()

    -
    - -
    -
    -test_pruneFormulaDictionary()
    -

    check pruneFormulaDictionary()

    -
    - -
    - -
    -
    -class diffpy.Structure.tests.TestSymmetryUtilities.TestSymmetryConstraints(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -
    -
    -setUp()
    -
    - -
    -
    -tearDown()
    -
    - -
    -
    -test_UparSymbols()
    -

    check SymmetryConstraints.UparSymbols()

    -
    - -
    -
    -test_UparValues()
    -

    check SymmetryConstraints.UparValues()

    -
    - -
    -
    -test___init__()
    -

    check SymmetryConstraints.__init__()

    -
    - -
    -
    -test_corepos()
    -

    test_corepos - find positions in the asymmetric unit.

    -
    - -
    - -
    -
    -class diffpy.Structure.tests.TestSymmetryUtilities.Test_Position2Tuple(methodName='runTest')
    -

    Bases: unittest.case.TestCase

    -
    -
    -setUp()
    -
    - -
    -
    -tearDown()
    -
    - -
    -
    -test___call__()
    -

    check _Position2Tuple.__call__()

    -
    - -
    -
    -test___init__()
    -

    check _Position2Tuple.__init__()

    -
    - -
    - -
    -
    -

    run Module

    -

    Convenience module for executing all unit tests with

    -

    python -m diffpy.Structure.tests.run

    -
    -
    -

    testutils Module

    -

    Helper routines for running other unit tests.

    -
    -
    -diffpy.Structure.tests.testutils.datafile(filename)
    -
    - -
    -
    - - -
    -
    -
    -
    -
    -

    Table Of Contents

    - - -

    Previous topic

    -

    expansion Package

    -

    This Page

    - - - -
    -
    -
    -
    - - - - \ No newline at end of file diff --git a/api/diffpy.html b/api/diffpy.html index fad5acc5..8e4a7004 100644 --- a/api/diffpy.html +++ b/api/diffpy.html @@ -1,5 +1,3 @@ - - @@ -8,7 +6,7 @@ - diffpy Package — diffpy.Structure 1.2b0-18 documentation + diffpy package — diffpy.Structure 1.2b2 documentation @@ -16,7 +14,7 @@ - + @@ -48,63 +46,72 @@

    Navigation

    -

    diffpy Package

    +

    diffpy package

    Subpackages

    +
    +

    Module contents

    +

    diffpy - tools for structure analysis by diffraction.

    +

    Blank namespace package.

    +
    @@ -115,10 +122,9 @@

    Subpackages

    Table Of Contents

    \ No newline at end of file diff --git a/api/modules.html b/api/modules.html index 153a9fc1..cc7fb97a 100644 --- a/api/modules.html +++ b/api/modules.html @@ -1,5 +1,3 @@ - - @@ -8,7 +6,7 @@ - diffpy — diffpy.Structure 1.2b0-18 documentation + diffpy — diffpy.Structure 1.2b2 documentation @@ -16,7 +14,7 @@ - + @@ -51,28 +49,30 @@

    Navigation

    diffpy

    \ No newline at end of file diff --git a/genindex.html b/genindex.html index 506a890f..fd6bcaf3 100644 --- a/genindex.html +++ b/genindex.html @@ -1,7 +1,4 @@ - - - @@ -10,15 +7,15 @@ - Index — diffpy.Structure 1.2b0-18 documentation + Index — diffpy.Structure 1.2b2 documentation - + @@ -327,10 +324,18 @@

    D

    + - @@ -275,12 +273,12 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • \ No newline at end of file diff --git a/search.html b/search.html index e83c3c16..f6596077 100644 --- a/search.html +++ b/search.html @@ -1,5 +1,3 @@ - - @@ -8,15 +6,15 @@ - Search — diffpy.Structure 1.2b0-18 documentation + Search — diffpy.Structure 1.2b2 documentation - + + + @@ -44,7 +44,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • @@ -95,12 +95,12 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • \ No newline at end of file diff --git a/searchindex.js b/searchindex.js index 063f5e92..cc33ee32 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({objects:{"diffpy.Structure.SpaceGroups":{IsSpaceGroupIdentifier:[6,5,1,""],GetSpaceGroup:[6,5,1,""]},diffpy:{Structure:[6,0,1,""]},"diffpy.Structure.Parsers.P_discus.P_discus":{parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.expansion":{shapeUtils:[7,0,1,""],supercell_mod:[7,0,1,""],makeCuboctahedron:[7,0,1,""],makeEllipsoid:[7,0,1,""]},"diffpy.Structure.Parsers.structureparser":{StructureParser:[2,3,1,""]},"diffpy.Structure.bratomsstructure":{BRAtomsStructure:[6,3,1,""]},"diffpy.Structure.Parsers.P_pdb":{getParser:[2,5,1,""],P_pdb:[2,3,1,""]},"diffpy.Structure.spacegroupmod.SpaceGroup":{iter_symops:[6,1,1,""],check_group_name:[6,1,1,""],iter_equivalent_positions:[6,1,1,""]},"diffpy.Structure.SymmetryUtilities.SymmetryConstraints":{UparValues:[6,1,1,""],UFormulas:[6,1,1,""],posparSymbols:[6,1,1,""],positionFormulas:[6,1,1,""],positionFormulasPruned:[6,1,1,""],UparSymbols:[6,1,1,""],posparValues:[6,1,1,""],UFormulasPruned:[6,1,1,""]},"diffpy.Structure.SymmetryUtilities":{isconstantFormula:[6,5,1,""],equalPositions:[6,5,1,""],nullSpace:[6,5,1,""],SymmetryConstraints:[6,3,1,""],expandPosition:[6,5,1,""],isSpaceGroupLatPar:[6,5,1,""],positionDifference:[6,5,1,""],pruneFormulaDictionary:[6,5,1,""],ExpandAsymmetricUnit:[6,3,1,""],nearestSiteIndex:[6,5,1,""]},"diffpy.Structure.Parsers.P_auto.P_auto":{parse:[2,1,1,""],parseFile:[2,1,1,""],parseLines:[2,1,1,""]},"diffpy.Structure.SymmetryUtilities.GeneratorSite":{eqIndex:[6,1,1,""],idx2Usymbol:[6,2,1,""],Ucomponents:[6,2,1,""],signedRatStr:[6,1,1,""],UFormula:[6,1,1,""],positionFormula:[6,1,1,""]},"diffpy.Structure.Parsers.P_auto":{getParser:[2,5,1,""],P_auto:[2,3,1,""]},"diffpy.Structure.pdffitstructure.PDFFitStructure":{read:[6,1,1,""],readStr:[6,1,1,""]},"diffpy.Structure.expansion.makeEllipsoid":{makeEllipsoid:[7,5,1,""],makeSphere:[7,5,1,""]},"diffpy.Structure.expansion.shapeUtils":{findCenter:[7,5,1,""]},"diffpy.Structure.Parsers.P_pdffit.P_pdffit":{parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.Parsers.P_pdb.P_pdb":{parseLines:[2,1,1,""],cryst1Lines:[2,1,1,""],orderOfRecords:[2,2,1,""],toLines:[2,1,1,""],validRecords:[2,2,1,""],atomLines:[2,1,1,""],titleLines:[2,1,1,""]},"diffpy.Structure.Parsers.P_pdffit":{getParser:[2,5,1,""],P_pdffit:[2,3,1,""]},"diffpy.Structure.Parsers.P_cif.P_cif":{parse:[2,1,1,""],parseFile:[2,1,1,""],parseLines:[2,1,1,""],BtoU:[2,2,1,""],toLines:[2,1,1,""]},"diffpy.Structure.StructureErrors":{LatticeError:[6,4,1,""],StructureFormatError:[6,4,1,""],IsotropyError:[6,4,1,""],SymmetryError:[6,4,1,""]},"diffpy.Structure.expansion.supercell_mod":{supercell:[7,5,1,""]},"diffpy.Structure.utils":{isfloat:[6,5,1,""],atomBareSymbol:[6,5,1,""]},"diffpy.Structure":{SpaceGroups:[6,0,1,""],version:[6,0,1,""],loadStructure:[6,5,1,""],mmlibspacegroups:[6,0,1,""],Parsers:[2,0,1,""],utils:[6,0,1,""],StructureErrors:[6,0,1,""],expansion:[7,0,1,""],pdffitstructure:[6,0,1,""],spacegroupmod:[6,0,1,""],bratomsstructure:[6,0,1,""],applications:[0,0,1,""],SymmetryUtilities:[6,0,1,""],lattice:[6,0,1,""],atom:[6,0,1,""],test:[6,5,1,""],sgtbxspacegroups:[6,0,1,""],structure:[6,0,1,""]},"diffpy.Structure.Parsers.P_xyz":{getParser:[2,5,1,""],P_xyz:[2,3,1,""]},"diffpy.Structure.applications":{transtru:[0,0,1,""],anyeye:[0,0,1,""]},"diffpy.Structure.pdffitstructure":{PDFFitStructure:[6,3,1,""]},"diffpy.Structure.spacegroupmod":{SpaceGroup:[6,3,1,""],SymOp:[6,3,1,""]},"diffpy.Structure.applications.transtru":{usage:[0,5,1,""],main:[0,5,1,""],version:[0,5,1,""]},"diffpy.Structure.Parsers":{P_discus:[2,0,1,""],P_cif:[2,0,1,""],P_rawxyz:[2,0,1,""],P_xyz:[2,0,1,""],getParser:[2,5,1,""],structureparser:[2,0,1,""],P_pdffit:[2,0,1,""],parser_index_mod:[2,0,1,""],P_xcfg:[2,0,1,""],inputFormats:[2,5,1,""],outputFormats:[2,5,1,""],P_bratoms:[2,0,1,""],P_auto:[2,0,1,""],P_pdb:[2,0,1,""]},"diffpy.Structure.Parsers.P_xcfg":{getParser:[2,5,1,""],P_xcfg:[2,3,1,""]},"diffpy.Structure.Parsers.P_xyz.P_xyz":{parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.atom.Atom":{msdCart:[6,1,1,""],U33:[6,2,1,""],B13:[6,2,1,""],B11:[6,2,1,""],U11:[6,2,1,""],U13:[6,2,1,""],B33:[6,2,1,""],x:[6,2,1,""],U12:[6,2,1,""],Bisoequiv:[6,2,1,""],occupancy:[6,2,1,""],Uisoequiv:[6,2,1,""],lattice:[6,2,1,""],label:[6,2,1,""],U:[6,2,1,""],msdLat:[6,1,1,""],U22:[6,2,1,""],U23:[6,2,1,""],xyz_cartn:[6,2,1,""],anisotropy:[6,2,1,""],B23:[6,2,1,""],B22:[6,2,1,""],tol_anisotropy:[6,2,1,""],element:[6,2,1,""],y:[6,2,1,""],B12:[6,2,1,""],z:[6,2,1,""]},"diffpy.Structure.spacegroupmod.SymOp":{is_identity:[6,1,1,""]},"diffpy.Structure.Parsers.P_xcfg.P_xcfg":{cluster_boundary:[2,2,1,""],parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.Parsers.P_rawxyz.P_rawxyz":{parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.applications.anyeye":{convertStructureFile:[0,5,1,""],die:[0,5,1,""],watchStructureFile:[0,5,1,""],version:[0,5,1,""],signalHandler:[0,5,1,""],usage:[0,5,1,""],parseFormula:[0,5,1,""],cleanUp:[0,5,1,""],main:[0,5,1,""],loadStructureFile:[0,5,1,""]},"diffpy.Structure.lattice":{Lattice:[6,3,1,""],sind:[6,5,1,""],cosd:[6,5,1,""]},"diffpy.Structure.atom":{Atom:[6,3,1,""]},"diffpy.Structure.Parsers.P_rawxyz":{getParser:[2,5,1,""],P_rawxyz:[2,3,1,""]},"diffpy.Structure.Parsers.P_bratoms":{getParser:[2,5,1,""],P_bratoms:[2,3,1,""]},"diffpy.Structure.structure":{Structure:[6,3,1,""]},"diffpy.Structure.Parsers.P_cif":{getParser:[2,5,1,""],leading_float:[2,5,1,""],P_cif:[2,3,1,""],getSymOp:[2,5,1,""],fixIfWindowsPath:[2,5,1,""]},"diffpy.Structure.Parsers.structureparser.StructureParser":{parse:[2,1,1,""],parseLines:[2,1,1,""],parseFile:[2,1,1,""],tostring:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.expansion.makeCuboctahedron":{makeCuboctahedron:[7,5,1,""]},"diffpy.Structure.Parsers.P_bratoms.P_bratoms":{parseLines:[2,1,1,""],plist:[2,2,1,""],toLines:[2,1,1,""]},"diffpy.Structure.structure.Structure":{readStr:[6,1,1,""],Uisoequiv:[6,2,1,""],writeStr:[6,1,1,""],U33:[6,2,1,""],B13:[6,2,1,""],B12:[6,2,1,""],B11:[6,2,1,""],U11:[6,2,1,""],U13:[6,2,1,""],U12:[6,2,1,""],B33:[6,2,1,""],append:[6,1,1,""],angle:[6,1,1,""],title:[6,2,1,""],assignUniqueLabels:[6,1,1,""],Bisoequiv:[6,2,1,""],occupancy:[6,2,1,""],label:[6,2,1,""],write:[6,1,1,""],B23:[6,2,1,""],lattice:[6,2,1,""],placeInLattice:[6,1,1,""],composition:[6,2,1,""],tolist:[6,1,1,""],extend:[6,1,1,""],insert:[6,1,1,""],read:[6,1,1,""],U:[6,2,1,""],U22:[6,2,1,""],U23:[6,2,1,""],getLastAtom:[6,1,1,""],pdffit:[6,2,1,""],distance:[6,1,1,""],xyz_cartn:[6,2,1,""],anisotropy:[6,2,1,""],addNewAtom:[6,1,1,""],B22:[6,2,1,""],element:[6,2,1,""],y:[6,2,1,""],x:[6,2,1,""],z:[6,2,1,""],xyz:[6,2,1,""]},"diffpy.Structure.lattice.Lattice":{gamma:[6,2,1,""],dist:[6,1,1,""],cb:[6,2,1,""],ca:[6,2,1,""],sgr:[6,2,1,""],cg:[6,2,1,""],cbr:[6,2,1,""],ar:[6,2,1,""],sar:[6,2,1,""],cr:[6,2,1,""],abcABG:[6,1,1,""],cartesian:[6,1,1,""],angle:[6,1,1,""],fractional:[6,1,1,""],setLatPar:[6,1,1,""],setLatBase:[6,1,1,""],betar:[6,2,1,""],sbr:[6,2,1,""],a:[6,2,1,""],gammar:[6,2,1,""],unitvolume:[6,2,1,""],volume:[6,2,1,""],beta:[6,2,1,""],br:[6,2,1,""],alpha:[6,2,1,""],cgr:[6,2,1,""],alphar:[6,2,1,""],c:[6,2,1,""],b:[6,2,1,""],reciprocal:[6,1,1,""],car:[6,2,1,""],norm:[6,1,1,""],sb:[6,2,1,""],sa:[6,2,1,""],sg:[6,2,1,""],dot:[6,1,1,""]},"diffpy.Structure.Parsers.P_discus":{P_discus:[2,3,1,""],getParser:[2,5,1,""]}},terms:{anyey:[0,6,4],all:[1,6,2],code:[1,5],dist:[6,7],edg:6,represent:6,skip:[],stru_cds:[],symop:[6,2],subclass:[6,2],sratio:6,edu:[1,6],follow:[1,6,2,5],testsupercel:[],sgtbxspacegroup:[1,6,3,4],positionformula:6,row:6,"__setslice__":[],privat:6,typeerror:7,depend:[1,5],properit:6,like:[1,5],specif:[1,2],program:[0,1,6],vec:6,under:[1,5],aris:1,u2213:6,norm:6,merchant:1,datafil:[],sourc:[1,2,7],string:[6,2],ration:6,without:[1,5],fals:6,lib:[],uisoequiv:6,util:[1,6,3,7,4],symmetryconstraint:6,volum:6,whether:1,truste:1,exact:6,tri:6,getlastatom:6,level:[],p_bratom:[6,2,4],die:0,unsupport:[],list:[0,1,6,2],iter:6,spdiamet:[],item:[6,2],setitem:6,vector:6,cosin:6,pbc:2,plain:[],small:6,pospar:6,anisotropi:6,"__copy__":[],leonardo:6,round:6,node7:6,pleas:[1,5],atombaresymbol:6,impli:1,cosd:6,cfg:2,mno:7,b23:6,sync:6,molecul:2,sign:6,zero:6,pass:6,download:[1,5],ter:2,append:6,xyzsymbol:6,index:[1,6,2,7],pdffitstructur:[1,6,2,3,4],brief:0,overload:[6,2],cell:[6,7],stepcut:[],makecuboctahedron:[6,4,7],version:[0,1,6,3,4],u33:6,"new":[1,6,2,7,5],normbas:6,method:[6,2,7],metadata:6,bratomsstructur:[1,6,3,4],deriv:[1,6,2],urlopen:2,test_readonly_properti:[],gener:[1,6,2],test_repr:[],bisoequiv:6,test_ignored_lin:[],"_symmetry_space_group_name_hal":2,met:1,"_position2tupl":[],modif:1,testp_discu:[],ubuntu:[1,5],path:[1,2,5],along:[6,7],standard:[0,1,6,2,5],delta2:6,valu:[6,2],procur:1,convert:[0,6,2],msdcart:6,uparamet:6,shift:6,test_writestr_pdffit:[],prior:1,mtrix2:2,mtrix3:2,mtrix1:2,expressli:1,chang:[0,6],crystal_system:6,test_cartesian:[],znsb:[],"__getslice__":[],extra:6,search:[1,5],modul:[0,1,2,3,4,6,7],sgr:6,submodul:6,testloadstructur:[],uisotropi:6,unix:[1,5],"boolean":6,expandeduij:6,"_space_group_name_h":2,symmetryerror:6,total:6,unit:[6,2],rawxyz:2,kei:[6,2],from:[0,1,6,2,7],test_cdse_supercel:[],ca2:6,univers:1,iter_equivalent_posit:6,upar:6,deviat:6,call:6,type:[6,2],setlatpar:6,more:[0,1,6],scale1:2,scale2:2,scale3:2,relat:[1,6],origx1:2,eqxyz:6,origx3:2,origx2:2,trail:[6,2],flag:6,templat:7,particular:[1,6,2,5],known:2,"_anisotropi":6,cdse:[],must:[1,6],none:[0,6,2,7],expdta:2,car:6,setup:[1,5],testsuit:[],uniqu:[6,2],xyz1:6,xyz0:6,idx2usymbol:6,remain:[6,2],graphit:[],transtru:[0,6,4],caveat:2,waller:6,cdse_bulk:[],purpos:1,root:[1,5],cdsebulkpdffitfil:[],overrid:[0,2],nearest:[6,7],"_space_group_name_hal":2,give:2,process:6,slightli:[1,5],sudo:[1,5],share:6,indic:[1,6],baserot:6,high:[],unzip:[1,5],proprietari:1,plist:2,occup:6,huge:[],end:[6,2],testresult:6,siguij:2,anoth:7,endmdl:2,write:6,how:[1,5],obslt:2,"__init__":[],test_write_and_read:[],sprsde:2,test_badfil:[],simpl:[1,6,2,7],chri:1,updat:[1,6,5],tolist:6,product:[1,6],mmlibspacegroup:[1,6,3,4],recogn:2,gammar:6,"1x2x3":[],watch:0,p_xcfg:[6,2,4],rmax:6,test_latpar_properti:[],test_insert:[],reflect:6,befor:6,mac:[1,5],test_xyz_cartn:[],baresymbol:6,mai:[1,6,5],multipl:6,data:[1,6,2],"short":6,xyz_cartn:6,third:6,condit:[1,6],atomey:[0,2],explicit:[1,5],correspond:[6,2,7],stru:2,element:[0,6,2],caus:1,inform:[1,6],maintain:1,environ:[1,5],spheric:7,allow:6,pymmlib:6,egg:[],order:[0,2],origin:[6,2,7],test_angl:[],equij:6,composit:6,rotat:6,endors:1,stru_ni:[],getspacegroup:6,equatori:7,trade:1,cif_sgnam:2,thermal:[1,6],positionformulasprun:6,comma:0,nitrogen:6,diffpi:[0,1,2,3,4,5,6,7],test_uformula_g186c_eqxyz:[],test_write_xyz:[],paramet:[6,7],style:[0,6,2],group:[1,6,2,7],sgtbx:6,fit:1,fix:2,num_sym_equiv:6,tort:1,window:2,isotrop:6,isspacegrouplatpar:6,pythonpath:[1,5],waler:6,parseformula:0,main:0,"_finduparamet":[],non:[1,2,5],good:1,"return":[0,6,2,7],thei:2,python:[1,6,5],auto:[0,6],test_rwstr_xcfg_cds:[],interrupt:1,test_read_xyz:[],anis:2,nor:1,testsymmetryconstraint:[],modr:2,document:[1,2],name:[1,6,2,5],test_isconstantformula:[],separ:0,easili:[1,5],februari:1,test_read_pdffit_znsb:[],cctbx:6,found:6,poseqn:6,juha:1,mean:6,test_pruneformuladictionari:[],map:[6,2],test__set_lattic:[],findcent:7,test__finduparamet:[],runtest:[],aidx:2,"static":2,test_i:[],loadstructur:6,unchang:6,test_label:[],extract:2,orient:6,special:1,out:[0,1,7],variabl:[1,6,5],isconstantformula:6,matrix:6,test___copy__:[],profit:1,equivel:6,test_u:[],your:[1,5],content:[2,7],laid:1,adjust:[1,5],test__get_lattic:[],suitabl:1,lattic:[1,6,3,7,4],print:0,formula:[0,6,2],factori:2,matric:6,sbr:6,model:2,parsefil:2,test_setlatbas:[],domest:1,manipul:[1,7],given:[6,2],b33:6,"__setitem__":[],base:[6,2],theori:1,dictionari:[6,2],aid2:6,org:[1,2,5],aid0:6,aid1:6,expandasymmetricunit:[6,2],refer:[6,2],alphar:6,test_bij:[],hydbnd:2,convent:2,capabl:2,angl:[1,6],p_cif:[6,2,4],script:[0,1,5],test_aslist:[],turn:2,length:6,test___mul__:[],place:6,tol_anisotropi:6,u22:6,u23:6,retain:1,test_assignuniquelabel:[],testp_rawxyz:[],imposs:6,unitvolum:6,first:[0,6,2],oper:[1,6,5],softwar:[1,6,5],supercel:7,tei:[],arrai:[1,6,5],ncell:6,"__getitem__":[],number:[6,2],test___getslice__:[],instruct:[1,5],alreadi:6,test_eqindex:[],wrapper:[],symmetri:[1,6,2],blank:6,open:[0,1],primari:7,exit_statu:0,differ:[0,1,6,5],cartesian:[6,2],sheet:2,structurepars:[6,2,4],tvect:2,teardown:[],associ:2,top:2,system:[1,6,5],messag:0,testdata:[],spacegroupmod:[1,6,3,4],citi:1,master:2,termin:2,conveni:[],store:6,assign:6,asymmetric_unit:2,option:[0,1,6,2,5],test_ni_supercel:[],test_xyz:[],copi:6,setuptool:[1,5],convertstructurefil:0,specifi:[0,6],b22:6,argon:6,part:[1,6],pars:[0,2],structureerror:[1,6,3,4],keywd:2,structureformaterror:[6,2],holder:1,than:0,std:2,iter_symop:6,prune:6,provid:[1,6,2,5],remov:6,dans:1,second:[6,2],structur:[0,1,2,3,4,5,6,7],charact:[6,2],project:1,positiondiffer:6,becom:6,posit:[1,6],num_primitive_sym_equiv:6,eqdict:6,licl:[],cryst1:2,py2:[],sgoffset:6,eqindex:6,rcut:6,direct:[1,6],packag:[0,1,2,3,4,5,6,7],inherit:6,have:[1,5],graphiteciffil:[],need:[1,2,5],sar:6,"null":6,test_read_xyz_bad:[],test_dist:[],dbref:2,squar:6,equival:[6,2],format30:2,test_read_plainxyz_bad:[],self:[6,2],cispep:2,test_read_rawxyz:[],isspacegroupidentifi:6,note:[1,6,5],also:[1,6],test_setlatpar:[],build:2,which:[0,1,6,2,5],hetnam:2,fmt:6,uparsymbol:6,tool:[1,5],uformulasprun:6,even:[1,5],infmt:0,jrnl:2,normal:[1,2,5],bruce:[6,2],tolin:2,object:[6,2],hetsyn:2,writestr:6,makespher:7,beta:[6,2],sb2896:1,pair:6,alpha:[6,2],is_ident:6,"class":[6,2,7],charg:6,test_huge_occup:[],test_position2tupl:[],url:2,doc:6,test_spdiameter_pars:[],doe:2,inde:[],leading_float:2,determin:6,constrain:6,axi:7,test_getsymop:[],dot:6,bubbleraft:[],event:1,newer:[1,5],show:0,strufil:0,spacegrouplist:6,signum:0,p_rawxyz:[6,2,4],radiu:7,syntax:2,"3x3":6,permiss:1,"_usync":6,corner:2,find:7,help:[0,1,5],absolut:6,onli:[0,1,6,2,5],indexerror:6,copyright:1,eau:2,releas:[1,5],state:1,should:[1,2,5],structurefil:0,parametr:6,busi:1,helix:2,xcfg:[0,2],factor:[1,6],"__call__":[],recbas:6,local:2,over:6,smbl:6,loss:1,u110:6,variou:[6,2],get:6,michigan:1,express:1,pruneformuladictionari:6,new_lattic:6,secondari:7,uspac:6,setlatbas:6,chemic:[0,6],liabl:1,recalcul:6,test_read_pdffit_bad:[],requir:[1,5],test_anisotropi:[],arginin:[],test_parsefil:[],displac:6,aptitud:[1,5],"2b0":1,"__date__":6,loadstructurefil:0,bad:[],discu:[6,2],contain:[6,2,7],test_read_plainxyz:[],anisotrop:6,test_rwstr_pdb_cds:[],where:[6,2],test_z:[],offset:6,view:0,krypton:6,cleanup:0,set:[6,2,7],watchstructurefil:0,setslic:6,displai:0,methodnam:[],see:[1,6,5],bare:6,arg:6,testcas:[],close:6,"_get_lattic":[],testp_pdffit:[],subject:1,detect:2,tensor:6,record:2,pavol:1,boundari:[6,2],test_append:[],label:[6,2],symop_list:6,written:[1,2],smallest:6,test_read_pdffit_ni_prim123:[],between:6,"import":[1,6],neither:[1,2],test_writestr_cif:[],email:1,attribut:[6,2],"_symmetry_space_group_name_h":2,extend:[6,2],numer:[1,5],test_positionformula:[],screen:0,ssbond:2,testlattic:[],"_atom_site_label":2,york:1,p_discu:[6,2,4],toler:6,testp_cif:[],getsymop:2,disclaim:1,coremap:6,last:[1,6],plugin:2,recnormbas:6,howev:1,labelindex:2,incident:1,null_spac:6,foreign:1,sltbrg:2,instanc:[6,2,7],goodciffil:[],bratom:6,pdb:[0,6,2],independ:6,coordiant:6,concret:2,deby:6,can:[1,6,5],unittest:6,each:[1,6],test_parselin:[],period:[6,2],test___isub__:[],header:2,exemplari:1,test_uisoequiv:[],test_pars:[],ioerror:2,respect:[1,6,5],assum:6,sind:6,test_leading_float:[],damag:1,liabil:1,sine:6,test_extend:[],divid:7,billing:1,locat:[1,5],assertlistalmostequ:[],short_nam:6,numpi:[1,6,5],three:6,empti:6,alt_nam:6,compon:6,viewer:0,secret:1,basic:2,u11:6,u13:6,u12:6,valueerror:[6,7],check_group_nam:6,parser:[6,2,4],indirect:1,face:7,test_x:[],remark:2,ani:[1,6,2,5],coordin:[1,6,2,7],p_pdffit:[6,2,4],workspac:[],point_group_nam:6,present:[1,5],expandedpo:6,"case":[],ident:6,look:2,readstr:6,raw:2,tostr:2,servic:1,properti:6,iucr:2,"__iadd__":[],defin:[0,6,2],calcul:[1,6],m_alt:2,betar:6,abov:1,error:6,"__sub__":[],na4cl4:0,usymbol:6,p_pdb:[6,2,4],gamma:[6,2],wwpdb:2,helper:[],delta1:6,metric:6,site:[6,2],equal:[6,7],cluster:2,kwarg:6,contract:1,testroutin:[],sgid:6,routin:2,sever:[1,6],testp_bratom:[],develop:1,test_read_bratoms_bad:[],inputformat:[0,2],author:2,perform:[1,6,7,5],parti:1,make:7,format:[0,1,6,2],same:[0,6],member:[6,2],binari:1,html:[6,2],sgtbxspacegrouplist:6,advis:1,coreuij:6,"__version__":6,test_uij:[],equalposit:6,test_writestr_xyz:[],outputformat:[0,2],columbia:1,ni_prim:[],nullspac:6,pbte:[],expans:[1,6,2,4,7],nest:6,permit:1,pdb_name:6,effect:2,sym:6,ion:6,phy:6,rais:[6,2,7],temporari:0,user:[1,5],"__add__":[],test_stepcut_pars:[],isotropyerror:6,implement:2,expand:[6,7],subpackag:[1,6,3,4],isotop:6,off:6,center:7,format23:2,orderofrecord:2,well:[1,5],expandposit:6,magnitud:6,exampl:[1,6,2],test_expandposit:[],thi:[0,1,2,5,6,7],fail:[6,2],notic:1,dimension:6,usual:[1,5],load:[0,6,2],distanc:[1,6,7],identifi:6,execut:[0,6],pycifrw:2,"__gitsha__":6,test___add__:[],test_placeinlattic:[],obtain:[6,2],shape:7,cluster_boundari:2,test_occup:[],supercell_mod:[6,4,7],test_read_discus_ni:[],web:[1,6,5],cut:7,farrow:1,point:6,except:[6,2],add:6,other:[0,1,5],nanoparticl:7,board:1,input:[0,6,2],save:[0,6],ravel:[6,2],testsymmetryutil:[],msdlat:6,test___iadd__:[],applic:[0,6,4],abcabg:6,bij:[],around:2,whatev:6,test_el:[],read:[0,6,2],wai:1,test_except:[],uparvalu:6,term:1,parser_index:2,getpars:2,insert:6,signedratstr:6,nearestsiteindex:6,testp_xyz:[],python2:[],measur:6,lost:6,success:2,filenam:[0,6,2],addnewatom:6,temperatur:6,argument:[6,7],test___setitem__:[],api:1,singl:6,spacegroup:[1,6,2,3,4],btou:2,stdbase:6,p_auto:[6,2,4],page:1,two:6,ucompon:6,www:[1,2,5],right:[1,6],cryst1lin:2,generatorsit:6,regist:2,acknowledg:1,fixifwindowspath:2,linux:[1,5],neglig:1,understood:0,outfmt:0,"export":1,integ:[6,7],spheroid:7,instal:[1,5],home:2,test_corepo:[],badciffil:[],librari:[1,5],distribut:[1,5],teiciffil:[],scale:6,learn:1,lead:6,closest:7,avoid:[6,2],shall:1,definit:[1,6,2],per:6,multipli:7,substitut:1,mathemat:[1,5],exit:0,prof:1,duplic:6,notabl:6,either:[1,6],core:6,run:2,inspect:6,usag:[0,1,2,5],agreement:1,corepo:6,signalhandl:0,fileformat:0,promot:1,repositori:[1,5],output:[0,6,2],test_uparsymbol:[],cgr:6,testp_xcfg:[],pdffit:[6,2],about:1,patent:1,"__imul__":[],idx:[6,2],constraint:[1,6],column:[6,2],freedom:1,materi:[1,6],http:[1,6,2,5],choke:2,manag:[1,5],degre:6,"__mul__":[],test_xcfg:[],constructor:6,seqr:2,approxim:7,bond:6,revdat:2,shapeutil:[6,4,7],block:2,test_discu:[],pparamet:6,cutoff:6,assignuniquelabel:6,visit:1,xyz:[6,2],"float":[6,2],washington:6,easy_instal:[1,5],automat:2,invers:6,warranti:1,test_read_pdffit_ni:[],sigatm:2,ciffil:2,testp_pdb:[],strip:[6,2],contributor:1,reproduc:1,bool:6,storag:[1,6],uformula:6,het:2,suffici:2,test___sub__:[],test___getitem__:[],support:0,testgeneratorsit:[],fast:[1,5],custom:6,avail:[1,6,2],width:2,convers:2,formul:2,test___setslice__:[],includ:1,fraction:[1,6,7],suit:[],forward:6,test___imul__:[],strict:1,"function":[6,7],"__isub__":[],test___call__:[],test_cif:[],"_set_lattic":[],form:[1,6],tupl:[0,6],test_except_other_format:[],link:2,translat:[0,6],parselin:2,atom:[1,2,3,4,6,7],line:[0,2],"true":6,seqadv:2,info:[0,1,6,5],cif:2,consist:6,possibl:[1,6,2],"default":[0,1,6,7,5],placeinlattic:6,atomlin:2,writeabl:[1,5],p_xyz:[6,2,4],hetatm:2,crystal:1,below:1,limit:1,redistribut:1,otherwis:[1,6,2],adequaci:1,makeellipsoid:[6,4,7],teststructur:[],parser_index_mod:[6,2,4],atyp:6,isfloat:6,reciproc:6,constant:6,symmetryutil:[1,6,2,3,4],creat:[2,7],test_isspacegrouplatpar:[],uij:6,inp:6,test_writestr_rawxyz:[],cbr:6,titlelin:2,testutil:[],file:[0,1,6,2,5],exist:[2,7],work:[1,5],check:[1,6,5],test_read_xcfg:[],testpars:[],test_uparvalu:[],validrecord:2,titl:[1,6,2],when:[6,2,7],invalid:[6,7],test_uformula:[],dxyz:6,valid:2,b12:6,b13:6,b11:6,test:6,ignor:2,test_read_rawxyz_bad:[],asymmetr:[6,2],test_read_pdb_arginin:[],polar:7,conect:2,extern:[1,5],sequenc:[6,7],symbol:6,consequenti:1,latticeerror:6,meaning:6,"_uisoequiv":6,compnd:2,cuboctahedron:7,test___init__:[],test_bisoequiv:[],spcgr:6,simon:1,invari:6,posparsymbol:6,longer:6,directori:[1,5],xyang:[],space:[1,6,2],descript:6,comparison:[],infring:1,na1:6,text:2,dcell:6,ueqn:6,understand:[0,2],mmlib:6,posparvalu:6,stackfram:0},objtypes:{"0":"py:module","1":"py:method","2":"py:attribute","3":"py:class","4":"py:exception","5":"py:function"},titles:["applications Package","diffpy.Structure documentation","Parsers Package","diffpy","diffpy Package","Installation","Structure Package","expansion Package"],objnames:{"0":["py","module","Python module"],"1":["py","method","Python method"],"2":["py","attribute","Python attribute"],"3":["py","class","Python class"],"4":["py","exception","Python exception"],"5":["py","function","Python function"]},filenames:["api/diffpy.Structure.applications","index","api/diffpy.Structure.Parsers","api/modules","api/diffpy","install","api/diffpy.Structure","api/diffpy.Structure.expansion"]}) \ No newline at end of file +Search.setIndex({envversion:42,terms:{anyey:[6,4],all:[1,6,2,5],code:1,dist:[6,7],edg:6,represent:[1,6],subclass:[6,2],sratio:6,edu:6,follow:[1,6,2,5],sgtbxspacegroup:4,positionformula:6,row:6,adjust:[1,5],privat:[1,6],typeerror:7,depend:[1,5],properit:6,ac02:1,graph:1,program:[0,1,6],vec:6,text:2,u2213:6,norm:6,merchant:1,sourc:[1,2,7,5],string:[6,2],fals:6,uisoequiv:6,util:4,symmetryconstraint:6,volum:6,whether:1,govern:1,exact:6,tri:6,getlastatom:6,cmi:[1,5],p_bratom:[6,4],cctbx:[1,6],list:[0,6,2],iter:6,correct:1,item:[6,2],setitem:6,vector:6,cosin:6,pbc:2,small:6,pospar:6,anisotropi:6,refer:[1,6,2],leonardo:6,round:6,tol_anisotropi:6,atombaresymbol:6,impli:1,cosd:6,cfg:2,mno:7,b23:6,direct:6,molecul:2,sign:6,zero:6,pass:6,download:[1,5],ter:2,port:[1,5],append:6,xyzsymbol:6,index:[6,2,7],pdffitstructur:4,brief:0,overload:[6,2],cell:[6,7],makecuboctahedron:[6,4],version:4,u33:6,"new":[1,6,2,7],net:1,normbas:6,method:[6,2,7],can:[1,6,5],bratomsstructur:4,deriv:[1,6,2],berkelei:1,urlopen:2,gener:[1,6,2],waller:6,bisoequiv:6,"_symmetry_space_group_name_hal":2,simon:1,address:1,synchrotron:1,path:[1,2,5],along:[6,7],standard:[0,1,6,2,5],modifi:1,valu:[6,2],convert:[0,6,2],produc:1,msdcart:6,uparamet:6,shift:6,worldwid:1,host:[1,5],mtrix2:2,mtrix3:2,mtrix1:2,chang:[0,1,6,5],crystal_system:6,magnitud:6,employe:1,depart:1,extra:6,xiaohao:1,lawrenc:1,approxim:7,sgr:6,foundat:1,submodul:4,uisotropi:6,"boolean":6,expandeduij:6,"_space_group_name_h":2,symmetryerror:6,total:6,unit:[1,6,2],rawxyz:2,from:[0,1,2,5,6,7],would:1,ca2:6,univers:1,iter_equivalent_posit:6,upar:6,deviat:6,call:6,python27:[1,5],australian:1,type:[6,2],setlatpar:6,more:[0,1,6],scale1:2,scale2:2,scale3:2,relat:6,origx1:2,about:1,origx3:2,origx2:2,warn:1,trail:[6,2],flag:6,templat:7,particular:[1,6,2],known:2,herebi:1,"_anisotropi":6,behalf:1,must:[1,6],none:[0,6,2,7],expdta:2,car:6,prepar:1,work:1,uniqu:[6,2],xyz1:6,xyz0:6,idx2usymbol:6,remain:[6,2],itself:1,transtru:[6,4],caveat:2,learn:1,meet:1,unchang:6,purpos:1,root:[1,5],overrid:[0,2],nearest:[6,7],"_space_group_name_hal":2,give:2,process:[1,6,5],delta2:6,sudo:[1,5],share:6,indic:6,choke:2,plist:2,occup:6,multipl:6,testresult:6,siguij:2,rather:[1,5],anoth:7,endmdl:2,write:6,disclos:1,obslt:2,new_lattic:6,sprsde:2,verifi:[1,5],spcgr:6,simpl:[1,6,2,7],updat:[1,6],map:[6,2],product:[1,6],mmlibspacegroup:4,recogn:2,gammar:6,watch:0,p_xcfg:[6,4],rmax:6,reflect:6,befor:6,mac:[1,5],baresymbol:6,mai:[1,6,5],end:[1,6,2],data:[1,6,2],"short":6,xyz_cartn:6,third:[1,6],ani:[1,6,2],watchstructurefil:0,atomey:[0,2],correspond:[6,2,7],stru:2,element:[0,6,2],inform:6,maintain:1,environ:[1,5],spheric:7,allow:6,pymmlib:[1,6],order:[0,2],origin:[1,6,2,7],equij:6,composit:6,rotat:6,endors:1,getspacegroup:6,equatori:7,cif_sgnam:2,thermal:6,comma:0,nitrogen:6,tennesse:1,paramet:[1,6,7],style:[0,6,2],group:[1,6,2,7],sgtbx:6,fit:1,fix:2,num_sym_equiv:6,tort:1,window:2,complex:[1,5],isspacegrouplatpar:6,pythonpath:[1,5],waler:6,parseformula:0,main:0,non:[1,2,5],ncell:6,"return":[0,6,2,7],thei:2,python:[1,6,5],auto:[0,6],initi:[1,5],nation:[1,5],anis:2,nor:1,modr:2,document:2,name:[1,6,2,5],separ:0,easili:[1,5],mode:[1,5],each:[1,6],found:6,complet:1,poseqn:6,juha:1,mean:6,notabl:6,tolist:6,laboratori:[1,5],individu:1,findcent:7,compnd:2,aidx:2,been:1,"static":2,aptitud:[1,5],loadstructur:6,die:0,columbia:1,energi:1,extract:2,orient:6,special:1,out:[0,7],variabl:[1,6,5],shown:1,isconstantformula:6,matrix:6,space:[1,6,2],profit:1,equivel:6,research:1,supercel:7,lattic:4,print:0,formula:[0,6,2],factori:2,matric:6,integr:[1,5],sbr:6,parsefil:2,state:1,manipul:[1,7],given:[6,2],free:[1,5],b33:6,reason:1,base:[1,6,2],california:1,york:1,dictionari:[6,2],aid2:6,org:[1,2,5],aid0:6,aid1:6,expandasymmetricunit:[6,2],basi:1,alphar:6,hydbnd:2,convent:2,capabl:2,angl:6,p_cif:[6,4],script:0,turn:2,length:6,farrow:1,place:[1,6,5],node7:6,u22:6,u23:6,temporari:0,imposs:6,unitvolum:6,first:[0,1,6,2,5],oper:[1,6,5],softwar:[1,6,5],positionformulasprun:6,directli:[1,5],christoph:1,carri:1,arrai:[1,6,5],independ:6,number:[6,2],alreadi:6,symmetri:[1,6,2],blank:[6,4],open:[0,1,5],primari:7,exit_statu:0,differ:[0,1,6,5],cartesian:[1,6,2],sheet:2,structurepars:[6,4],tvect:2,associ:[1,2],top:2,system:[1,6,5],messag:0,spacegroupmod:4,citi:1,master:2,natur:1,termin:2,"98ch10886":1,store:[1,6],includ:[1,5],assign:6,asymmetric_unit:2,option:[0,1,6,2,5],inspect:6,namespac:4,truste:1,tool:[1,4,5],copi:[1,6,5],setuptool:[1,5],convertstructurefil:0,specifi:[0,1,6],b22:6,argon:6,part:[1,6,5],accompani:1,structureerror:4,keywd:2,structureformaterror:[6,2],holder:1,than:[0,1,5],std:2,kind:1,iter_symop:6,prune:6,provid:[1,6,2],remov:6,uformula:6,dans:1,second:[6,2],structur:4,charact:[6,2],project:[1,5],positiondiffer:6,posit:[1,6],num_primitive_sym_equiv:6,eqdict:6,thu:1,analysi:[1,4,5],comput:1,cryst1:2,arg:6,eqindex:6,rcut:6,raw:2,aforement:1,inherit:6,have:[1,5],need:2,sar:6,"null":6,contribut:[1,5],dbref:2,squar:6,equival:[6,2],format30:2,self:[6,2],cispep:2,isspacegroupidentifi:6,note:[1,6,5],also:[1,6,5],without:1,build:2,which:[0,1,6,2,5],hetnam:2,fmt:6,uparsymbol:6,uformulasprun:6,even:1,infmt:0,jrnl:2,normal:[1,2,5],bruce:[6,2],tolin:2,object:[1,6,2],hetsyn:2,paid:1,writestr:6,makespher:7,coordiant:6,said:1,deploi:[1,5],pair:6,alpha:[6,2],is_ident:6,"class":[6,2,7],charg:6,url:2,doc:6,request:1,doe:2,yang:1,leading_float:2,determin:6,pars:[0,2],constrain:6,axi:7,apparatu:1,width:2,dot:6,posparsymbol:6,recipi:1,show:0,strufil:0,spacegrouplist:6,affix:1,p_rawxyz:[6,4],radiu:7,syntax:2,"3x3":6,permiss:1,"_usync":6,corner:2,sponsorship:1,find:7,help:[0,1,5],absolut:[1,6],onli:[0,1,6,2,5],locat:[1,5],copyright:1,eau:2,releas:[1,5],asrp:1,should:[1,2,5],structurefil:0,parametr:6,helix:2,xcfg:[0,2],factor:6,recbas:6,local:2,over:[1,6],sure:[1,5],smbl:6,info:[0,1,6,5],loss:1,u110:6,variou:[6,2],get:[1,6,5],michigan:1,express:1,pruneformuladictionari:6,secondari:7,uspac:6,setlatbas:6,mainten:1,chemic:[0,6],liabl:1,recalcul:6,organ:1,possibl:[1,6,2],"2b2":1,expandedpo:6,"__date__":6,loadstructurefil:0,discu:[6,2],contain:[1,6,2,7],through:1,anisotrop:6,metadata:6,where:[1,6,2,5],setup:[1,5],offset:6,view:0,krypton:6,set:[1,6,2,7,5],setslic:6,displai:[0,1],see:[1,6,5],bare:6,result:1,sgoffset:6,fail:[6,2],close:6,whatsoev:1,subject:1,statu:1,detect:2,tensor:6,crystal:1,pavol:1,boundari:[6,2],label:[6,2],symop_list:6,written:[1,2],smallest:6,between:[1,6],"import":[1,6],neither:[1,2],attribut:[6,2],"_symmetry_space_group_name_h":2,kei:[6,2],numer:[1,5],screen:0,ssbond:2,"_atom_site_label":2,incident:1,p_discu:[6,4],toler:6,getsymop:2,indexerror:6,coremap:6,last:[1,6],license:1,plugin:2,recnormbas:6,usymbol:6,labelindex:2,equal:[6,7],null_spac:6,licensor:1,sltbrg:2,instanc:[6,2,7],bratom:6,com:[1,5],pdb:[0,1,6,2],beta:[6,2],concret:2,deby:6,point:6,within:1,unittest:6,ubuntu:[1,5],period:[6,2],symop:[6,2],sync:6,header:2,ioerror:2,respect:[1,6,5],assum:[1,6],sind:6,damag:1,liabil:1,becom:6,divid:7,billing:1,short_nam:6,numpi:[1,6,5],invers:6,empti:6,alt_nam:6,compon:6,viewer:0,macport:[1,5],interest:1,basic:2,u11:6,u13:6,u12:6,valueerror:[6,7],check_group_nam:6,parser:[6,4],clariti:1,remark:2,argument:[6,7],assert:1,coordin:[1,6,2,7],p_pdffit:[6,4],nonexclus:1,convers:[1,2],ident:6,look:2,readstr:6,diffract:4,tostr:2,properti:6,sourceforg:1,act:1,defin:[0,6,2],calcul:6,m_alt:2,betar:6,abov:1,error:[1,6],na4cl4:0,cleanup:0,p_pdb:[6,4],gamma:[6,2],wwpdb:2,delta1:6,metric:6,herein:1,cluster:2,kwarg:6,contract:1,sgid:6,routin:2,sever:[1,6],scienc:1,signum:0,inputformat:[0,2],grant:1,perform:[1,6,7],parti:1,make:[1,7,5],same:[0,6],member:[6,2],binari:1,isotrop:6,sgtbxspacegrouplist:6,promin:1,coreuij:6,"__version__":6,equalposit:6,uninterrupt:1,outputformat:[0,2],http:[1,6,2,5],nullspac:6,expans:[6,2,4],nest:6,pdb_name:6,effect:2,sym:6,ion:6,phy:6,rais:[6,2,7],corepo:6,user:[1,5],isotropyerror:6,respons:1,implement:2,expand:[6,7],irrevoc:1,isotop:6,off:6,center:7,format23:2,orderofrecord:2,expandposit:6,fileformat:0,exampl:[1,6,2],command:[1,5],thi:[0,1,6,2,7],model:[1,2,5],notic:1,dimension:6,latest:[1,5],load:[0,6,2],distanc:[6,7],identifi:6,execut:[0,6],pycifrw:[1,2,5],"__gitsha__":6,iucr:2,obtain:[6,2],shape:7,cluster_boundari:2,accuraci:1,supercell_mod:[6,4],web:6,cut:7,regent:1,except:[6,2],add:6,valid:2,nanoparticl:7,board:1,input:[0,6,2],save:[0,6],warrant:1,ravel:[6,2],msdlat:6,bin:[1,5],applic:[6,4],abcabg:6,royalti:1,march:1,around:2,whatev:6,format:[0,1,6,2],read:[0,6,2],prefer:[1,5],uparvalu:6,parser_index:2,getpars:2,insert:6,signedratstr:6,nearestsiteindex:6,licens:1,linux:[1,5],measur:6,objcryst:1,specif:[1,2],success:2,filenam:[0,6,2],html:[6,2],temperatur:6,singl:6,spacegroup:4,btou:2,stdbase:6,p_auto:[6,4],manag:[1,5],ucompon:6,www:[1,2,5],right:[1,6],cryst1lin:2,generatorsit:6,fixifwindowspath:2,suppli:1,under:[1,5],feel:[1,5],neglig:1,understood:0,outfmt:0,"export":1,integ:[6,7],spheroid:7,home:[1,2,5],indirect:1,librari:[1,5],distribut:[1,5],scale:6,lead:6,closest:7,avoid:[6,2],definit:[1,6,2],per:6,multipli:7,mathemat:[1,5],exit:0,select:[1,5],condit:[1,6],duplic:6,outsid:1,either:[1,6],machin:[1,5],core:6,run:[1,2,5],ration:6,usag:[0,1,2,5],agreement:1,signalhandl:0,promot:1,output:[0,6,2],cgr:6,pdffit:[6,2],eqxyz:6,idx:[6,2],constraint:[1,6],py27:[1,5],materi:[1,6],slightli:[1,5],baserot:6,degre:6,constructor:6,seqr:2,bond:6,revdat:2,shapeutil:[6,4],block:2,pparamet:6,cutoff:6,assignuniquelabel:6,own:1,regist:2,xyz:[1,6,2],"float":[6,2],washington:6,easy_instal:[1,5],automat:[1,2,5],two:6,warranti:1,sigatm:2,ciffil:2,strip:[6,2],contributor:1,reproduc:1,bool:6,storag:[1,6],your:1,het:2,suffici:2,sine:6,support:[0,1],column:[6,2],fast:[1,5],custom:6,avail:[6,2],lost:6,formul:2,three:6,author:[1,2],fraction:[1,6,7],forward:6,strict:1,"function":[1,6,7],form:[1,6],tupl:[0,6],bundl:[1,5],regard:1,punit:1,github:[1,5],link:2,translat:[0,6],parselin:2,atom:4,line:[0,2],"true":6,seqadv:2,extend:[6,2],cif:[1,2],consist:6,displac:[1,6],"default":[0,1,6,7,5],placeinlattic:6,atomlin:2,writeabl:[1,5],p_xyz:[6,4],hetatm:2,record:2,below:1,limit:1,publicli:1,site:[6,2],otherwis:[1,6,2],makeellipsoid:[6,4],point_group_nam:6,parser_index_mod:[6,4],atyp:6,isfloat:6,reciproc:6,constant:6,symmetryutil:4,creat:[2,7],addnewatom:6,uij:6,inp:6,repres:1,cbr:6,titlelin:2,exist:[2,7],file:[0,1,6,2,5],face:7,check:6,inc:1,validrecord:2,titl:[1,6,2],when:[1,6,2,7,5],portion:1,invalid:[6,7],event:1,dxyz:6,other:[0,1,5],b12:6,b13:6,b11:6,test:[1,6,5],you:[1,5],asymmetr:[1,6,2],fork:[1,5],polar:7,conect:2,sequenc:[6,7],symbol:6,periodict:1,consequenti:1,latticeerror:6,meaning:6,sasview:1,"_uisoequiv":6,brookhaven:[1,5],cuboctahedron:7,legal:1,invari:6,longer:6,directori:[1,5],descript:6,infring:1,na1:6,ignor:2,dcell:6,ueqn:6,understand:[0,2],mmlib:6,posparvalu:6,stackfram:0},objtypes:{"0":"py:module","1":"py:method","2":"py:attribute","3":"py:function","4":"py:class","5":"py:exception"},objnames:{"0":["py","module","Python module"],"1":["py","method","Python method"],"2":["py","attribute","Python attribute"],"3":["py","function","Python function"],"4":["py","class","Python class"],"5":["py","exception","Python exception"]},filenames:["api/diffpy.Structure.applications","index","api/diffpy.Structure.Parsers","api/modules","api/diffpy","install","api/diffpy.Structure","api/diffpy.Structure.expansion"],titles:["diffpy.Structure.applications package","diffpy.Structure documentation","diffpy.Structure.Parsers package","diffpy","diffpy package","Installation","diffpy.Structure package","diffpy.Structure.expansion package"],objects:{"":{diffpy:[4,0,0,"-"]},"diffpy.Structure.SpaceGroups":{IsSpaceGroupIdentifier:[6,3,1,""],GetSpaceGroup:[6,3,1,""]},diffpy:{Structure:[6,0,0,"-"]},"diffpy.Structure.SymmetryUtilities.SymmetryConstraints":{UparValues:[6,1,1,""],UFormulas:[6,1,1,""],posparSymbols:[6,1,1,""],positionFormulas:[6,1,1,""],positionFormulasPruned:[6,1,1,""],UparSymbols:[6,1,1,""],posparValues:[6,1,1,""],UFormulasPruned:[6,1,1,""]},"diffpy.Structure.Parsers.P_discus.P_discus":{parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.expansion":{shapeUtils:[7,0,0,"-"],supercell_mod:[7,0,0,"-"],makeCuboctahedron:[7,0,0,"-"],makeEllipsoid:[7,0,0,"-"]},"diffpy.Structure.Parsers.P_bratoms.P_bratoms":{parseLines:[2,1,1,""],plist:[2,2,1,""],toLines:[2,1,1,""]},"diffpy.Structure.bratomsstructure":{BRAtomsStructure:[6,4,1,""]},"diffpy.Structure.Parsers.P_pdb":{getParser:[2,3,1,""],P_pdb:[2,4,1,""]},"diffpy.Structure.spacegroupmod.SpaceGroup":{iter_symops:[6,1,1,""],check_group_name:[6,1,1,""],iter_equivalent_positions:[6,1,1,""]},"diffpy.Structure.Parsers.structureparser.StructureParser":{parse:[2,1,1,""],tostring:[2,1,1,""],parseFile:[2,1,1,""],parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.SymmetryUtilities":{isconstantFormula:[6,3,1,""],ExpandAsymmetricUnit:[6,4,1,""],nullSpace:[6,3,1,""],SymmetryConstraints:[6,4,1,""],isSpaceGroupLatPar:[6,3,1,""],positionDifference:[6,3,1,""],expandPosition:[6,3,1,""],pruneFormulaDictionary:[6,3,1,""],nearestSiteIndex:[6,3,1,""],equalPositions:[6,3,1,""]},"diffpy.Structure.SymmetryUtilities.GeneratorSite":{eqIndex:[6,1,1,""],idx2Usymbol:[6,2,1,""],Ucomponents:[6,2,1,""],signedRatStr:[6,1,1,""],UFormula:[6,1,1,""],positionFormula:[6,1,1,""]},"diffpy.Structure.Parsers.P_auto":{getParser:[2,3,1,""],P_auto:[2,4,1,""]},"diffpy.Structure.expansion.makeCuboctahedron":{makeCuboctahedron:[7,3,1,""]},"diffpy.Structure.Parsers.structureparser":{StructureParser:[2,4,1,""]},"diffpy.Structure.Parsers.P_pdffit.P_pdffit":{parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.Parsers.P_pdb.P_pdb":{parseLines:[2,1,1,""],cryst1Lines:[2,1,1,""],titleLines:[2,1,1,""],toLines:[2,1,1,""],validRecords:[2,2,1,""],atomLines:[2,1,1,""],orderOfRecords:[2,2,1,""]},"diffpy.Structure.Parsers.P_pdffit":{getParser:[2,3,1,""],P_pdffit:[2,4,1,""]},"diffpy.Structure.Parsers.P_cif.P_cif":{parse:[2,1,1,""],BtoU:[2,2,1,""],parseLines:[2,1,1,""],parseFile:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.StructureErrors":{LatticeError:[6,5,1,""],IsotropyError:[6,5,1,""],StructureFormatError:[6,5,1,""],SymmetryError:[6,5,1,""]},"diffpy.Structure.expansion.supercell_mod":{supercell:[7,3,1,""]},"diffpy.Structure.utils":{isfloat:[6,3,1,""],atomBareSymbol:[6,3,1,""]},"diffpy.Structure.expansion.makeEllipsoid":{makeEllipsoid:[7,3,1,""],makeSphere:[7,3,1,""]},"diffpy.Structure.Parsers.P_xyz":{getParser:[2,3,1,""],P_xyz:[2,4,1,""]},"diffpy.Structure.applications":{transtru:[0,0,0,"-"],anyeye:[0,0,0,"-"]},"diffpy.Structure.pdffitstructure":{PDFFitStructure:[6,4,1,""]},"diffpy.Structure.spacegroupmod":{SpaceGroup:[6,4,1,""],SymOp:[6,4,1,""]},"diffpy.Structure.applications.transtru":{usage:[0,3,1,""],main:[0,3,1,""],version:[0,3,1,""]},"diffpy.Structure.Parsers.P_rawxyz.P_rawxyz":{parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.Parsers":{P_discus:[2,0,0,"-"],P_cif:[2,0,0,"-"],P_rawxyz:[2,0,0,"-"],P_xyz:[2,0,0,"-"],getParser:[2,3,1,""],structureparser:[2,0,0,"-"],P_pdffit:[2,0,0,"-"],parser_index_mod:[2,0,0,"-"],P_xcfg:[2,0,0,"-"],inputFormats:[2,3,1,""],outputFormats:[2,3,1,""],P_bratoms:[2,0,0,"-"],P_auto:[2,0,0,"-"],P_pdb:[2,0,0,"-"]},"diffpy.Structure.Parsers.P_xcfg":{getParser:[2,3,1,""],P_xcfg:[2,4,1,""]},"diffpy.Structure.Parsers.P_xyz.P_xyz":{parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.atom.Atom":{msdCart:[6,1,1,""],U33:[6,2,1,""],B12:[6,2,1,""],B13:[6,2,1,""],B11:[6,2,1,""],U11:[6,2,1,""],U13:[6,2,1,""],label:[6,2,1,""],B33:[6,2,1,""],U12:[6,2,1,""],Bisoequiv:[6,2,1,""],occupancy:[6,2,1,""],Uisoequiv:[6,2,1,""],lattice:[6,2,1,""],U:[6,2,1,""],msdLat:[6,1,1,""],U22:[6,2,1,""],U23:[6,2,1,""],xyz_cartn:[6,2,1,""],anisotropy:[6,2,1,""],B23:[6,2,1,""],B22:[6,2,1,""],tol_anisotropy:[6,2,1,""],element:[6,2,1,""],y:[6,2,1,""],x:[6,2,1,""],z:[6,2,1,""]},"diffpy.Structure.spacegroupmod.SymOp":{is_identity:[6,1,1,""]},"diffpy.Structure.Parsers.P_xcfg.P_xcfg":{cluster_boundary:[2,2,1,""],parseLines:[2,1,1,""],toLines:[2,1,1,""]},"diffpy.Structure.Parsers.P_auto.P_auto":{parse:[2,1,1,""],parseFile:[2,1,1,""],parseLines:[2,1,1,""]},"diffpy.Structure.applications.anyeye":{convertStructureFile:[0,3,1,""],die:[0,3,1,""],watchStructureFile:[0,3,1,""],version:[0,3,1,""],signalHandler:[0,3,1,""],usage:[0,3,1,""],parseFormula:[0,3,1,""],cleanUp:[0,3,1,""],main:[0,3,1,""],loadStructureFile:[0,3,1,""]},"diffpy.Structure.lattice":{Lattice:[6,4,1,""],sind:[6,3,1,""],cosd:[6,3,1,""]},"diffpy.Structure.atom":{Atom:[6,4,1,""]},"diffpy.Structure.Parsers.P_rawxyz":{getParser:[2,3,1,""],P_rawxyz:[2,4,1,""]},"diffpy.Structure.Parsers.P_bratoms":{getParser:[2,3,1,""],P_bratoms:[2,4,1,""]},"diffpy.Structure.pdffitstructure.PDFFitStructure":{read:[6,1,1,""],readStr:[6,1,1,""]},"diffpy.Structure.structure":{Structure:[6,4,1,""]},"diffpy.Structure.Parsers.P_cif":{getParser:[2,3,1,""],leading_float:[2,3,1,""],P_cif:[2,4,1,""],getSymOp:[2,3,1,""],fixIfWindowsPath:[2,3,1,""]},"diffpy.Structure":{SpaceGroups:[6,0,0,"-"],pdffitstructure:[6,0,0,"-"],loadStructure:[6,3,1,""],mmlibspacegroups:[6,0,0,"-"],utils:[6,0,0,"-"],StructureErrors:[6,0,0,"-"],expansion:[7,0,0,"-"],Parsers:[2,0,0,"-"],spacegroupmod:[6,0,0,"-"],bratomsstructure:[6,0,0,"-"],applications:[0,0,0,"-"],SymmetryUtilities:[6,0,0,"-"],lattice:[6,0,0,"-"],version:[6,0,0,"-"],atom:[6,0,0,"-"],test:[6,3,1,""],sgtbxspacegroups:[6,0,0,"-"],structure:[6,0,0,"-"]},"diffpy.Structure.expansion.shapeUtils":{findCenter:[7,3,1,""]},"diffpy.Structure.structure.Structure":{readStr:[6,1,1,""],B23:[6,2,1,""],xyz:[6,2,1,""],U33:[6,2,1,""],B13:[6,2,1,""],B11:[6,2,1,""],U11:[6,2,1,""],U13:[6,2,1,""],B33:[6,2,1,""],append:[6,1,1,""],x:[6,2,1,""],U12:[6,2,1,""],angle:[6,1,1,""],title:[6,2,1,""],assignUniqueLabels:[6,1,1,""],Bisoequiv:[6,2,1,""],occupancy:[6,2,1,""],Uisoequiv:[6,2,1,""],write:[6,1,1,""],lattice:[6,2,1,""],label:[6,2,1,""],placeInLattice:[6,1,1,""],composition:[6,2,1,""],tolist:[6,1,1,""],extend:[6,1,1,""],insert:[6,1,1,""],read:[6,1,1,""],U:[6,2,1,""],U22:[6,2,1,""],U23:[6,2,1,""],getLastAtom:[6,1,1,""],pdffit:[6,2,1,""],distance:[6,1,1,""],xyz_cartn:[6,2,1,""],anisotropy:[6,2,1,""],addNewAtom:[6,1,1,""],B22:[6,2,1,""],element:[6,2,1,""],y:[6,2,1,""],B12:[6,2,1,""],z:[6,2,1,""],writeStr:[6,1,1,""]},"diffpy.Structure.lattice.Lattice":{dist:[6,1,1,""],cb:[6,2,1,""],ca:[6,2,1,""],sgr:[6,2,1,""],cg:[6,2,1,""],cbr:[6,2,1,""],ar:[6,2,1,""],sar:[6,2,1,""],cr:[6,2,1,""],abcABG:[6,1,1,""],cartesian:[6,1,1,""],angle:[6,1,1,""],fractional:[6,1,1,""],setLatPar:[6,1,1,""],norm:[6,1,1,""],betar:[6,2,1,""],sbr:[6,2,1,""],alphar:[6,2,1,""],gammar:[6,2,1,""],unitvolume:[6,2,1,""],volume:[6,2,1,""],beta:[6,2,1,""],a:[6,2,1,""],br:[6,2,1,""],alpha:[6,2,1,""],cgr:[6,2,1,""],setLatBase:[6,1,1,""],c:[6,2,1,""],b:[6,2,1,""],reciprocal:[6,1,1,""],car:[6,2,1,""],gamma:[6,2,1,""],sb:[6,2,1,""],sa:[6,2,1,""],sg:[6,2,1,""],dot:[6,1,1,""]},"diffpy.Structure.Parsers.P_discus":{P_discus:[2,4,1,""],getParser:[2,3,1,""]}},titleterms:{anyey:0,acknowledg:1,modul:[0,6,2,4,7],parser:2,p_rawxyz:2,submodul:[0,6,2,7],packag:[0,6,2,4,7],mmlibspacegroup:6,parser_index_mod:2,symmetryutil:6,instal:[1,5],diffpi:[0,1,2,3,4,6,7],sgtbxspacegroup:6,content:[0,6,2,4,7],pdffitstructur:6,develop:[1,5],structurepars:2,shapeutil:7,spacegroupmod:6,makecuboctahedron:7,version:6,lattic:6,supercell_mod:7,document:1,applic:0,bratomsstructur:6,index:1,expans:7,util:6,p_pdffit:2,structureerror:6,p_discu:2,atom:6,requir:[1,5],subpackag:[6,4],disclaim:1,p_bratom:2,makeellipsoid:7,p_cif:2,p_xyz:2,structur:[0,1,6,2,7],api:1,transtru:0,p_xcfg:2,spacegroup:6,p_auto:2,p_pdb:2}}) \ No newline at end of file From 656dbfb386240c54872efb5d6121f8ed1311d99d Mon Sep 17 00:00:00 2001 From: XiaohaoYang Date: Tue, 11 Mar 2014 14:19:03 -0400 Subject: [PATCH 09/41] Synced with the source at a07adf1eb7cfcf15e641106b2e118ecde5da8e5d. --- .buildinfo | 2 +- _sources/index.txt | 3 +- api/diffpy.Structure.Parsers.html | 33 +++++++-- api/diffpy.Structure.applications.html | 33 +++++++-- api/diffpy.Structure.expansion.html | 23 +++++-- api/diffpy.Structure.html | 30 +++++++-- api/diffpy.html | 10 +-- api/modules.html | 10 +-- genindex.html | 30 +++------ index.html | 89 +++---------------------- install.html | 10 +-- objects.inv | Bin 2281 -> 2283 bytes py-modindex.html | 10 +-- search.html | 10 +-- searchindex.js | 2 +- 15 files changed, 147 insertions(+), 148 deletions(-) diff --git a/.buildinfo b/.buildinfo index a026c885..7f8c69a8 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: db040c02a6ca4a069e83f6085bf22260 +config: ee300793b898c16871c1fb0422b2cf0a tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/_sources/index.txt b/_sources/index.txt index 7dd53dc2..8b61b7de 100644 --- a/_sources/index.txt +++ b/_sources/index.txt @@ -51,7 +51,8 @@ originate from the pymmlib project, http://pymmlib.sourceforge.net. Installation ====================================== -.. include:: install.rst +See the `README.rst `_ +file included with the distribution. ====================================== API and Index diff --git a/api/diffpy.Structure.Parsers.html b/api/diffpy.Structure.Parsers.html index 1cda88a9..20f9eab8 100644 --- a/api/diffpy.Structure.Parsers.html +++ b/api/diffpy.Structure.Parsers.html @@ -6,7 +6,7 @@ - diffpy.Structure.Parsers package — diffpy.Structure 1.2b2 documentation + diffpy.Structure.Parsers package — diffpy.Structure 1.2b2-2 documentation @@ -14,7 +14,7 @@ - + + + + @@ -587,6 +597,12 @@

    Table Of Contents

    +

    Previous topic

    +

    diffpy.Structure package

    +

    Next topic

    +

    diffpy.Structure.applications package

    This Page

    +
    Development, [1] +
    + +
    die() (in module diffpy.Structure.applications.anyeye)
    +
    diffpy (module) +
    + +
    diffpy.Structure (module)
    @@ -398,12 +403,12 @@

    D

    diffpy.Structure.Parsers.P_cif (module)
    +
    diffpy.Structure.Parsers.P_discus (module)
    -
    diffpy.Structure.Parsers.P_pdb (module)
    @@ -1423,12 +1428,12 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • \ No newline at end of file diff --git a/index.html b/index.html index d04a93c2..0f67c5c5 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,3 @@ - - @@ -8,15 +6,15 @@ - diffpy.Structure documentation — diffpy.Structure 1.2b0-18 documentation + diffpy.Structure documentation — diffpy.Structure 1.2b2 documentation - - + + @@ -53,131 +51,272 @@

    Navigation

    diffpy.Structure documentation

    -

    Software version 1.2b0-18.

    -

    Last updated February 17, 2014.

    +

    Software version 1.2b2.

    +

    Last updated March 03, 2014.

    diffpy.Structure - simple storage and manipulation of crystal structures

    -

    The diffpy.Structure package provides simple crystal structure operation -such as calculations of distances or angles from fractional coordinates. -It also provides imports and exports in several structure file formats -and space group definitions and utilities for symmetry expansion and -generation of symmetry constraints on positions and thermal factors.

    +

    The diffpy.Structure package provides objects for storing atomic +coordinates, displacement parameters and other crystal structure data. +diffpy.Structure supports import and export of structure data in several +structure formats such as CIF, PDB, xyz. It provides conversion +between fractional and absolute Cartesian coordinates, functions for +symmetry expansion from asymmetric unit and generation of symmetry +constraints for atom positions and displacement parameters. diffpy.Structure +includes definitions of all space groups in over 500 symmetry settings.

    To learn more about diffpy.Structure library, see the examples directory included in this distribution or the API documentation

    Disclaimer

    -

    This program is part of the DiffPy and DANSE open-source projects -and is available subject to the conditions and terms laid out below.

    -

    Copyright 2006-2007, Board of Trustees of Michigan State University, -Copyright 2008-2009, Board of Trustees of Columbia University in the -city of New York. (Copyright holder indicated in each source file).

    -
    -
    For more information please visit the project web-page:
    -
    http://www.diffpy.org/
    -
    -

    or email Prof. Simon Billinge at sb2896@columbia.edu

    -

    Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met:

    -
    -
      -
    • Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer.
    • -
    • Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution.
    • -
    • Neither the name of the copyright holder nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission.
    • -
    -
    -

    THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER “AS IS”. COPYRIGHT HOLDER -EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES AND CONDITIONS, EITHER -EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY, TITLE, FITNESS, ADEQUACY OR SUITABILITY -FOR A PARTICULAR PURPOSE, AND ANY WARRANTIES OF FREEDOM FROM -INFRINGEMENT OF ANY DOMESTIC OR FOREIGN PATENT, COPYRIGHTS, TRADE -SECRETS OR OTHER PROPRIETARY RIGHTS OF ANY PARTY. IN NO EVENT SHALL -COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE OR RELATING TO THIS AGREEMENT, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE.

    +
    OPEN SOURCE LICENSE AGREEMENT
    +=============================
    +
    +Copyright (c) 2009-2011, University of Tennessee
    +Copyright (c) 1989, 1991 Free Software Foundation, Inc.
    +Copyright (c) 2006, The Regents of the University of California through
    +    Lawrence Berkeley National Laboratory
    +Copyright (c) 2014, Australian Synchrotron Research Program Inc., ("ASRP")
    +Copyright (c) 2006-2007, Board of Trustees of Michigan State University
    +Copyright (c) 2008-2012, The Trustees of Columbia University in the City
    +    of New York
    +
    +Copyright (c) 2014, Brookhaven Science Associates, Brookhaven National
    +    Laboratory
    +
    +
    +The "DiffPy-CMI" is distributed subject to the following license conditions:
    +
    +
    +SOFTWARE LICENSE AGREEMENT
    +
    +    Software: DiffPy-CMI
    +
    +
    +(1) The "Software", below, refers to the aforementioned DiffPy-CMI (in either
    +source code, or binary form and accompanying documentation).
    +
    +Part of the software was derived from the DANSE, ObjCryst++ (with permission),
    +PyCifRW, Python periodictable, CCTBX, and SasView open source projects, of
    +which the original Copyrights are contained in each individual file.
    +
    +Each licensee is addressed as "you" or "Licensee."
    +
    +
    +(2) The copyright holders shown above and their third-party Licensors hereby
    +grant licensee a royalty-free nonexclusive license, subject to the limitations
    +stated herein and U.S. Government license rights.
    +
    +
    +(3) You may modify and make a copy or copies of the software for use within
    +your organization, if you meet the following conditions:
    +
    +    (a) Copies in source code must include the copyright notice and this
    +        software license agreement.
    +
    +    (b) Copies in binary form must include the copyright notice and this
    +        Software License Agreement in the documentation and/or other materials
    +        provided with the copy.
    +
    +
    +(4) You may modify a copy or copies of the Software or any portion of it, thus
    +forming a work based on the Software, and distribute copies of such work
    +outside your organization, if you meet all of the following conditions:
    +
    +    (a) Copies in source code must include the copyright notice and this
    +        Software License Agreement;
    +
    +    (b) Copies in binary form must include the copyright notice and this
    +        Software License Agreement in the documentation and/or other materials
    +        provided with the copy;
    +
    +    (c) Modified copies and works based on the Software must carry prominent
    +        notices stating that you changed specified portions of the Software.
    +
    +    (d) Neither the name of Brookhaven Science Associates or Brookhaven
    +        National Laboratory nor the names of its contributors may be used to
    +        endorse or promote products derived from this software without specific
    +        written permission.
    +
    +
    +(5) Portions of the Software resulted from work developed under a U.S.
    +Government contract and are subject to the following license:
    +The Government is granted for itself and others acting on its behalf a
    +paid-up, nonexclusive, irrevocable worldwide license in this computer software
    +to reproduce, prepare derivative works, and perform publicly and display
    +publicly.
    +
    +
    +(6) WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT
    +WARRANTY OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY
    +LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND
    +THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
    +BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
    +PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL
    +LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF
    +THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE SOFTWARE WOULD NOT INFRINGE
    +PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION
    +UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL BE CORRECTED.
    +
    +
    +(7) LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
    +THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF
    +ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR  ANY INDIRECT, INCIDENTAL,
    +CONSEQUENTIAL, SPECIAL OR PUNITIVE  DAMAGES OF ANY KIND OR NATURE, INCLUDING
    +BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER,
    +WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING
    +NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS
    +BEEN WARNED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGES.
    +
    +
    +Brookhaven National Laboratory Notice
    +=====================================
    +
    +Acknowledgment of sponsorship
    +-----------------------------
    +
    +This software was produced by the Brookhaven National Laboratory, under
    +Contract DE-AC02-98CH10886 with the Department of Energy.
    +
    +
    +Government disclaimer of liability
    +----------------------------------
    +
    +Neither the United States nor the United States Department of Energy, nor
    +any of their employees, makes any warranty, express or implied, or assumes
    +any legal liability or responsibility for the accuracy, completeness, or
    +usefulness of any data, apparatus, product, or process disclosed, or
    +represents that its use would not infringe privately owned rights.
    +
    +
    +Brookhaven disclaimer of liability
    +----------------------------------
    +
    +Brookhaven National Laboratory makes no representations or warranties,
    +express or implied, nor assumes any liability for the use of this software.
    +
    +
    +Maintenance of notice
    +---------------------
    +
    +In the interest of clarity regarding the origin and status of this
    +software, Brookhaven National Laboratory requests that any recipient of it
    +maintain this notice affixed to any distribution by the recipient that
    +contains a copy or derivative of this software.
    +
    +
    +END OF LICENSE
    +
    +

    Acknowledgments

    Developers

    diffpy.Structure is developed and maintained by

    -
    Pavol Juhas
    -Chris Farrow
    +
    Authors:
    +
    +Pavol Juhas,
    +Christopher L. Farrow,
    +Xiaohao Yang,
     Simon J.L. Billinge
    -
    + +Contributors: + +https://github.com/diffpy/diffpy.Structure/graphs/contributors +
    +

    Space group codes in spacegroupmod.py and mmlibspacegroups.py +originate from the pymmlib project, http://pymmlib.sourceforge.net.

    Installation

    Requirements

    -

    The diffpy.Structure requires Python 2.5 and the following external software:

    -
    -
    setuptools – software distribution tools for Python -numpy – numerical mathematics and fast array operations for Python
    +

    The diffpy.Structure requires Python 2.6 or 2.7 and the following software:

    +
      +
    • setuptools - software distribution tools for Python
    • +
    • NumPy - numerical mathematics and fast array operations for Python
    • +

    On Ubuntu Linux the required software can be easily installed using the system package manager:

    -
    -
    -
    sudo aptitude install
    -
    python-setuptools python-numpy
    -
    -
    +
    sudo aptitude install python-setuptools python-numpy
    +
    +
    +

    For Mac OS X machine with the MacPorts package manager the installation +command is

    +
    sudo port install python27 py27-setuptools py27-numpy
    +
    +
    +

    When installing with MacPorts, make sure the MacPorts bin directory is the +first in the system PATH and that python27 is selected as the default +Python version in MacPorts:

    +
    sudo port select --set python python27
    +
    +

    For other Linux distributions use their respective package manager; note -the packages may have slightly different names. diffpy.Structure should work -on other Unix-like operating systems and on Mac as well. Please, search the -web for instructions how to install external dependencies on your particular -system.

    +the packages may have slightly different names. diffpy.Structure depends +also on the PyCifRW library, which should +get automatically deployed as a part of the installation process.

    Installation

    -

    To install the diffpy.Structure package:

    -
    -
    python setup.py install
    +

    Use easy_install to download and install the latest release from +Python Package Index

    +
    sudo easy_install diffpy.Structure
    +
    +
    +

    diffpy.Structure is also included in the DiffPy-CMI release bundle of +Python libraries for structure analysis at http://www.diffpy.org.

    +

    If you prefer to install from sources, make sure all required software +packages are in place and then run

    +
    sudo python setup.py install
    +
    +

    By default the files are installed in the system directories, which are -usually only writeable by the root. See the usage info -”./setup.py install –help” for options to install as a normal user under +only writeable by the root user. See the usage info from +./setup.py install --help for options to install as a normal user under different location. Note that installation to non-standard directories may -require adjustments to the PATH and PYTHONPATH environment variables.

    -

    The Python setuptools library provides “easy_install” script, which can -be used to update diffpy.Structure installation or even to perform a new -install without explicit need to download and unzip the code:

    -
    -
    easy_install -U diffpy.Structure
    -

    This checks the package repository at http://www.diffpy.org/packages/ -for any newer releases of diffpy.Structure and if present, it updates the -installation.

    +require adjustments to the PATH and PYTHONPATH environment variables. +The installation integrity can be verified by changing to the HOME +directory and running

    +
    python -m diffpy.Structure.tests.run
    +
    +
    +
    +
    +

    Development

    +

    diffpy.Structure is an open-source software developed as a part of the +DiffPy-CMI complex modeling initiative at the Brookhaven National +Laboratory. The diffpy.Structure sources are hosted at +https://github.com/diffpy/diffpy.Structure.

    +

    Feel free to fork the project and contribute. To install diffpy.Structure +in a development mode, where the sources are directly used by Python +rather than copied to a system directory, use

    +
    python setup.py develop --user
    +
    +
    +
    +
    - @@ -206,21 +343,18 @@

    Table Of Contents

  • Installation
  • +
  • API and Index
  • Next topic

    Structure Package

    + title="next chapter">diffpy.Structure package

    This Page

    \ No newline at end of file diff --git a/install.html b/install.html index 82cc81f1..973ad9a5 100644 --- a/install.html +++ b/install.html @@ -1,5 +1,3 @@ - - @@ -8,15 +6,15 @@ - Installation — diffpy.Structure 1.2b0-18 documentation + Installation — diffpy.Structure 1.2b2 documentation - + @@ -51,42 +49,69 @@

    Navigation

    Installation

    Requirements

    -

    The diffpy.Structure requires Python 2.5 and the following external software:

    -
    -
    setuptools – software distribution tools for Python -numpy – numerical mathematics and fast array operations for Python
    +

    The diffpy.Structure requires Python 2.6 or 2.7 and the following software:

    +
      +
    • setuptools - software distribution tools for Python
    • +
    • NumPy - numerical mathematics and fast array operations for Python
    • +

    On Ubuntu Linux the required software can be easily installed using the system package manager:

    -
    -
    -
    sudo aptitude install
    -
    python-setuptools python-numpy
    -
    -
    +
    sudo aptitude install python-setuptools python-numpy
    +
    +
    +

    For Mac OS X machine with the MacPorts package manager the installation +command is

    +
    sudo port install python27 py27-setuptools py27-numpy
    +
    +
    +

    When installing with MacPorts, make sure the MacPorts bin directory is the +first in the system PATH and that python27 is selected as the default +Python version in MacPorts:

    +
    sudo port select --set python python27
    +
    +

    For other Linux distributions use their respective package manager; note -the packages may have slightly different names. diffpy.Structure should work -on other Unix-like operating systems and on Mac as well. Please, search the -web for instructions how to install external dependencies on your particular -system.

    +the packages may have slightly different names. diffpy.Structure depends +also on the PyCifRW library, which should +get automatically deployed as a part of the installation process.

    Installation

    -

    To install the diffpy.Structure package:

    -
    -
    python setup.py install
    +

    Use easy_install to download and install the latest release from +Python Package Index

    +
    sudo easy_install diffpy.Structure
    +
    +
    +

    diffpy.Structure is also included in the DiffPy-CMI release bundle of +Python libraries for structure analysis at http://www.diffpy.org.

    +

    If you prefer to install from sources, make sure all required software +packages are in place and then run

    +
    sudo python setup.py install
    +
    +

    By default the files are installed in the system directories, which are -usually only writeable by the root. See the usage info -”./setup.py install –help” for options to install as a normal user under +only writeable by the root user. See the usage info from +./setup.py install --help for options to install as a normal user under different location. Note that installation to non-standard directories may -require adjustments to the PATH and PYTHONPATH environment variables.

    -

    The Python setuptools library provides “easy_install” script, which can -be used to update diffpy.Structure installation or even to perform a new -install without explicit need to download and unzip the code:

    -
    -
    easy_install -U diffpy.Structure
    -

    This checks the package repository at http://www.diffpy.org/packages/ -for any newer releases of diffpy.Structure and if present, it updates the -installation.

    +require adjustments to the PATH and PYTHONPATH environment variables. +The installation integrity can be verified by changing to the HOME +directory and running

    +
    python -m diffpy.Structure.tests.run
    +
    +
    +
    +
    +

    Development

    +

    diffpy.Structure is an open-source software developed as a part of the +DiffPy-CMI complex modeling initiative at the Brookhaven National +Laboratory. The diffpy.Structure sources are hosted at +https://github.com/diffpy/diffpy.Structure.

    +

    Feel free to fork the project and contribute. To install diffpy.Structure +in a development mode, where the sources are directly used by Python +rather than copied to a system directory, use

    +
    python setup.py develop --user
    +
    +
    @@ -101,6 +126,7 @@

    Table Of Contents

  • Installation
  • @@ -136,12 +162,12 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • \ No newline at end of file diff --git a/objects.inv b/objects.inv index 42036046edfee4b6d52ec8ba3863fd1a366e0ecb..ed003076c0f0d005fd6ac575686006de2303aeb3 100644 GIT binary patch delta 2174 zcmV-^2!Z#26X_9Os=MrG`~vfAEK>I#BYlxkPB!dQ%-8EQkDh<6&Zx~ai=I z2);6fKyJJQa!_s(@`HcfWh+H3*|Jy%61qy(mZg?1-5-Ff(-x8Snp>ol>_2_gT50UM zn=ECTG9kt-#|PFtb25#XYoW|gwbw1 zAG+(vY9|x!C-m*tdk{oPcXYi8Bn1(XIm;P(H7c`$^lD~fSG#|Z2K}oLJT;2PL5%r) zsmU8wnVYU_5CQBv3?89;4V+`kFKkK57UN9#_`QSPddv;YkURA1T8)Cc9|i->hZ2E2 zaalt>X1C5BPe)AreVJ-qn{lJqOU7S|0h|NTe3e;tYK+r;AKS|P8x@(c4nnO|CS#)W zQG;A|BMZ=t4A_6>_ExVmNsHf3b=247NMjK}5hba4;?3@?JPVe;_*0LQ%-1V#FR^UeH#om8T!Kl-5OQgM5I>`j_Q?-*$ z0ALZ0qM7;?y8$g-ocikZ5UhySE(*V6(vFkL4#pVX(S|IG9!>M@F?Pf7H6J(9m_@IE zXY(PvSEnjTmEpE_S{T3XW)3zDjntsLch~S5qG4V}QJOiiqB#;_?4w~90dXY2=-aDO zC*pZaEG~bS?bgOkr?3THOmBdF`9gvYkG2=7@>|h0+fkPKnT8Il-L$A0RE7fU9}f-y z>Q-D_S-)BZcj{cGS?ObmH5j|oSC0LayTYYwr;64@dkb2-cjE)!dd?si$m%#7z&4Lw zEhn!35|J^lmAY(i<~oxs#*X{IBrA9w{miX{6fb{eh7K7Om=(@BB_@6%UNOtCTgnXC zFrZ%=LMtSW|6y;pd*&V(A^Cfhy?TK4wJQqLTNK9n6rh1VN)xp3bi@nJ$K;7h4TdbJ za^ar-e3W5XK#W*td(Rr-kIXtPOkHjFzVK2GYi8|oJU1{(ZD7B+rc5(QncoN}_zPHc z(jb2j7-;I5Yi8ZYc@~@;LO~4S!kg7=_vPyd1|63# z9Xix0mrgD%+!J~)<{-zW0#JBex&$~#i>A7{0Z|Q9nHbBmQ@m9KgaJcR^`@Q8!o)=l zGZ{pvij@FkxOd8th6|J+tmQZqgNRwXV(EVkQM(;VH%YXe^VjPkJ6G5Zm{9h^KpbJ- zuFq<|p@eTZ$s3-|_V?bsgq%pXB!Hm262ar|j4B-)P_nz1nsguwV{$u~8McKd%6iIg z&*_$Fh7!o`+Po@}B@DE$Dzj+faY(q?&NAsoU3Hl1N29D(X^y0-k5nFjCWgu^eg%Km zRAz-kgaXF!ja*3nlCh_PtpL%*b$Li2x_DFq;+_i@CWU^QM|Qugl)%ClW=VkBpkmvJ z_>0I`jN6@&!rSv$I)J;PIyZJ2)OWY4lCdi1L8>)jAQLQM(grXHvmlJa3>e1OMXRk( zPB4uH!Il>H0>*Bc%7iA2@Yr+9EY$gG;yPu%31yf{`@!3@MxW{R|>J*8z|?RnqB`Jv7?KEdhU{$(eWc z+xV~iZk$`l;F zl!!V685itC4)}=Y`3ghVg3C>)C|@(;WqmqFbP`+IJ2{SOh(8V(bW{Tz>X*9%i3 z!~l4`Ifw>^>{WhY{PDSq55II!L7?h7M49S8;-AhKqyd5X7x8h^UJ5?l&fh{Xw5XB_b zlPL-roDt2Q4{!ygE5d*6qXVAH(NDg(=*a?sYH2qG&0?(YF{q*Pu9;PffRA2*9gJ>8 zZPx){Y`A3q0v=`303m~9PV0;n?5!Jo?zV3I%4lSC$}OFj;a^}Elmjb`5q^J#*>fm(895ICT}&^SJ=3%>%F zoGd~xpjaExU2V-MPqm_cWj?J8Hs~=_J%%}eD*-=c9=`!AMFM z%E&K(Cv*yby5_sb^?zK(>dnlF-GUww(t0}7gA2ir$TBRO^+qh+g6ORO0reg0B!NvS A@c;k- delta 2327 zcmV+y3F!9e5r7krNCYq~F*uP)K7ZRb6y4`5JkxH?R`xDC%ZXFZxQ!+rwMz{ILJ}q* zzyP2vD#I(bzU6(r_h*$J$>yJnD>S!?cM^ z{YhGUFno{thl6)mYGPGl_BQ~CqQ3WRk;Y5lR9|;V!mQrSEf?H!W}tH=nN`5aCW+un zldISou3}L_zO%<{si-9z7JutNN>}RIqOiM#`vFioZ53IqxJ7D7{pz#UN@L}2vXp7c zgcv7|3uK--okq+xH)g0=Ya7wI`$%ud3zIu4A$V#OkAH(W^Vvd^cdRit zLsuXIICdC3Liq|f$5vd}kd)2Gx$yC82mR|YH#9@8(3`tz6x_WS3^Xqa1oFaV1@)NS zI6piYG4T<8tbU>*GuFYJrOISX^e(@Xa~hg2Gs_S+D(D5$^9q+pB~F}kzPbqk}AV(rH>w?H#412Ccv@ofn(iy zj&+2PYc(p~TS#P6=)at)DxkB+9ot-`ZxiOfH8Ib_%1JJ0ZX zltX*Ws*N+SSY{}d^z$qyGd`G)B_iDrUpLz;=m7Z2d!ok!QuKf;O$w(#gpWBL1B3nh zGLjgFEJ3m`Au)D2QZKF+*5<@%FHl{;O+-DIPAZXucTIy0R~7W;^MkMupTM8|>2wP2_e z@i0XPVzn+;he>5sn5bJ4mWSr?#6@s~FS$`xt90jSB7aAGc{Ka<^u+CfrNf}?p_v=L zc1H4z-$uU_imYR6<0V}4P=62RZ?Q%fi>fl$Z}amB2AIU`=S zKjge?On+G+9<=w0xv@n0(E=^9^zIHvyxxVNuDNuY;zi$&YYTzcR#`%9UH}c^(B1+O zkNZkx>lK!lIW|e@tORW${$QlfxnbqdH*dDJOnT);1CX_VKIlpq)jMM+!4xEu+`cK1 zB@DKvT^$c%r@3%~0dA|r0+#7C!#bz6phR2WGJoN5*JL#PmXB``*;6lNzDHp`b-y9@ zB~VB&dvnoq=cWP94eGfbhIcrVC4HEF!FZE`o(>k%^3K)zsqo?mJGabOOu6Z>3=+f@ z9ko~l>l^7vx=v2fQ6Wdc;6MgQ*87axzfGdc;OhW5dmg0m#J?HiBosrbR^POD0YtF{ ztAD{Vgcke+x6agIDMV?^tb^DA9A<*!+7L?N@%Cj!twogxQ4x{HwV=ReraBPB+|ApyT4%1?D&Bsj0dGd z03bPFeXGY{J;Qi?J4vhs!fJ}r%sDR#u74bcFR!P{xMls9h>RI5w|(MnZH60A(;tdy z>_@So6~lQaCVnAa*~6*+5-_RZ-IdT^|CkcP&=iJ0_g~MIDig!<>b=tgX4PlP3H=3z zp?@+4FrC<9*}OyDsDE+s0a`MmnX$Qb?@b%XP37H_Fd*M>-ETzj_#2~2#|E?y=6^)h zw|MuOZrHe%vP(d>$}D>G!Lj@ygng^BcprkBD7NtUj(d93W3cvfDEo0pudMj?dG()z zx9Z)@h~0$IjwQ1MrW;JKgh?AfKc+$I*??@P)n@bDBKeXF+*ncdv6vuLa|T+$)q5-If_n zBpR(+B|!CqQN9|TY=_uyvL;DFzbF0#+qjB`?s{s(OwSG!u48UAI0qH$t^+Ic&>45gL~JaB5oGE2=#V{389^S7%1~twSTMay#bPj zhIPP{Bz!*b)a9kG`|1fUB{jg^d`%^EYSkQ+h-Tx;JC|$|2Uk1|dh425!xeFUHuy(0+o z>$U9K0F6VbVZF>t;k$&8+`O5U`&+efDA43=m&w z-S6Y^#A(-6{JaWrXAiYQ#j(y|Zm>+5Vo$%R0y_Han|AUXqPzGM4dh>g?voBx(jf}_ zE4L9>+7qI4F;wg;h*d1xS46RR);c@vdZ;ygOsq#Jz3>C^3CjX$$w<*CHF)I!&y{mR`A}+)7>@z!n@Da<>DgZFK2aP+`qawH1=%q ztLbn6jnKlHA(}3|E5SXj2$>K?70u7R^(`je#`=!Y_i&rNWdK-i0Nj@b8|i0=nyz;} zp?}mM^=II*or#GbiGSbb?7k_k^ENeOeGh3oc?uNWF#3H_e6x@wVYtoZhwVEDM>rt( zf>w11l*jkAW`sy@VvfY?^{fq-G5WwQCsiV5?Q_AdAAQVrY-A%u^{8~r^w$-(Pwg<9 x5pL#Ot{0;>EnG))Q+FRZPXl9AObb!pO5_F`Y-c?DAV0J(xd?2${{fx)!IP59jt&3- diff --git a/py-modindex.html b/py-modindex.html index 5b160d9a..6e2d3fb0 100644 --- a/py-modindex.html +++ b/py-modindex.html @@ -1,5 +1,3 @@ - - @@ -8,15 +6,15 @@ - Python Module Index — diffpy.Structure 1.2b0-18 documentation + Python Module Index — diffpy.Structure 1.2b2 documentation - + @@ -41,7 +39,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b0-18 documentation »
  • +
  • diffpy.Structure 1.2b2 documentation »
  • @@ -234,7 +232,7 @@

    Python Module Index

    - diffpy + diffpy
    - + - +
    -
    Development, [1] -
    - -
    die() (in module diffpy.Structure.applications.anyeye)
    @@ -403,12 +399,12 @@

    D

    diffpy.Structure.Parsers.P_cif (module)
    -
    diffpy.Structure.Parsers.P_discus (module)
    +
    diffpy.Structure.Parsers.P_pdb (module)
    @@ -632,10 +628,6 @@

    I

    -
    Installation, [1] -
    - -
    is_identity() (diffpy.Structure.spacegroupmod.SymOp method)
    @@ -643,12 +635,12 @@

    I

    isconstantFormula() (in module diffpy.Structure.SymmetryUtilities)
    -
    isfloat() (in module diffpy.Structure.utils)
    +
    IsotropyError
    @@ -995,10 +987,6 @@

    R

    reciprocal() (diffpy.Structure.lattice.Lattice method)
    - -
    Requirements, [1] -
    -
    @@ -1428,7 +1416,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b2 documentation »
  • +
  • diffpy.Structure 1.2b2-2 documentation »
  • @@ -51,8 +51,8 @@

    Navigation

    diffpy.Structure documentation

    -

    Software version 1.2b2.

    -

    Last updated March 03, 2014.

    +

    Software version 1.2b2-2.

    +

    Last updated March 11, 2014.

    diffpy.Structure - simple storage and manipulation of crystal structures

    The diffpy.Structure package provides objects for storing atomic coordinates, displacement parameters and other crystal structure data. @@ -229,72 +229,8 @@

    Developers

    Installation

    -
    -

    Requirements

    -

    The diffpy.Structure requires Python 2.6 or 2.7 and the following software:

    -
      -
    • setuptools - software distribution tools for Python
    • -
    • NumPy - numerical mathematics and fast array operations for Python
    • -
    -

    On Ubuntu Linux the required software can be easily installed using -the system package manager:

    -
    sudo aptitude install python-setuptools python-numpy
    -
    -
    -

    For Mac OS X machine with the MacPorts package manager the installation -command is

    -
    sudo port install python27 py27-setuptools py27-numpy
    -
    -
    -

    When installing with MacPorts, make sure the MacPorts bin directory is the -first in the system PATH and that python27 is selected as the default -Python version in MacPorts:

    -
    sudo port select --set python python27
    -
    -
    -

    For other Linux distributions use their respective package manager; note -the packages may have slightly different names. diffpy.Structure depends -also on the PyCifRW library, which should -get automatically deployed as a part of the installation process.

    -
    -
    -

    Installation

    -

    Use easy_install to download and install the latest release from -Python Package Index

    -
    sudo easy_install diffpy.Structure
    -
    -
    -

    diffpy.Structure is also included in the DiffPy-CMI release bundle of -Python libraries for structure analysis at http://www.diffpy.org.

    -

    If you prefer to install from sources, make sure all required software -packages are in place and then run

    -
    sudo python setup.py install
    -
    -
    -

    By default the files are installed in the system directories, which are -only writeable by the root user. See the usage info from -./setup.py install --help for options to install as a normal user under -different location. Note that installation to non-standard directories may -require adjustments to the PATH and PYTHONPATH environment variables. -The installation integrity can be verified by changing to the HOME -directory and running

    -
    python -m diffpy.Structure.tests.run
    -
    -
    -
    -
    -

    Development

    -

    diffpy.Structure is an open-source software developed as a part of the -DiffPy-CMI complex modeling initiative at the Brookhaven National -Laboratory. The diffpy.Structure sources are hosted at -https://github.com/diffpy/diffpy.Structure.

    -

    Feel free to fork the project and contribute. To install diffpy.Structure -in a development mode, where the sources are directly used by Python -rather than copied to a system directory, use

    -
    python setup.py develop --user
    -
    -
    -
    +

    See the README.rst +file included with the distribution.

    @@ -273,7 +273,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b2 documentation »
  • +
  • diffpy.Structure 1.2b2-2 documentation »
  • @@ -95,7 +95,7 @@

    Navigation

  • modules |
  • -
  • diffpy.Structure 1.2b2 documentation »
  • +
  • diffpy.Structure 1.2b2-2 documentation »