Metadata-Version: 2.1
Name: paramonte
Version: 2.1.0
Summary: Plain Powerful Parallel Monte Carlo and adaptive MCMC Library
Home-page: https://github.com/cdslaborg/paramonte
Author: Amir Shahmoradi, Fatemeh Bagheri, Joshua Alexander Osborne
Author-email: shahmoradi@utexas.edu
License: License :: OSI Approved :: MIT License
Description: 
          
        <div align="center">
        <a href="https://www.cdslab.org/paramonte" target="_blank"><img src="https://raw.githubusercontent.com/shahmoradi/paramonte/gh-pages/images/paramonte.png" alt="ParaMonte: Plain Powerful Parallel Monte Carlo Library" /></a>
        <br><br>
        <a href="https://github.com/cdslaborg/paramonte/blob/master/LICENSE.md" target="_blank"><img src="https://img.shields.io/github/license/cdslaborg/paramonte?color=orange&style=flat-square" alt="GitHub" /></a>  
        <a href="https://github.com/cdslaborg/paramonte/releases" target="_blank"><img src="https://img.shields.io/github/v/release/cdslaborg/paramonte?color=orange&label=kernel%20release&style=flat-square" alt="GitHub release (latest by date)" /></a> 
        <a href="https://github.com/cdslaborg/paramonte/releases" target="_blank"><img src="https://img.shields.io/github/release-date/cdslaborg/paramonte?color=orange&style=flat-square" alt="GitHub Release Date" /></a> 
        <a href="https://pypi.org/project/paramonte/" target="_blank"><img src="https://img.shields.io/pypi/v/paramonte?color=orange&label=pypi%20release&style=flat-square" alt="PyPI - release version" /></a> 
        <a href="https://github.com/cdslaborg/paramonte/releases" target="_blank"><img src="https://img.shields.io/pypi/status/paramonte?style=flat-square" alt="PyPI - Status" /></a>
        <a href="https://lgtm.com/projects/g/cdslaborg/paramonte/?mode=list" target="_blank"><img src="https://img.shields.io/lgtm/grade/python/github/cdslaborg/paramonte?label=code%20quality&style=flat-square&color=brightgreen" alt="LGTM Grade" /></a>
        <a href="https://github.com/cdslaborg/paramonte/issues" target="_blank"><img src="https://img.shields.io/github/issues/cdslaborg/paramonte?style=flat-square" alt="GitHub issues" /></a>
        <a href="https://github.com/cdslaborg/paramonte/tree/master/src/interface" target="_blank"><img src="https://img.shields.io/badge/available%20in-C%20%2F%20C%2B%2B%20%2F%20Fortran%20%2F%20MATLAB%20%2F%20Python-brightgreen?style=flat-square" alt="supported languages" /></a>
        <a href="https://github.com/cdslaborg/paramonte/graphs/traffic" target="_blank"><img src="https://img.shields.io/github/downloads/cdslaborg/paramonte/total?color=brightgreen&label=kernel%20downloads&style=flat-square" alt="GitHub All Releases" /></a>
        <a href="https://libraries.io/pypi/paramonte" target="_blank"><img src="https://img.shields.io/pypi/dm/paramonte?color=brightgreen&label=pypi%20downloads&style=flat-square" alt="PyPI - Downloads" /></a>
        <a href="https://www.mathworks.com/matlabcentral/fileexchange/78946-paramonte" target="_blank"><img src="https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg" alt="View ParaMonte on File Exchange" /></a>  
        <a href="https://github.com/cdslaborg/paramonte/" target="_blank"><img src="https://img.shields.io/github/repo-size/cdslaborg/paramonte?style=flat-square" alt="GitHub repo size" /></a>
        <a href="https://github.com/cdslaborg/paramonte/tree/master/src/interface" target="_blank"><img src="https://img.shields.io/github/languages/count/cdslaborg/paramonte?style=flat-square" alt="GitHub language count" /></a>
        <a href="https://github.com/cdslaborg/paramonte/graphs/contributors" target="_blank"><img src="https://img.shields.io/github/commit-activity/y/cdslaborg/paramonte?style=flat-square" alt="GitHub commit activity" /></a>
        <a href="https://github.com/cdslaborg/paramonte/commits/master" target="_blank"><img src="https://img.shields.io/github/last-commit/cdslaborg/paramonte?color=blue&style=flat-square" alt="GitHub last commit" /></a>
        <a href="https://www.cdslab.org/paramonte/notes/overview/preface/#how-to-acknowledge-the-use-of-the-paramonte-library-in-your-work" target="_blank"><img src="https://img.shields.io/badge/reference-%20%09arXiv%3A1209.4647-blueviolet?style=flat-square" alt="citations and references" /></a>
        <a href="https://ascl.net/2008.016" target="_blank"><img src="https://img.shields.io/badge/ascl-2008.016-blue.svg?colorB=262255" alt="ascl:2008.016" /></a>
        <br><br>
        <a href="https://twitter.com/intent/tweet?text=ParaMonte%20-%20Plain%20Powerfull%20Parallel%20Monte%20Carlo%20Library:&url=https%3A%2F%2Fgithub.com%2Fcdslaborg%2Fparamonte" target="_blank"><img src="https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2Fcdslaborg%2Fparamonte" alt="Twitter" /></a> 
        </div>
          
          
        ParaMonte: Plain Powerful Parallel Monte Carlo Library
        ======================================================
          
        ParaMonte is a serial/parallel library of Monte Carlo routines for sampling mathematical objective functions 
        of arbitrary-dimensions, in particular, the posterior distributions of Bayesian models in data science, Machine Learning, 
        and scientific inference, with the design goal of unifying the **automation** (of Monte Carlo simulations), 
        **user-friendliness** (of the library), **accessibility** (from multiple programming environments), 
        **high-performance** (at runtime), and **scalability** (across many parallel processors).  
        
        For more information on the installation, usage, and examples, visit: https://www.cdslab.org/paramonte  
          
          
        ParaMonte design goals  
        ======================  
        
        ParaMonte has been developed while bearing the following design goals in mind:  
        
        -   **Full automation** of all Monte Carlo simulations to the highest levels possible to ensure the highest level of user-friendliness 
            of the library and minimal time investment requirements for building, running, and post-processing of simulation models.  
        
        -   **Interoperability** of the core library with as many programming languages as currently possible, 
            including C, C++, Fortran, MATLAB, Python, with ongoing efforts to support other popular programming languages.  
        
        -   **High-Performance** meticulously-low-level implementation of the library to ensure the fastest-possible Monte Carlo simulations.  
        
        -   **Parallelizability** of all simulations via two-sided and one-sided MPI/Coarray 
            communications while requiring zero-parallel-coding efforts by the user.  
        
        -   **Zero-dependence** on external libraries to ensure hassle-free ParaMonte library builds and ParaMonte simulation runs.  
        
        -   **Fully-deterministic reproducibility** and automatically-enabled restart functionality 
            for all simulations up to 16 digits of precision as requested by the user.  
        
        -   **Comprehensive-reporting and post-processing** of each simulation and its results, as well as their automatic storage in 
            external files to ensure the simulation results will be comprehensible and reproducible at any time in the distant future.  
        
          
        Quick start  
        ===========  
        
        For a quick start with some Jupyter Notebook examples, visit [this ParaMonte documentation page](https://www.cdslab.org/paramonte/notes/examples/python/jupyter/). 
        The corresponding example source files (the `*.ipynb` files) can be downloaded from the [paramontex GitHub repository](https://github.com/cdslaborg/paramontex/tree/master/Python/Jupyter), 
        which is a repository dedicated to the ParaMonte library examples.  
        
        The following example code samples a 4-dimensional MultiVariate Normal (MNV) distribution via the ParaDRAM sampler in serial mode,  
        
        ```python  
        import numpy as np
        import paramonte as pm
        def getLogFunc(point): return -0.5 * np.sum( point**2 )
        pmpd = pm.ParaDRAM()
        pmpd.runSampler ( ndim = 4 # assume 4-dimensional objective function
                        , getLogFunc = getLogFunc   # the objective function
                        )
        ```  
        
        To learn about the post-processing and visualization tools of the `ParaMonte::Python` library, visit [this this documentation page](https://www.cdslab.org/paramonte/notes/examples/python/jupyter/).  
        
          
        Installation  
        ============  
        
        The latest release of ParaMonte can be installed from PyPI using `pip`:  
        
            pip3 install --user --upgrade paramonte  
        
        or,  
        
            pip install --user --upgrade paramonte  
        
        Alternatively, you can build the library from the source in the GitHub repository of the project ([https://github.com/cdslaborg/paramonte](https://github.com/cdslaborg/paramonte)). 
        For instructions, please visit: [cdslab.org/pm](https://www.cdslab.org/paramonte)  
        
          
        Dependencies  
        ============  
        
        The Python interface of ParaMonte depends on a very few third-party libraries. 
        These include `numpy`, `scipy`, `pandas`, `matplotlib`, and `seaborn`. 
        The last two (plotting) libraries are only used for the post-processing of simulation 
        results and are therefore not needed if you do not plan to use the post-processing 
        features of the ParaMonte library. If you have a recent version of Anaconda Python 
        distribution installed on your system, then all of the dependencies already 
        exist and are automatically installed on your system.  
        
          
        Parallelism  
        ===========  
        
        The ParaMonte library relies on the Message Passing Interface (MPI) standard for inter-processor communications. 
        To run a parallel simulation, you will have to have a compatible MPI runtime library installed on your system. 
        In most cases, ParaMonte will automatically install the required missing libraries on your system (with your permission). 
        These automatic checks and installations happen when you download, and use the library, for the first time, in your MATLAB environment. 
        If the automatic installation is unsuccessful, you can also install the libraries manually on your system. 
        On Windows and Linux operating systems, we highly recommend downloading and installing the [Intel MPI runtime libraries](https://software.intel.com/en-us/mpi-library), 
        which is available to the public free of charge. On macOS, we recommend [Open-MPI](https://www.open-mpi.org/) since the Intel MPI library does not support macOS. 
        For more information, visit [https://www.cdslab.org/paramonte/](https://www.cdslab.org/paramonte/).  
        
        +   On **Windows** and **Linux** operating systems, we highly recommend downloading and installing the 
            [Intel MPI runtime libraries](https://software.intel.com/en-us/mpi-library), 
            which is available to the public free of charge.  
        +   On **macOS**, we recommend [Open-MPI](https://www.open-mpi.org/) since the Intel MPI library does not support macOS. 
            For more information, visit [https://www.cdslab.org/paramonte/](https://www.cdslab.org/paramonte/).  
        
          
        Citing ParaMonte  
        ================  
        
        The ParaMonte library is an honor-ware and its currency is acknowledgment and citations.  
          
        As per the ParaMonte library license agreement terms, if you use any parts of this library for any purposes, 
        kindly acknowledge the use of the ParaMonte library in your work (education/research/industry/development/...) 
        by citing the ParaMonte library's main publications as listed in [ACKNOWLEDGMENT.md](https://github.com/cdslaborg/paramonte/blob/master/ACKNOWLEDGMENT.md).  
        
        Visit [the ParaMonte library homepage](https://www.cdslab.org/paramonte/notes/overview/preface/#how-to-acknowledge-the-use-of-the-paramonte-library-in-your-work) 
        to access the PDF version of these files free of charge.  
        
          
        License  
        =======  
        
        [MIT License](https://github.com/cdslaborg/paramonte/blob/master/LICENSE.md)  
        
        **What does this license mean?**  
        
        Essentially, all we are asking from the users or developers is to  
        
        >   explicitly acknowledge the use of this library or any concepts or parts of it in their education, research, or software (free or commercial).  
        
        This is a free software, so help us keep it freely available to the public by redistributing the library and contributing to it. 
        If you have questions or concerns about the license, do not hesitate to contact us (shahmoradi@utexas.edu).  
        
          
        Authors and contributors  
        ========================  
        
        +   [Amir Shahmoradi](https://www.cdslab.org/people/#amir-shahmoradi)  
            +   astrophysicist/bioinformatician by training (and a science-lover in general),  
            +   Ph.D. in computational physics/bioinformatics from the University of Texas at Austin,  
            +   currently a faculty member of Physics and Data Science at The University of Texas at Arlington,  
            +   with teaching/research experience/background in computational and data sciences, statistics, 
                data analysis, and modeling, stochastic processes, Monte Carlo Methods, Bayesian probability theory, 
                high energy physics, astronomy and astrophysics, computational physics, Molecular Dynamics simulations, 
                biomedical science and MRI data analysis, bioinformatics and evolutionary biology (viral evolution, 
                protein dynamics, and interactions),  
            +   contact: [shahmoradi@utexas.edu](mailto:"shahmoradi@utexas.edu")  
        
        +   [Fatemeh Bagheri](https://www.linkedin.com/in/fbagheri)  
            +   physicist / cosmologist by training,  
            +   currently a UTA Physics member,  
            +   deep philosophical thinker,  
            +   contact: [Fatemeh.Bagheri@uta.edu](mailto:"Fatemeh.Bagheri@uta.edu")  
        
        +   [Joshua Osborne](https://www.cdslab.org/people/#joshua-alexander-osborne)  
            +   physicist / Computational Data Scientist by training,  
            +   currently a UTA Physics member,  
            +   contact: [joshuaalexanderosborne@gmail.com](mailto:"joshuaalexanderosborne@gmail.com")  
        
          
        Example usage instructions  
        ==========================  
        
        +   **Install a Python 3 distribution**, preferably, the Anaconda distribution of Python. 
            The Anaconda distribution of Python automatically ships with all of the 
            ParaMonte Python package dependencies when installed on your system.  
        
        +   **Optionally install a compatible MPI library** (or let the ParaMonte library take care of the installation 
            when you import the package into your Python session for the first time). For parallel simulations (via MPI), 
            you will need an MPI library already installed on your system. If you choose to install the library by yourself, 
            we recommend the Intel MPI library which is available for free from the Intel website. On macOS, the OpenMPI 
            library can be used in place of the Intel MPI library which currently does not support macOS.  
        
        +   **Running the ParaMonte simulations**  
            +   Open an Anaconda command-line interface or `jupyter` notebook.  
            +   Suppose your mathematical objective function is a multivariate Normal distribution as implemented in this   
                [logfunc.py](https://raw.githubusercontent.com/cdslaborg/paramonte/master/example/mvn/Python/logfunc.py) file.  
            +   For **serial** simulations, download this example generic serial 
                [main.py](https://raw.githubusercontent.com/cdslaborg/paramonte/master/example/main.py) 
                Python main file and save it in the same folder containing the `logfunc.py` file that you downloaded in the above. 
                Then, simply type the name of the Python main script, `python main.py` on the Bash terminal or the Anaconda command line.  
            +   For **parallel** simulations, download this example generic parallel 
                [main_mpi.py](https://raw.githubusercontent.com/cdslaborg/paramonte/master/example/main_mpi.py) Python main file and save it in the same folder containing the `logfunc.py` file that you downloaded in the above. Then, simply invoke the MPI launcher followed by the name of the Python main script on the Bash terminal, similar to the following,  
                +   on Windows (within the Anaconda command line or a terminal that recognizes both `mpiexec` and `python` software),  
                    ```  
                    mpiexec -localonly -n 3 python main_mpi.py
                    ```  
                    where the `-localonly` flag is needed only if you are using the Intel MPI runtime libraries (which is the default MPI library used to build the ParaMonte libraries on Windows).  
                +   on macOS or Linux (within a Bash terminal),  
                    ```  
                    mpiexec -n 3 python main_mpi.py
                    ```  
                Here, the parallel simulations are performed on 3 processes. Change the number 3 to any number of processes you wish to use, 
                but do not go beyond the maximum number of physical processes available on your system, otherwise, it will only degrade 
                the performance of your parallel simulations. For example, if you are running the parallel simulation on a personal 
                quad-cores laptop, set the number of processes to either 3 or 4 at most.  
            +   Enjoy the unification of simplicity, efficiency, and parallelism in Monte Carlo simulations!  
            +   The ParaMonte library samplers are extremely versatile with many adjustable input parameters. 
                To learn about the many advanced features of the ParaMonte routines, visit: https://www.cdslab.org/paramonte  
        
        
        **For more information**, visit [cdslab.org/pm](https://www.cdslab.org/paramonte) or contact Amir Shahmoradi: [shahmoradi@utexas.edu](mailto:"shahmoradi@utexas.edu")  
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Fortran
Classifier: Programming Language :: C
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Scientific/Engineering :: Astronomy
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Classifier: Operating System :: OS Independent
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Unix
Requires-Python: >=3.0
Description-Content-Type: text/markdown
