Giter Site home page Giter Site logo

pylima's Introduction

Build Status DOI

Multiprocessing in pyLIMA (Warning)

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 ([email protected]), Rachel Street ([email protected]), Valerio Bozza ([email protected]), Yiannis Tsapras ([email protected]) 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

Required materials

You need pip and python, that's it!

Installation and use

>>> pip install pyLIMA

You should be able to load pyLIMA as general module :

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 There is two version for each examples, one using Jupyter notebook or classic Python file.

Example_1 : HOW TO FIT MY DATA?

Example_2 : HOW TO USE YOUR PREFERED PARAMETERS?

Example_3 : HOW TO SIMULATE EVENST?

Example_4 : HOW TO USE YOUR OWN FITTING ROUTINES?

Example_5 : HOW TO FIT PARALLAX?

How to contribute?

Want to contribute? Bug detections? Comments? Please email us ([email protected]) or raise an issue (recommended).

pylima's People

Contributors

ebachelet avatar ytsapras avatar mnorbury avatar mrtommyb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.