A utility for running parameter sweeps in SoMo or SoMoGym.
Project description
SoMoSweep
A utility for running parameter sweeps in SoMo or SoMoGym. Perform multidimensional parameter sweeps with true parallel processing and easy data handling.
Installation
Requirements
- Python 3.6+
- Tested on:
- Ubuntu 16.04 and Ubuntu 18.04 with Python 3.6.9
- Ubuntu 20.04 with Python 3.6.9, 3.7.9 and 3.8.2
- Windows 10 with Python 3.7 and Python 3.8 through Anaconda
- Recommended: pip (
sudo apt-get install python3-pip
) - Recommended (for Ubuntu): venv (
sudo apt-get install python3-venv
)
Setup
- Make sure your system meets the requirements
- Clone this repository
- Set up a dedicated virtual environment using
venv
- Activate virtual environment
- Install this module
- Install the most recent release version using pip:
pip install somosweep
- OR Install the development version:
- Clone this repo to your machine and navitage to the root folder
- Install requirements
pip install -r requirements.txt
- Install the module
pip install -e .
- Install the most recent release version using pip:
Explore the examples
- Run any of the files in the examples folder.
Contributing
- only through a new branch and reviewed PR (no pushes to master!)
- always use Black for code formatting
- always bump the version of your branch by increasing the version number listed in somo/_version.py
Testing
SoMoSweep uses pytest for testing. You can run all tests with pytest
from the repository's root.
Using this framework
Check out the documentation. Read-the-docs site coming soon.
License
MIT open source
Copyright (c) 2022 Clark B. Teeple
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
somosweep-0.1.5.tar.gz
(9.6 kB
view details)
Built Distribution
somosweep-0.1.5-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file somosweep-0.1.5.tar.gz
.
File metadata
- Download URL: somosweep-0.1.5.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c103b2fe2f9c4258197657edd53873c284acc031aee6b8527f47e602cd3130c |
|
MD5 | 011f74827ae85cfbdb7d67fc1452d535 |
|
BLAKE2b-256 | 18ff5d7e7ad83684a4117eeac993bd0f936226d039dd857c57ac9bc2211715be |
File details
Details for the file somosweep-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: somosweep-0.1.5-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c35861ba8fbece79e814048625f5727522fea730fe91f070caa0d47763e277b |
|
MD5 | 74323ae3aa7743696beb30393ae57f08 |
|
BLAKE2b-256 | dfda4f6d0ac1cc20e70ad10db5bda78aa4d110a2264af7536fed892d8fce7119 |