Migrated from GitHub
Go to file
Joshua E. Jodesty 13d8d26ed4 Reafactor Pt. 6: changed project structure / pip install 2018-11-17 11:37:29 -05:00
.idea Environment Cleanup 2018-10-15 12:53:04 -04:00
SimCAD Reafactor Pt. 6: changed project structure / pip install 2018-11-17 11:37:29 -05:00
notebooks Dirty Parallelize Simulations 2018-11-14 16:07:09 -05:00
sandboxUX Reafactor Pt. 6: changed project structure / pip install 2018-11-17 11:37:29 -05:00
.gitignore .gitignore Pipfile & Pipfile.lock + etc. 2018-11-13 15:25:45 -05:00
README.md updated readme, yay2 2018-11-15 20:24:08 -05:00
setup.py Reafactor Pt. 6: changed project structure / pip install 2018-11-17 11:37:29 -05:00

README.md

SimCad

Dependencies:

pip install pipenv fn tabulate

Project:

Example Run File: /DiffyQ-SimCAD/sandboxUX/

import pandas as pd
from tabulate import tabulate

from SimCAD.engine import ExecutionContext, Executor
from sandboxUX import config1, config2

print("Simulation Run 1")
print()
single_config = [config1]
run1 = Executor(ExecutionContext, single_config)
run1_raw_result = run1.main()
result = pd.DataFrame(run1_raw_result)
print(tabulate(result, headers='keys', tablefmt='psql'))
print()

print("Simulation Run 2: Pairwise Execution")
print()
configs = [config1, config2]
run2 = Executor(ExecutionContext, configs)
run2_raw_results = run2.main()
for raw_result in run2_raw_results:
    result = pd.DataFrame(raw_result)
    print(tabulate(result, headers='keys', tablefmt='psql'))
print()

User Interface: Simulation Configuration

Configurations:

/DiffyQ-SimCAD/ui/config.py

Build Tool & Package Import:

Step 1. Build & Install Package locally:

pip install .
pip install -e .

Step 2. Import Package & Run:

from engine import run
run.main()

Same can be run in Jupyter .

jupyter notebook

Notebooks Directory:
/DiffyQ-SimCAD/notebooks/

Warning: Do Not publish this package / software to Any software repository except DiffyQ-SimCAD's staging branch or its Fork