https://github.com/ContaTP/BATS-Bayesian-Adaptive-Trial-Simulator
Project description
BATS - Bayesian Adaptive Trial Simulator
=========================
Introduction
-----------
Bayesian Adaptive Trial Simulator (BATS) is a Qt-based software used to perform simulation for Bayeisan Multi-arm Multi-stage design.
Installation
------------
Users can install BATS through an installer with no dependencies (The msi installer only works in Windows now), or through PyPI, which requires Python 3.4 +, several packages and GNU Scientific Library (GSL):
.. code-block:: bash
$ pip install BATS
**Dependencies**:
* Numpy
* Pandas
* Matplotlib
* Cython
* `cythonGSL <https://github.com/twiecki/CythonGSL>`_
* `PyQt5 <https://www.riverbankcomputing.com/software/pyqt/download5>`_
**Other dependencies**:
The module requires GNU Scientific Library (`GSL <https://www.gnu.org/software/gsl/>`_) to be installed on user's operating system, because it use the GSL module to draw random variables and calculate choose functions.
* `GSL <https://code.google.com/archive/p/oscats/downloads>`_ For Windows Port.
**Install cythonGSL**
To install cythonGSL, download the source from `Thomas Wiecki's repository <https://github.com/twiecki/CythonGSL>`_, follows the instructions for installation under the page.
**Install Python Dependencies on Windows (Python 3.4 required)**
.. code-block:: bash
$ pip install numpy pandas matplotlib cython PyQt5
**Install GSL on Windows (Python 3.4 required)**
Download GSL from the link above, following the `instructions <http://joonro.github.io/blog/posts/installing-gsl-and-cythongsl-in-windows.html>`_, Cython will also require a `C/C++ compiler <https://github.com/cython/cython/wiki/CythonExtensionsOnWindows>`_ to complie the code into Python module.
**Install the Python Dependencies and GSL on Linux**:
.. code-block:: bash
$ pip3 install numpy pandas matplotlib cython PyQt5
$ apt-get install libgsl2
Usage
-----
.. code-block:: python
import BATS
BATS.__init__()
See `documentation <https://github.com/ContaTP/BATS-Bayesian-Adaptive-Trial-Simulator/blob/master/BATS/documentation/Documentation.pdf>`_ for detailed settings
License
-------
The software is distributed under GPLv3. See License for details
Contact: yuzhenning.bio@gmail.com
=========================
Introduction
-----------
Bayesian Adaptive Trial Simulator (BATS) is a Qt-based software used to perform simulation for Bayeisan Multi-arm Multi-stage design.
Installation
------------
Users can install BATS through an installer with no dependencies (The msi installer only works in Windows now), or through PyPI, which requires Python 3.4 +, several packages and GNU Scientific Library (GSL):
.. code-block:: bash
$ pip install BATS
**Dependencies**:
* Numpy
* Pandas
* Matplotlib
* Cython
* `cythonGSL <https://github.com/twiecki/CythonGSL>`_
* `PyQt5 <https://www.riverbankcomputing.com/software/pyqt/download5>`_
**Other dependencies**:
The module requires GNU Scientific Library (`GSL <https://www.gnu.org/software/gsl/>`_) to be installed on user's operating system, because it use the GSL module to draw random variables and calculate choose functions.
* `GSL <https://code.google.com/archive/p/oscats/downloads>`_ For Windows Port.
**Install cythonGSL**
To install cythonGSL, download the source from `Thomas Wiecki's repository <https://github.com/twiecki/CythonGSL>`_, follows the instructions for installation under the page.
**Install Python Dependencies on Windows (Python 3.4 required)**
.. code-block:: bash
$ pip install numpy pandas matplotlib cython PyQt5
**Install GSL on Windows (Python 3.4 required)**
Download GSL from the link above, following the `instructions <http://joonro.github.io/blog/posts/installing-gsl-and-cythongsl-in-windows.html>`_, Cython will also require a `C/C++ compiler <https://github.com/cython/cython/wiki/CythonExtensionsOnWindows>`_ to complie the code into Python module.
**Install the Python Dependencies and GSL on Linux**:
.. code-block:: bash
$ pip3 install numpy pandas matplotlib cython PyQt5
$ apt-get install libgsl2
Usage
-----
.. code-block:: python
import BATS
BATS.__init__()
See `documentation <https://github.com/ContaTP/BATS-Bayesian-Adaptive-Trial-Simulator/blob/master/BATS/documentation/Documentation.pdf>`_ for detailed settings
License
-------
The software is distributed under GPLv3. See License for details
Contact: yuzhenning.bio@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
BATS-1.0.0b9.tar.gz
(3.7 MB
view details)
File details
Details for the file BATS-1.0.0b9.tar.gz
.
File metadata
- Download URL: BATS-1.0.0b9.tar.gz
- Upload date:
- Size: 3.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed20886da330a57aad0f8fcdb49a97ff53566d70bb3c9c5dca9f1de13b71ae6c |
|
MD5 | 997ab29d48c041342ddb0394434fc3c4 |
|
BLAKE2b-256 | 75eeb9455627a6e26a16d7eb360c59f3390ece26b3ba282acca781d46d41bfe0 |