{ "info": { "author": "Kevin Gullikson", "author_email": "kgulliks@astro.as.utexas.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7" ], "description": "TelFit Code\n===========\n\nThis code will fit the telluric absorption spectrum in data, using\nLBLRTM. More details can be found in the `documentation`_ and examples, but the\ninstallation and run procedure are outlined below. If you use this code,\nplease cite `my paper`_.\n\nInstallation\n------------\n\nThis code requires the following packages:\n\n - matplotlib\n - **numpy v1.6 or greater**\n - scipy v0.13 or greater\n - astropy v0.2 or greater\n - lockfile\n - pysynphot v0.7 or greater\n - fortranformat\n - **cython**\n - **requests**\n\nThe bolded entries are required *before* installation, so make sure you get them from pip, apt-get/yum, or conda (depending on your OS and linux distribution). The setup script will attempt to install the rest if you don't have them, but I suggest doing it yourself just to make sure nothing goes wrong. Once you have the dependencies, simply type\n\n.. code:: bash\n\n pip install TelFit\n\nto install TelFit. It may take a while, as it needs to build the LBLRTM code and some of its standard input files.\n\nRunning TelFit\n--------------\n\nTo run TelFit, you should create a script like in the examples. The key\nparts of the script are the inputs to the TelluricFitter class. You\nshould:\n\n- Initialize fitter: fitter = TelluricFitter()\n- Define variables to fit: must provide a dictionary where the key is\n the name of the variable, and the value is the initial guess value\n for that variable. Example: fitter.FitVariable({\u201cch4\u201d: 1.6, \u201ch2o\u201d:\n 45.0})\n- Edit values of constant parameters: similar to FitVariable, but the\n variables given here will not be fit. Useful for settings things like\n the telescope pointing angle, temperature, and pressure, which will\n be very well-known. Example: fitter.AdjustValue({\u201cangle\u201d: 50.6})\n- Set bounds on fitted variables (fitter.SetBounds): Give a dictionary\n where the key is the name of the variable, and the value is a list of\n size 2 of the form [lower\\_bound, upper\\_bound]\n- Import data (fitter.ImportData): Copy data as a class variable. Must\n be given as a DataStructures.xypoint instance\n- Perform the fit: (fitter.Fit): Returns a DataStructures.xypoint\n instance of the model. The x-values in the returned array are the\n same as the data.\n\n.. _my paper: http://adsabs.harvard.edu/abs/2014AJ....148...53G\n.. _documentation: http://telfit.readthedocs.org/en/latest/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.as.utexas.edu/~kgulliks/projects.html", "keywords": null, "license": "The MIT License: http://www.opensource.org/licenses/mit-license.php", "maintainer": null, "maintainer_email": null, "name": "TelFit", "package_url": "https://pypi.org/project/TelFit/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/TelFit/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.as.utexas.edu/~kgulliks/projects.html" }, "release_url": "https://pypi.org/project/TelFit/1.3.2/", "requires_dist": null, "requires_python": null, "summary": "A package to fit the telluric absorption in astronomical spectra.", "version": "1.3.2" }, "last_serial": 1625404, "releases": { "1.2": [], "1.3.0": [ { "comment_text": "", "digests": { "md5": "f1f8c1c231cf7ce3c21a6889c13f4c1e", "sha256": "d14401264fe6c3b71340a8721d91d95a604e0b9f9f97f7aec5817fc2d222604a" }, "downloads": -1, "filename": "TelFit-1.3.0.tar.gz", "has_sig": false, "md5_digest": "f1f8c1c231cf7ce3c21a6889c13f4c1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10237590, "upload_time": "2015-06-07T18:22:14", "url": "https://files.pythonhosted.org/packages/0b/54/2a0e31ec889b22c541bb3b396de8a1472582ee5eae407d6e9cf2d4f3922b/TelFit-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "37c46f440b0e262da283117a6211717c", "sha256": "85e05a04fd98a1034c362df16f9ae8ba75625acf5942a3ed86fb83d4a0468028" }, "downloads": -1, "filename": "TelFit-1.3.1.tar.gz", "has_sig": false, "md5_digest": "37c46f440b0e262da283117a6211717c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3969818, "upload_time": "2015-06-08T21:56:19", "url": "https://files.pythonhosted.org/packages/d9/7a/906b8cf243bda3b4848e0b6965bb4819b95dd611c41e10811235f9dfa898/TelFit-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "c5a540069ee42b511382f4a6aa9c92cb", "sha256": "404a315ebcef6f6802da8a5f972f8cb5d3ed113c3ae4a7f32f47dafca12a1a77" }, "downloads": -1, "filename": "TelFit-1.3.2.tar.gz", "has_sig": false, "md5_digest": "c5a540069ee42b511382f4a6aa9c92cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3971788, "upload_time": "2015-07-08T22:38:48", "url": "https://files.pythonhosted.org/packages/fe/22/6ea8ae3b671d96c349f513aefaed8ac38117a318ba47ca729b2127541683/TelFit-1.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c5a540069ee42b511382f4a6aa9c92cb", "sha256": "404a315ebcef6f6802da8a5f972f8cb5d3ed113c3ae4a7f32f47dafca12a1a77" }, "downloads": -1, "filename": "TelFit-1.3.2.tar.gz", "has_sig": false, "md5_digest": "c5a540069ee42b511382f4a6aa9c92cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3971788, "upload_time": "2015-07-08T22:38:48", "url": "https://files.pythonhosted.org/packages/fe/22/6ea8ae3b671d96c349f513aefaed8ac38117a318ba47ca729b2127541683/TelFit-1.3.2.tar.gz" } ] }