{ "info": { "author": "Travis Valdez, Michael Busuttil", "author_email": "drake@pcxftw.com", "bugtrack_url": null, "classifiers": [], "description": "Module: Sigfig v0.1\r\nDeveloped by: Michael Busuttil, Travis Valdez\r\nLast Updated: Friday, January 10, 2014\r\n\r\nUsage:\r\n\r\nroundit(number, unc, **kwds):\r\n\t*Possible Keywords:\r\n\t\ta) \"form = ____\"\r\n\t\t\ti) \"SI\" **default** : numbertosigfigs(uncertainty)\r\n\t\t\tii) \"plusminus\": numbertosigfigs +/- uncertainty\r\n\t\t\tiii) \"tuple\": [numbertosigfigs,uncertainty]\r\n\t\tb) crop: specifies the number under which the uncertainty is\r\n\t\trounded to two significant figures, and over which the uncer-\r\n\t\ttainty is rounded to one significant figure.\r\n\t\t\t- NOTE: DEFAULT IS 0\r\n\r\n\t- Used to round an uncertainty (unc) to the proper crop value, round\r\n\tthe number (number) to match the uncertainty, and return the number\r\n\tand the uncertainty in the proper form\r\n\t\t- NOTE: THIS FUNCTION IS PERFORMED ONLY IF THE UNCERTAINTY\r\n\t\tVALUE IS NOT AN INTEGER. IF THE UNCERTAINTY IS AN INTEGER\r\n\t\tVALUE, ENTER IT AS A STRING (Ex. 1 --> '1')\r\n\t- Used to round a number (number) to a specified amount of significant\r\n\tfigures (unc)\r\n\t\t- NOTE: THIS FUNCTION IS PERFORMED ONLY IF THE UNCERTAINTY\r\n\t\tVALUE IS AN INTEGER\r\n\r\n\t*Examples:\r\n\t\t>>> roundit(1234,1)\r\n\t\t**WARNING:: INTEGER UNCERTAINTY VALUE --> ROUNDED TO**\r\n\t\t**1 SIGNIFICANT FIGURE(S)**\r\n\t\t'1 000'\r\n\r\n\t\t>>> roundit(1234,'1')\r\n\t\t'1 234(1)'\r\n\r\n\t\t>>> roundit(1.234567,0.0001234)\r\n\t\t'1.234 6(1)'\r\n\r\n\t\t>>> roundit(1.234567,0.0001234,crop=30)\r\n\t\t'1.234 57(12)'\r\n\r\n\t\t>>> roundit(1.234567,0.0001234,crop=30,form=\"plusminus\")\r\n\t\t'1.234 57 +/- 0.00012'\r\n\r\n\t\t>>> roundit(1.234567,0.0001234,crop=30,form=\"tuple\")\r\n\t\t['1.234 57', '0.00012']\r\n\r\nPLEASE DIRECT ANY COMMENTS/SUGGESTIONS/BUGS TO: drake@pcxftw.com. THANK YOU FOR DOWNLOADING!", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/drakegroup/sigfig/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://drake.sharcnet.ca", "keywords": "numbers,numerical,data,output,format,significant figures,sigfigs,round,rounding", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "sigfig", "package_url": "https://pypi.org/project/sigfig/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sigfig/", "project_urls": { "Download": "https://github.com/drakegroup/sigfig/tarball/0.1", "Homepage": "http://drake.sharcnet.ca" }, "release_url": "https://pypi.org/project/sigfig/0.1/", "requires_dist": null, "requires_python": null, "summary": "A library of functions that help present numerical data in a specified format", "version": "0.1" }, "last_serial": 984077, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "db8ab957f8cb560112b2cb4fcd8e834a", "sha256": "2000c4db080dc324f6dab1e815375ab44707047eab97c0e978c4ac0dfe122052" }, "downloads": -1, "filename": "sigfig-0.1.tar.gz", "has_sig": false, "md5_digest": "db8ab957f8cb560112b2cb4fcd8e834a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5653, "upload_time": "2014-01-24T04:41:16", "url": "https://files.pythonhosted.org/packages/e0/14/960e0532fad7c5261c87c768cc07725e00dd1669ad3b45ba5dd8fb21996e/sigfig-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "db8ab957f8cb560112b2cb4fcd8e834a", "sha256": "2000c4db080dc324f6dab1e815375ab44707047eab97c0e978c4ac0dfe122052" }, "downloads": -1, "filename": "sigfig-0.1.tar.gz", "has_sig": false, "md5_digest": "db8ab957f8cb560112b2cb4fcd8e834a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5653, "upload_time": "2014-01-24T04:41:16", "url": "https://files.pythonhosted.org/packages/e0/14/960e0532fad7c5261c87c768cc07725e00dd1669ad3b45ba5dd8fb21996e/sigfig-0.1.tar.gz" } ] }