{ "info": { "author": "B.L. de Vries", "author_email": "bldevries.science@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Readme file\n============\n- Author: Ben de Vries and Robin Lombaert\n- Contact: bldevries.science@gmail.com\n- Web: www.stjerke.com\n- Github: https://github.com/bldevries\n- PyPi: https://pypi.python.org/pypi/opacity_calculator\n\n\nImplementations and versions\n------------------------------------\n* Implementations in the current version (Beta 0.1):\n\t* Grain shapes: Implemented CDE grains\n\t* Grain sizes: single grain size\n\t* Optical constants in database: olivine (amorph and crystalline), carbon, ices\n\t* Benchmarked with Michiels code (Min et al 2009)\n\n* Next version (Beta 1.0)\n\t* Grain shapes: implement MIE and CDE grains\n\t* Grain sizes: single grain size\n\t* Optical constants in database: \n\t\t- silicates (olivine and pyroxene, amorph and crystalline)\n\t\t- oxides\n\t\t- carbon\n\t\t- ices\n\t\t- Able to use your own optical constants\n\n* Future versions:\n\t* Grain shapes: implement MIE, DHS, GRF and CDE grains\n\t* Grain sizes: single grain size and grain size distributions\n\t* Optical constants in database: \n\t\t- Full JENA database avaliable in the SQLite database\n\t\t- Able to use your own optical constants\t\n\t* Other functions:\n\t\t- Enable saving of the opacities in a local SQLite DB\n\n\n\n\nInstallation:\n--------------\n\n* PyPi: \n\trun: pip install opacity_calculator\n* Github\n\t- Download the files from github. Inside the opacity_calculator directory type (if you need permissions, with sudo): python setup.py install\n\t- To test if it works type python to go into python and then \"import opacity_calculator\"\n\n\nIntroduction\n-------------\nComing...\n\n\nGetting started: an example\n-----------------------------\nIf you have the opacity_calculator installed and want to test how it works and plot a spectrum with the matplotlib package. Go into python and type:\n\t- import opacity_calculator as oc\n\t- opacitiesForsterite = oc.getOpacity(\"fo050\", 1.0, print_console_output = True)\n\t- import matplotlib.pyplot as plt \n\t- plt.plot(opac.getX(), opac.getY())\n\t- plt.show)\nIf you want to try another mineral, check the content of the database in the following way:\n\t- import opacity_calculator as oc\n\t- oc.printDatabase()\n\t- You can use the labels in the label column to generate opacities with the getOpacity function.\n\n\nGeneral code structure and classes\n=====================================\n\nClasses & Files\n------------------\n* Package and python scripts\n\t* __init__.py\n\t* main.py \n* DataClasses:\n\t* DataClass_SQLData.py\n\t* DataClass_OpticalConstants.py\n\t* DataClass_Opacity.py\n* Calculators\n\t* Calculator_CDE.py\n\t* Calculator_MIE.py\n\t* Calculator_DHS.py\n* Database files:\n\t* SQLITE_DATABASE.db\n\n\n\n\nDatabases and table structure\n------------------------------\n* Filename: SQLITE_DATABASE.db\n* Table: OpticalConstantsTable", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bldevries/opacity_calculator", "keywords": "", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "opacity_calculator", "package_url": "https://pypi.org/project/opacity_calculator/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/opacity_calculator/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bldevries/opacity_calculator" }, "release_url": "https://pypi.org/project/opacity_calculator/0.1/", "requires_dist": null, "requires_python": null, "summary": "Calculating opacities", "version": "0.1" }, "last_serial": 2342389, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "10caaa3d4eacc6e0627911588cb15b59", "sha256": "34c02cc3a69cf8d82ce44bfa22dff95509e4f14907ab431ba14d92fb955e8c21" }, "downloads": -1, "filename": "opacity_calculator-0.1.tar.gz", "has_sig": false, "md5_digest": "10caaa3d4eacc6e0627911588cb15b59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6191056, "upload_time": "2016-09-14T14:01:25", "url": "https://files.pythonhosted.org/packages/b1/fd/984f5ac0bb9bcbf6624eb9fb3d37a7ca0a0cfd0ef4e7a034e7eacaa4acac/opacity_calculator-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "10caaa3d4eacc6e0627911588cb15b59", "sha256": "34c02cc3a69cf8d82ce44bfa22dff95509e4f14907ab431ba14d92fb955e8c21" }, "downloads": -1, "filename": "opacity_calculator-0.1.tar.gz", "has_sig": false, "md5_digest": "10caaa3d4eacc6e0627911588cb15b59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6191056, "upload_time": "2016-09-14T14:01:25", "url": "https://files.pythonhosted.org/packages/b1/fd/984f5ac0bb9bcbf6624eb9fb3d37a7ca0a0cfd0ef4e7a034e7eacaa4acac/opacity_calculator-0.1.tar.gz" } ] }