pyLIMA


NamepyLIMA JSON
Version 1.9.7 PyPI version JSON
download
home_pageNone
SummaryMicrolsening analysis package.
upload_time2024-11-08 20:29:40
maintainerNone
docs_urlNone
authorNone
requires_python<4,>=3.6
licenseGPL-3.0
keywords microlsening analysis package
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            ![Build Status](https://github.com/ebachelet/pyLIMA/actions/workflows/actions_unit_tests.yaml/badge.svg)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.997468.svg)](https://doi.org/10.5281/zenodo.997468)

> [!WARNING]
> **Runing pyLIMA in multiprocessing...**
> 
> The latest version of pyLIMA applies the multiprocessing library to parallelize aspects of its model fitting processes in order to optimize for speed. This has been tested and works under Ubuntu Linux with Python 3.11.
> Users should be aware that the multiprocessing library uses a different method ('spawn') to start threads on the Mac and Windows platforms compared to the method used on Linux ('fork'), as the fork method is considered to be unsafe on these platforms. Unfortunately, this has meant that pyLIMA crashes if run under the latest version of Python (3.11) under a Mac (and likely under Windows), due to the outstanding issue with the multiprocessing library.
We are currently investigating a fix for this issue. In the interim we recommend using an earlier version of Python with the latest pyLIMA.

# pyLIMA

Authors : Etienne Bachelet (etibachelet@gmail.com), Rachel Street (rstreet@lcogt.net),
Valerio Bozza (valboz@sa.infn.it), Yiannis Tsapras (ytsapras@ari.uni-heidelberg.de) 
and friends!

pyLIMA is the first open source software for modeling microlensing events.
It should be flexible enough to handle your data and fit it.
You can also practice by simulating events.

# Documentation and Installation

[Documentation](https://pylima.readthedocs.io/en/latest/)

### Required materials

You need [pip](https://pip.pypa.io/en/stable/installing/) and python, that's it!

### Installation and use


```
>>> pip install pyLIMA
```

You should be able to load pyLIMA as general module :

```python
import pyLIMA
print(pyLIMA.__version__)
```

### Examples

Examples can be found in the pyLIMA directory after cloning this repository. More details can be found in the [Documentation](https://pylima.readthedocs.io/en/latest/)
There is two version for each examples, one
using [Jupyter notebook](https://jupyter.org/) or
classic Python file.

Example_1 : [HOW TO FIT MY DATA?](https://github.com/ebachelet/pyLIMA/tree/master/examples)

Example_2 : [HOW TO USE YOUR PREFERED PARAMETERS?](https://github.com/ebachelet/pyLIMA/tree/master/examples)

Example_3 : [HOW TO SIMULATE EVENST?](https://github.com/ebachelet/pyLIMA/tree/master/examples)

Example_4 : [HOW TO USE YOUR OWN FITTING ROUTINES?](https://github.com/ebachelet/pyLIMA/tree/master/examples)

Example_5 : [HOW TO FIT PARALLAX?](https://github.com/ebachelet/pyLIMA/tree/master/examples)


# How to contribute?

Want to contribute? Bug detections? Comments?
Please email us (etibachelet@gmail.com) or [raise an issue](https://github.com/ebachelet/pyLIMA/issues) (recommended).

# Citations

Please cite [Bachelet et al. 2017](https://ui.adsabs.harvard.edu/abs/2017AJ....154..203B/abstract) (and soon pyLIMA-II Bachelet et al.2025). The BibTeX entry for the paper is::


@ARTICLE{2017AJ....154..203B,
       author = {{Bachelet}, E. and {Norbury}, M. and {Bozza}, V. and {Street}, R.},
        title = "{pyLIMA: An Open-source Package for Microlensing Modeling. I. Presentation of the Software and Analysis of Single-lens Models}",
      journal = {\aj},
     keywords = {gravitational lensing: micro},
         year = 2017,
        month = nov,
       volume = {154},
       number = {5},
          eid = {203},
        pages = {203},
          doi = {10.3847/1538-3881/aa911c},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2017AJ....154..203B},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}



            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyLIMA",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.6",
    "maintainer_email": null,
    "keywords": "Microlsening analysis package",
    "author": null,
    "author_email": "Etienne Bachelet <etibachelet@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/9a/a1/b653d3f3ffc51af30e7363f0520cde91f3def084d5a1a5f0cc0e4e96983e/pylima-1.9.7.tar.gz",
    "platform": null,
    "description": "![Build Status](https://github.com/ebachelet/pyLIMA/actions/workflows/actions_unit_tests.yaml/badge.svg)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.997468.svg)](https://doi.org/10.5281/zenodo.997468)\n\n> [!WARNING]\n> **Runing pyLIMA in multiprocessing...**\n> \n> The latest version of pyLIMA applies the multiprocessing library to parallelize aspects of its model fitting processes in order to optimize for speed. This has been tested and works under Ubuntu Linux with Python 3.11.\n> Users should be aware that the multiprocessing library uses a different method ('spawn') to start threads on the Mac and Windows platforms compared to the method used on Linux ('fork'), as the fork method is considered to be unsafe on these platforms. Unfortunately, this has meant that pyLIMA crashes if run under the latest version of Python (3.11) under a Mac (and likely under Windows), due to the outstanding issue with the multiprocessing library.\nWe are currently investigating a fix for this issue. In the interim we recommend using an earlier version of Python with the latest pyLIMA.\n\n# pyLIMA\n\nAuthors : Etienne Bachelet (etibachelet@gmail.com), Rachel Street (rstreet@lcogt.net),\nValerio Bozza (valboz@sa.infn.it), Yiannis Tsapras (ytsapras@ari.uni-heidelberg.de) \nand friends!\n\npyLIMA is the first open source software for modeling microlensing events.\nIt should be flexible enough to handle your data and fit it.\nYou can also practice by simulating events.\n\n# Documentation and Installation\n\n[Documentation](https://pylima.readthedocs.io/en/latest/)\n\n### Required materials\n\nYou need [pip](https://pip.pypa.io/en/stable/installing/) and python, that's it!\n\n### Installation and use\n\n\n```\n>>> pip install pyLIMA\n```\n\nYou should be able to load pyLIMA as general module :\n\n```python\nimport pyLIMA\nprint(pyLIMA.__version__)\n```\n\n### Examples\n\nExamples can be found in the pyLIMA directory after cloning this repository. More details can be found in the [Documentation](https://pylima.readthedocs.io/en/latest/)\nThere is two version for each examples, one\nusing [Jupyter notebook](https://jupyter.org/) or\nclassic Python file.\n\nExample_1 : [HOW TO FIT MY DATA?](https://github.com/ebachelet/pyLIMA/tree/master/examples)\n\nExample_2 : [HOW TO USE YOUR PREFERED PARAMETERS?](https://github.com/ebachelet/pyLIMA/tree/master/examples)\n\nExample_3 : [HOW TO SIMULATE EVENST?](https://github.com/ebachelet/pyLIMA/tree/master/examples)\n\nExample_4 : [HOW TO USE YOUR OWN FITTING ROUTINES?](https://github.com/ebachelet/pyLIMA/tree/master/examples)\n\nExample_5 : [HOW TO FIT PARALLAX?](https://github.com/ebachelet/pyLIMA/tree/master/examples)\n\n\n# How to contribute?\n\nWant to contribute? Bug detections? Comments?\nPlease email us (etibachelet@gmail.com) or [raise an issue](https://github.com/ebachelet/pyLIMA/issues) (recommended).\n\n# Citations\n\nPlease cite [Bachelet et al. 2017](https://ui.adsabs.harvard.edu/abs/2017AJ....154..203B/abstract) (and soon pyLIMA-II Bachelet et al.2025). The BibTeX entry for the paper is::\n\n\n@ARTICLE{2017AJ....154..203B,\n       author = {{Bachelet}, E. and {Norbury}, M. and {Bozza}, V. and {Street}, R.},\n        title = \"{pyLIMA: An Open-source Package for Microlensing Modeling. I. Presentation of the Software and Analysis of Single-lens Models}\",\n      journal = {\\aj},\n     keywords = {gravitational lensing: micro},\n         year = 2017,\n        month = nov,\n       volume = {154},\n       number = {5},\n          eid = {203},\n        pages = {203},\n          doi = {10.3847/1538-3881/aa911c},\n       adsurl = {https://ui.adsabs.harvard.edu/abs/2017AJ....154..203B},\n      adsnote = {Provided by the SAO/NASA Astrophysics Data System}\n}\n\n\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "Microlsening analysis package.",
    "version": "1.9.7",
    "project_urls": {
        "Documentation": "https://pylima.readthedocs.io/en/latest/",
        "Homepage": "http://github.com/ebachelet/pyLIMA"
    },
    "split_keywords": [
        "microlsening",
        "analysis",
        "package"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "407232757ba7c90a70cacd6ca00aa4d0861e7a0f48df8619456035ec85fcb31c",
                "md5": "af18564c58fc4578d69339f8b7fa389b",
                "sha256": "a283968f84f5e69ea4e1e62c1341d50111e6838fe93baaf2442a863f974f2502"
            },
            "downloads": -1,
            "filename": "pyLIMA-1.9.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "af18564c58fc4578d69339f8b7fa389b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.6",
            "size": 19601069,
            "upload_time": "2024-11-08T20:29:37",
            "upload_time_iso_8601": "2024-11-08T20:29:37.541532Z",
            "url": "https://files.pythonhosted.org/packages/40/72/32757ba7c90a70cacd6ca00aa4d0861e7a0f48df8619456035ec85fcb31c/pyLIMA-1.9.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9aa1b653d3f3ffc51af30e7363f0520cde91f3def084d5a1a5f0cc0e4e96983e",
                "md5": "c7decc47dda3d31a90931dd5439f4b3a",
                "sha256": "49cd7fe163a9837ec9f78ca64d9d1220bddc4617bdb51193a7bb5f40ec1e5acc"
            },
            "downloads": -1,
            "filename": "pylima-1.9.7.tar.gz",
            "has_sig": false,
            "md5_digest": "c7decc47dda3d31a90931dd5439f4b3a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.6",
            "size": 19549509,
            "upload_time": "2024-11-08T20:29:40",
            "upload_time_iso_8601": "2024-11-08T20:29:40.638046Z",
            "url": "https://files.pythonhosted.org/packages/9a/a1/b653d3f3ffc51af30e7363f0520cde91f3def084d5a1a5f0cc0e4e96983e/pylima-1.9.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-08 20:29:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ebachelet",
    "github_project": "pyLIMA",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pylima"
}
        
Elapsed time: 0.34744s