{ "info": { "author": "Steven Murray", "author_email": "steven.jeanette.m@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "README\n\n PyGS (Python Galaxy Survey) is designed to be an interactive class to deal with large-scale redshift surveys.\n \n Its ideal is to make the run-of-the-mill operations as simple as possible, but to provide enough flexibility\n in the background to be of real usefulness. While intended as an interactive class, for use with the python\n shell or IPython, it can of course also be scripted.\n \n Many of the more intensive routines are written in Fortran and made available through F2PY.\n \n Instantiating the class requires a filename, or folder, which contains the survey information (redshifts,\n angles, magnitudes etc.). Once the import of the data has been successful, a directory structure will be\n created which is intended to allow speed-of-access and computation, and ease-of-reuse for future \n calculations. See the documentation for __init__() for detailed explanations.\n \n Most calculations have default options which will be used in the absence of user-specified options, and these\n are deemed to be the most common usages of the method. However, there is always the opportunity to tweak these\n as needed. Generally there are 'convenience' functions for performing a series of calculations, where it is\n common to do these together.\n\n\n-++++++++++++++++++++++++++++++++++++++++++++++++++++\n-+\t\t\t\t\t\t\t\t\t\t\t\t +\n-+\tGUIDE TO INSTALLING AND USING PyGS\t\t\t +\n-+\t\t\t\t\t\t\t\t\t\t\t\t +\n-++++++++++++++++++++++++++++++++++++++++++++++++++++\n-\n-\n-1. GETTING THE ENVIRONMENT SET UP\n-\ta.) Getting a proper environment depends heavily on the OS\n-\t\tthat you are using. If using Ubuntu, most installation can\n-\t\tbe done via synaptic, if using mac or windows it is a little\n-\t\tmore difficult.\n-\tb.) First make sure you have a working fortran 90 compiler.\n-\t\tI used gfortran for development. Ubuntu already has \n-\t\tgfortran, mac doesn't so you will need to install it. I \n-\t\tdon't even know for Windows.\n-\tc.) Get python. Ubuntu and mac are shipped with a version of\n-\t\tpython. Don't use it. Install the latest 2.x version (NOT 3.x!)\n-\t\tusing your favourite method. HOWEVER, one nice option\n-\t\tto consider at this point is EPD - Enthought Python\n-\t\tDistribution. It comes shipped with basically every module\n-\t\tyou'll need for PyGS and is very easy to install. \n-\td.) If going the way of EPD, install the 64-bit version I think.\n-\t\tPerhaps in the future we may need to use 32-bit. But\n-\t\ttry the 64-bit for now. \n-\te.) Once EPD is installed, in terminal, type \"which python\".\n-\t\tYou should see the python.exe in the EPD folder, not\n-\t\tthe standard one shipped with your OS. If it is not the \n-\t\tcorrect python, you probably have to modify your \n-\t\t.bashrc file with a line saying: \n-\t\t\"export PATH = \"\":$PATH\"\n-\t\tor something very similar. \n-\tf.) If NOT going the way of EPD, then point your $PATH variable\n-\t\tto the new python interpreter you installed by adding \n-\t\tsomething like \n-\t\t\"export PATH = \"\":$PATH\"\n-\t\t.bashrc file. \n-\n-\tf.) Once this is correct (either EPD or not), type \"easy_install pip\", \n-\t\twhich will install the module pip, which is an easy way to \n-\t\tdownload and install most good modules.\n-\tg.) If NOT using EPD, then you will need to install a few modules\n-\t\twith pip. So type in terminal:\n-\t\t> pip install numpy\n-\t\t> pip install scipy\n-\t\t> pip install matplotlib\n-\t\t> pip install cosmolopy\n-\t\t> pip install asciitable\n-\t\t> pip install ipython\n-\t\t> pip install readline\n-\th.) If using EPD, then there are only a couple of things to install:\n-\t\t> pip install cosmolopy\n-\t\t> pip install asciitable\n-\t You can also update the others:\n-\t\t> pip update numpy\n-\t\t> pip update scipy\n-\t\t> pip update matplotlib\n-\n-\ti.) Now your python setup is ready for PyGS.\n-\n-2. INSTALLING PyGS\n-\ta.) There are two ways to go here: If you just want to use PyGS\n-\t\tand not work on it, (or just want to try it out easily before you\n-\t\tstart working on it), then download just the tar.gz file under the\n-\t\tdist folder. If you want to work on PyGS, then download\n-\t\teverything under the PyGS folder (that includes setup.py,\n-\t\tREADME.txt etc).\n-\n- - To install the just usable version:\n-\tb.) After downloading the tar.gz file, untar it, then in the terminal,\n-\t\tenter the untarred directory and then type:\n-\t\t> python setup.py install\n- \t\t(You may need to type sudo beforehand depending on \n-\t\twhere your files are installed).\n-\n-\tc.) As long as everything installs correctly (it may not, I've only tested\n-\t\tit with my specific OS and compiler etc.) then you are right to go.\n-\n- - What to do with the source code:\n-\td.) If you would like to have the source in the same way that I do on \n-\t\tmy computer then you will have downloaded the whole PyGS\n-\t\tdirectory. The source code itself is under PyGS/PyGS. The \n-\t\tfortran code is under /fort. The only python file is the PyGS.py\n-\t\tfile, which contains the class with many methods. You can\n-\t\tquite simply install the modules to your root python installation\n-\t\tby running the install.sh script after you make changes. \n-\n-3. USING PyGS IN THE INTERPRETER\n-\ta.) Type ipython in the terminal. \n-\t\n-\tb.) type:\n-\t\t > from PyGS import PyGS\n-\t\tNOTE: what we are doing here is saying\n-\t\t\"from the package PyGS,import the module PyGS\"\n-\n-\tc.) A few handy things in ipython: typing a variable or class\n-\t\tname followed by a ? brings up information about that\n-\t\tclass/method/variable. I have tried to document PyGS\n-\t\tfairly well so doing this can help. For instance type\n-\t\t> PyGS.PyGS?\n-\t\tAlso, typing PyGS.PyGS. will bring up the methods\n-\t\tand variables that PyGS contains (NOTE the dot after\n-\t\tPyGS). Tab acts as an autocomplete. This is also very\n-\t\thelpful.\n-\n-\td.) Make sure that you have a file containing Survey information.\n-\t\tIf the file has a header with the information about each column\n-\t\tthen the class may automatically detect which columns \n-\t\tcorrespond to which variables (redshift, ra, dec etc). \n-\t\tHowever, this may not be the case, and the program may\n-\t\task you what columns correspond to what. So make sure\n-\t\tyou know where redshift, ra, dec and mag_r are.\n-\n-\te.) type:\n-\t\t> x = PyGS.PyGS(\"\")\n-\t\tand follow the prompts if there are any. There are other options\n-\t\twhen importing the survey but you can explore them later.\n-\t\tWhat this will do is import the survey info to the current session\n-\t\tand importantly create a folder where your file is, named after\n-\t\tthe file which will house a similar file, formatted for future use\n-\t\tin the program (to make importing it easier next time).\n-\n-\tf.) type:\n-\t\t> x.\n-\t\ta list of methods will come up that you can perform on the survey.\n-\t\tJust choose one! You can type any one followed by a ? to see what\n-\t\tit does", "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/steven-murray/PyGS", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "PyGS", "package_url": "https://pypi.org/project/PyGS/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PyGS/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/steven-murray/PyGS" }, "release_url": "https://pypi.org/project/PyGS/0.5.0/", "requires_dist": null, "requires_python": null, "summary": "Interactive program to deal with Galaxy Surveys.", "version": "0.5.0" }, "last_serial": 912466, "releases": { "0.4.0": [ { "comment_text": "", "digests": { "md5": "f161d1bc9c51271595455f8acd22e284", "sha256": "13d7769b8b2025b090ce4ddd24277180fd855a2c3dfbabd82d2e53cc1f194e80" }, "downloads": -1, "filename": "PyGS-0.4.0-py2.7-macosx-10.5-x86_64.egg", "has_sig": false, "md5_digest": "f161d1bc9c51271595455f8acd22e284", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 124864, "upload_time": "2013-05-22T02:36:43", "url": "https://files.pythonhosted.org/packages/9e/82/c5703f2bddba652ae9475a6c1680b94c0196f0afb6342a51def989bf173c/PyGS-0.4.0-py2.7-macosx-10.5-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "c8be055f76ad462a864b633e70f471fa", "sha256": "ea8bb695b9f978fc53bf8629a8dbf66117df972005c8262c45a9f299f10e041a" }, "downloads": -1, "filename": "PyGS-0.4.0.tar.gz", "has_sig": false, "md5_digest": "c8be055f76ad462a864b633e70f471fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29848, "upload_time": "2013-05-22T02:26:54", "url": "https://files.pythonhosted.org/packages/4c/e5/c33a317ac7faf08bd4f6336515dd221542cf4f7cbf252c33741b814c2292/PyGS-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "14278c99f3bc519c5fc6f4cbde2716d0", "sha256": "26a8518fb199665890d01027f4d3303db718c053c0d047e851649b216518319b" }, "downloads": -1, "filename": "PyGS-0.4.1-py2.7-macosx-10.5-x86_64.egg", "has_sig": false, "md5_digest": "14278c99f3bc519c5fc6f4cbde2716d0", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 119506, "upload_time": "2013-05-30T09:57:15", "url": "https://files.pythonhosted.org/packages/59/80/a0c6ee665dd984c0b510b1d8db0597e2bcabbf26a9f74b1fc9c69e882a64/PyGS-0.4.1-py2.7-macosx-10.5-x86_64.egg" } ], "0.4.1-2": [ { "comment_text": "", "digests": { "md5": "164f103e82285279318bf97fea03f04b", "sha256": "cb88f89e9b2a9f0242b9c5cc1bc57dcb0e658c6d223e3630435d969c56a85cad" }, "downloads": -1, "filename": "PyGS-0.4.1-2.tar.gz", "has_sig": false, "md5_digest": "164f103e82285279318bf97fea03f04b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40921, "upload_time": "2013-05-31T04:40:20", "url": "https://files.pythonhosted.org/packages/30/0f/3a5a01c02b9df410a2dcd22993d9736828c2aa603d0c73d76ad742c25925/PyGS-0.4.1-2.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "9ab596d3387b3c4daf0a785496211f9c", "sha256": "859146a6e17c22ae8bdfc617ae2883d791621c34ad2c704dcf0086bb6b3fdf42" }, "downloads": -1, "filename": "PyGS-0.4.2-py2.7-macosx-10.5-x86_64.egg", "has_sig": false, "md5_digest": "9ab596d3387b3c4daf0a785496211f9c", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 119744, "upload_time": "2013-05-31T05:25:05", "url": "https://files.pythonhosted.org/packages/23/e2/4274fcfa2a7b5441ae47bcdd2d878f9127f758375add1146eaed9e0cec18/PyGS-0.4.2-py2.7-macosx-10.5-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "d4e9fa3c95c40c1dba8ba3b6168fcd20", "sha256": "63f5327dd9bd64aeba8c0d60eb29b23a628969e1977d02cbab6e9ec0c9c41663" }, "downloads": -1, "filename": "PyGS-0.4.2.tar.gz", "has_sig": false, "md5_digest": "d4e9fa3c95c40c1dba8ba3b6168fcd20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41065, "upload_time": "2013-05-31T05:24:40", "url": "https://files.pythonhosted.org/packages/46/60/1423301cc5f2552ed726a11b3a96f8e1ebd5d40eb0b104bc24b0eb68b53f/PyGS-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "31f1163c87a1666a1c3114c535ad5177", "sha256": "5bfb583f0fd65a36d1d86e840e0cc5578e42d6ae19302bdd4768c9fbf124d9ef" }, "downloads": -1, "filename": "PyGS-0.5.0-py2.7-macosx-10.5-x86_64.egg", "has_sig": false, "md5_digest": "31f1163c87a1666a1c3114c535ad5177", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 127203, "upload_time": "2013-11-06T11:46:20", "url": "https://files.pythonhosted.org/packages/46/02/a7a99745d0fb5b4e912fa54928499f8a330289901d0c68bb2bea508976b9/PyGS-0.5.0-py2.7-macosx-10.5-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "079f93d720768aa3251c1339b9308f6e", "sha256": "bdb5e7a36a7d16d02e9b68c8b3a4e6ad9feb3e6e7d1cbd8d1497b77481f7b2e8" }, "downloads": -1, "filename": "PyGS-0.5.0.tar.gz", "has_sig": false, "md5_digest": "079f93d720768aa3251c1339b9308f6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37470, "upload_time": "2013-11-06T11:46:06", "url": "https://files.pythonhosted.org/packages/eb/af/21bd4c434e51e58b55ba5ef8053883fa104f7aaa33c4a03510ded713045b/PyGS-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "31f1163c87a1666a1c3114c535ad5177", "sha256": "5bfb583f0fd65a36d1d86e840e0cc5578e42d6ae19302bdd4768c9fbf124d9ef" }, "downloads": -1, "filename": "PyGS-0.5.0-py2.7-macosx-10.5-x86_64.egg", "has_sig": false, "md5_digest": "31f1163c87a1666a1c3114c535ad5177", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 127203, "upload_time": "2013-11-06T11:46:20", "url": "https://files.pythonhosted.org/packages/46/02/a7a99745d0fb5b4e912fa54928499f8a330289901d0c68bb2bea508976b9/PyGS-0.5.0-py2.7-macosx-10.5-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "079f93d720768aa3251c1339b9308f6e", "sha256": "bdb5e7a36a7d16d02e9b68c8b3a4e6ad9feb3e6e7d1cbd8d1497b77481f7b2e8" }, "downloads": -1, "filename": "PyGS-0.5.0.tar.gz", "has_sig": false, "md5_digest": "079f93d720768aa3251c1339b9308f6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37470, "upload_time": "2013-11-06T11:46:06", "url": "https://files.pythonhosted.org/packages/eb/af/21bd4c434e51e58b55ba5ef8053883fa104f7aaa33c4a03510ded713045b/PyGS-0.5.0.tar.gz" } ] }