Getting started
Create a python virtual environment
Create a virtual environment for your project
MacOS/Linux
$ python -m venv .venv
$ source .venv/bin/activate
Windows
python -m venv .env
.env\Scripts\activate
Install prerequisites
mvmlib requires numpy make sure you have it installed
$ pip install numpy
Then install mvmlib using the command
$ pip install mvmlib
- This will install the required dependencies:
matplotlibfor visualization tools.pyDOEfor design space exploration.scikit-fuzzyfor fuzzy logic modeling .smtfor surrogate modeling of expensive models.multiprocessfor parallel processing of certain MVM computations.
Testing the installation
Start a python console and try the following command
>>> from mvm import *
This will make sure that all modules can be loaded properly and no dependencies are missing.
Notebooks
Several notebooks are available to get up to speed with SMT:
Uninstalling mvmlib
Simply use the following command
$ pip uninstall mvmlib