{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows :: Windows 7", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3 :: Only", "Topic :: Education", "Topic :: Scientific/Engineering" ], "description": "ECCW\n####\n\nExact Critical Coulomb Wedge\n============================\n\n**ECCW** allows to compute the exact solution of any parameter of critical Coulomb wedge (as Dahlen 1984 and Yuan et al. 2015). It allows to draw any of these solutions in the \u03b2 vs \u03b1 domain (basal slope against surface slope). Are availables compressive or extensive geological context and fluid pore pressure.\n\n**ECCW** is under GNU GPL-v3 license.\n\n\n*******************************************************************\n\nGeneral informations\n====================\n\n*ECCW* is a *python3* library.\n\nA graphical user interface (GUI), written in *python3* and using *Qt* is also available under the name *ECCW-GUI*.\n\n\n*******************************************************************\n\n\nInstallation\n============\n\n\nWindows\n+++++++\n\n.. note :: Only tested on *Windows 7*.\n\n\n1. Install python3 verson of **miniconda** python environment from https://conda.io/miniconda.html\n a. run downloaded .exe;\n b. at **Advanced Options** step, tick checkbox named *Add Anaconda to my PATH environment variable*.\n\n2. Launch the windows **Command Prompt**:\n a. type ``conda`` to check that *conda* is correctly installed;\n b. type ``pip`` to check that *pip* is also correctly installed.\n\n3. Install *ECCW* with the following command in the *Command Prompt*::\n\n $ pip install eccw\n\n4. *ECCW* is then available from the *Command Prompt* by taping ``eccw`` or simply from the main *Windows* menu under the name *eccw*.\n\n\nLinux\n+++++\n\n.. note :: Only tested on *Debian 9 (Gnome)* and *Ubuntu 16.04 (Unity)*.\n\nInstallation using pip\n----------------------\n\n1. Install **pip** and **tk** for *Python3*. \n On *Debian* family distributions, you can install these packages using the following command::\n\n $ sudo apt-get install python3-pip python3-tk\n\n2. Install *ECCW* with the following command::\n\n $ pip3 install eccw\n\n3. *ECCW* is then available from a terminal by taping ``eccw``\n\nInstallation from sources_\n--------------------------\n\n1. Install the folowing dependancies for python3:\n\n\t| tk\n\t| pyqt5\n\t| numpy\n\t| matplotlib\n\t| xmltodict\n\n On *Debian* family distributions, you can install these packages using the following command::\n\n $ sudo apt-get install python3-tk python3-pyqt5 python3-numpy python3-matplotlib python3-xmltodict\n\n2. Using a terminal with current working directory setted on *ECCW* sources folder, you can install *ECCW* with the following command::\n\n $ python3 setup.py install\n\n3. *ECCW* is then available from a Terminal by taping ``eccw``\n\n\n.. note:: You can also launch *ECCW* without installation (but with dependancies installed) if you add the path to the *ECCW* sources folder to the environment variable ``$PYTHONPATH``::\n\n $ export PYTHONPATH=${PYTHONPATH}:path/to/eccw/sources/\n\n This command can be added to your ``.bashrc`` file (hidden file located at the root of your home).\n Once the PYTHONPATH is seted, you can launch *ECCW* by running ``eccw/main.py`` file in the sources folder.\n\n\n\n*******************************************************************\n\nUsage\n=====\n\nThe following describe usage of *ECCW* class objects, callable from a python3 shell.\n\nEccwCompute\n+++++++++++\n\nThis the core object that compute the solutions of the *CCW* problem.\n::\n\n >>> from eccw import EccwCompute\n >>> foo = EccwCompute(phiB=30, phiD=10, beta=0)\n >>> foo.show_params()\n { context : 'Compression'\n beta : 0.0\n alpha : nan\n phiB : 30.0\n phiD : 10.0\n rho_f : 0.0\n rho_sr : 0.0\n delta_lambdaB : 0.0\n delta_lambdaD : 0.0\n }\n >>> foo.compute(\"alpha\")\n ((3.4365319302835018,), (23.946319406533199,))\n\n\nThe result obtained with the ``compute`` method is always a tuple of two tuples.\nThe first tuple contains results in **inverse** fault mechanism, while the second tuple contains results in **normal** fault mechanism.\nThese tuples can each contain 0, 1 or 2 values, with a total always equal to 0 or 2.\nHere some more examples with computation of beta ``parameter``::\n::\n\n >>> foo.alpha = 3.436532\n >>> foo.compute(\"beta\") \n ((-1.0516746372768912e-07,), (69.6779628783264,))\n >>> foo.alpha = 20\n >>> foo.compute(\"beta\") \n ((), (-3.580929608343892, 43.25889259183777))\n >>> foo.alpha = -20\n >>> foo.compute(\"beta\") \n ((36.74110740816224, 83.58092960834391), ())\n >>> foo.alpha = -35\n >>> foo.compute(\"beta\") \n ((), ())\n\nHave a look on the plot obtained in next section to understand these results.\n\nEccwPlot\n++++++++\n\nThis the core object that plot the solutions of the *CCW* problem. This object inherits from ``EccwCompute``.\n::\n\n >>> from eccw import EccwPlot\n >>> foo = EccwPlot(phiB=30, phiD=10)\n >>> foo.add_curve(inverse={'color':(1,0,0,1), 'label':'inverse'}, \n normal={'color':(0,0,1,1), 'label':'normal'})\n >>> foo.add_point(alpha=3.436532)\n >>> foo.add_point(alpha=20, style='*', size=10)\n >>> foo.add_point(alpha=-20, style='s')\n >>> foo.add_legend()\n >>> foo.show()\n\n|Screen copy of EccwPlot's plot|\n\n\n\n\n\n.. _sources: https://github.com/bclmary/eccw.git\n\n.. |Screen copy of EccwPlot's plot| image:: ./images/EccwPlot_example.png\n :alt: screen copy of matplotlib window containing ECCW plot\n :width: 400\n\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bclmary/eccw.git", "keywords": "geology,accretionnary prism", "license": "GPL-3.0+", "maintainer": "BCL Mary", "maintainer_email": "bclmary@mailoo.org", "name": "eccw", "package_url": "https://pypi.org/project/eccw/", "platform": "any", "project_url": "https://pypi.org/project/eccw/", "project_urls": { "Homepage": "https://github.com/bclmary/eccw.git" }, "release_url": "https://pypi.org/project/eccw/1.1.0.post1/", "requires_dist": [ "matplotlib (>=2.0)", "numpy (>=1.10)" ], "requires_python": ">=3.6", "summary": "Exact Critical Coulomb Wedge : tools to compute and display the exact solution of any parameter of Critical Coulomb Wedge", "version": "1.1.0.post1" }, "last_serial": 5945311, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "bdecbf67522542af19c6b9c983195c8b", "sha256": "f0a1bcc58b73849ffc150bf4a183876cd21ab5c6ea8e898dcde911e19cbc7a9e" }, "downloads": -1, "filename": "eccw-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "bdecbf67522542af19c6b9c983195c8b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 19152, "upload_time": "2018-02-21T14:50:22", "url": "https://files.pythonhosted.org/packages/69/3b/9c02ee23c50d99a39c09a75fd587b6ec8720216a9d32d2a3807da81858d1/eccw-1.0.0-py3-none-any.whl" } ], "1.1.0.post1": [ { "comment_text": "", "digests": { "md5": "d7ab72370df8144d847f1b5202b5875e", "sha256": "96a0739688ee9fd7abf8d1a4a218c2bac1f102d8872a9f973e5cb930e1d22474" }, "downloads": -1, "filename": "eccw-1.1.0.post1-py3-none-any.whl", "has_sig": false, "md5_digest": "d7ab72370df8144d847f1b5202b5875e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 25362, "upload_time": "2019-10-08T15:11:57", "url": "https://files.pythonhosted.org/packages/40/c0/a15d5ee260292c8b801c271e2f88a9e4d0d5d0b6c0d1972c8c952bdd59d2/eccw-1.1.0.post1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f883b3a14018006f0ea69528c433803b", "sha256": "c13231dede7446d33ac06cd38443c53cef36ce2ce1573f419efc80e003ec9149" }, "downloads": -1, "filename": "eccw-1.1.0.post1.tar.gz", "has_sig": false, "md5_digest": "f883b3a14018006f0ea69528c433803b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 35479, "upload_time": "2019-10-08T15:12:06", "url": "https://files.pythonhosted.org/packages/8a/f3/9d15a9105f7d7fc1d4f0411193aef2ee2e70c2008fbefab8f6dec3583396/eccw-1.1.0.post1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d7ab72370df8144d847f1b5202b5875e", "sha256": "96a0739688ee9fd7abf8d1a4a218c2bac1f102d8872a9f973e5cb930e1d22474" }, "downloads": -1, "filename": "eccw-1.1.0.post1-py3-none-any.whl", "has_sig": false, "md5_digest": "d7ab72370df8144d847f1b5202b5875e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 25362, "upload_time": "2019-10-08T15:11:57", "url": "https://files.pythonhosted.org/packages/40/c0/a15d5ee260292c8b801c271e2f88a9e4d0d5d0b6c0d1972c8c952bdd59d2/eccw-1.1.0.post1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f883b3a14018006f0ea69528c433803b", "sha256": "c13231dede7446d33ac06cd38443c53cef36ce2ce1573f419efc80e003ec9149" }, "downloads": -1, "filename": "eccw-1.1.0.post1.tar.gz", "has_sig": false, "md5_digest": "f883b3a14018006f0ea69528c433803b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 35479, "upload_time": "2019-10-08T15:12:06", "url": "https://files.pythonhosted.org/packages/8a/f3/9d15a9105f7d7fc1d4f0411193aef2ee2e70c2008fbefab8f6dec3583396/eccw-1.1.0.post1.tar.gz" } ] }