{ "info": { "author": "Jo Bovy", "author_email": "bovy@astro.utoronto.ca", "bugtrack_url": null, "classifiers": [], "description": "wendy\r\n=====\r\n\r\nA one-dimensional gravitational N-body code.\r\n\r\n|Build Status| |Coverage Status| |Binder|\r\n\r\nOverview\r\n--------\r\n\r\n``wendy`` solves the one-dimensional gravitational N-body problem to\r\nmachine precision with an efficient algorithm [O(log N) /\r\nparticle-collision]. Alternatively, it can solve the problem with\r\napproximate integration, but with exact forces.\r\n\r\nAuthor\r\n------\r\n\r\nJo Bovy (University of Toronto): bovy - at - astro - dot - utoronto -\r\ndot - ca\r\n\r\nInstallation\r\n------------\r\n\r\nClone/fork/download the repository and install using\r\n\r\n::\r\n\r\n sudo python setup.py install\r\n\r\nor locally using\r\n\r\n::\r\n\r\n python setup.py install --user\r\n\r\nUsage\r\n-----\r\n\r\nUse ``wendy.nbody`` to initialize a generator object for initial *(x,v)*\r\nwith masses *m*. The generator then returns the state of the system at\r\nequally-spaced time intervals:\r\n\r\n::\r\n\r\n g= wendy.nbody(x,v,m,0.05) # delta t = 0.05\r\n next_x, next_v= next(g) # at t=0.05\r\n next_x, next_v= next(g) # at t=0.10\r\n ...\r\n\r\nThe generator initialization with ``wendy.nbody`` has options to (a)\r\nsolve the problem exactly or not using ``approx=`` and (b) include an\r\nexternal harmonic oscillator potential ``omega^2 x^2 / 2`` with\r\n``omega=`` (both for exact and approximate solutions).\r\n\r\nExamples\r\n--------\r\n\r\nYou can run these *without* installing ``wendy`` by clicking on |Binder|\r\nand navigating to the ``examples/`` directory. Note that some of the\r\nmovies might fail to be rendered on the binder webpage, so you might\r\nwant to skip those when running the notebooks (or changing the\r\n``subsamp`` input for them).\r\n\r\n- Phase mixing and violent relaxation in one dimension: `example\r\n notebook `__ (run\r\n locally to see movies, or view on\r\n `nbviewer `__)\r\n\r\n- A self-gravitating, sech2 disk: `example\r\n notebook `__ (run locally to\r\n see movies, or view on\r\n `nbviewer `__)\r\n\r\n- Adiabatic contraction: `example\r\n notebook `__ (run locally to see\r\n movies, or view on\r\n `nbviewer `__)\r\n\r\n- Adiabatic vs. non-adiabatic energy injection for an exponential disk:\r\n `example notebook `__ (run\r\n locally to see movies, or view on\r\n `nbviewer `__)\r\n\r\n- ``wendy`` scaling with particle number: `example\r\n notebook `__ (view on\r\n `nbviewer `__)\r\n\r\n.. |Build Status| image:: https://travis-ci.org/jobovy/wendy.svg?branch=master\r\n :target: https://travis-ci.org/jobovy/wendy\r\n.. |Coverage Status| image:: https://codecov.io/gh/jobovy/wendy/branch/master/graph/badge.svg\r\n :target: https://codecov.io/gh/jobovy/wendy\r\n.. |Binder| image:: http://mybinder.org/badge.svg\r\n :target: http://beta.mybinder.org/repo/jobovy/wendy", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jobovy/wendy", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wendy", "package_url": "https://pypi.org/project/wendy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wendy/", "project_urls": { "Homepage": "http://github.com/jobovy/wendy" }, "release_url": "https://pypi.org/project/wendy/0.1/", "requires_dist": null, "requires_python": "", "summary": "One-dimensional gravitational N-body code", "version": "0.1" }, "last_serial": 2943105, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "90d97b737cfd99f524ab05fee4fb065e", "sha256": "f65fee7684c605fe43d1fd54cc3b7ab48eebd0edab10aceee78b5d7e55cc6a50" }, "downloads": -1, "filename": "wendy-0.1.tar.gz", "has_sig": false, "md5_digest": "90d97b737cfd99f524ab05fee4fb065e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10969, "upload_time": "2017-06-12T02:41:47", "url": "https://files.pythonhosted.org/packages/81/f6/fa9100913a8cd4bd98e19d24d08022a8dca15884867aacc2508aeac95284/wendy-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "90d97b737cfd99f524ab05fee4fb065e", "sha256": "f65fee7684c605fe43d1fd54cc3b7ab48eebd0edab10aceee78b5d7e55cc6a50" }, "downloads": -1, "filename": "wendy-0.1.tar.gz", "has_sig": false, "md5_digest": "90d97b737cfd99f524ab05fee4fb065e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10969, "upload_time": "2017-06-12T02:41:47", "url": "https://files.pythonhosted.org/packages/81/f6/fa9100913a8cd4bd98e19d24d08022a8dca15884867aacc2508aeac95284/wendy-0.1.tar.gz" } ] }