-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathUntitled.py
47 lines (33 loc) · 939 Bytes
/
Untitled.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# ---
# jupyter:
# jupytext:
# formats: ipynb,py:light
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.16.4
# kernelspec:
# display_name: Python 3 (ipykernel)
# language: python
# name: python3
# ---
# +
from time import time as now
from unittest import TestCase, skip
from ComputabilityGraphs.rec_graph_helpers import fast_graph
from ComputabilityGraphs.helpers import all_mvars
from ComputabilityGraphs.TypeSet import TypeSet
import bgc_md2.helper as h
from bgc_md2.resolve.mvars import *
# -
mn='Aneesh_SDGVM'
mvs = h.CMTVS_from_model_name(mn)
mvars = mvs.computable_mvar_types()
mvars
mvs.get_NumericMeanAgeSolutionArray()
for var in mvars:
print("########################################")
print(str(var.__name__))
print(mvs._get_single_value(var))
#print(mvs._get_single_value_by_depgraph(var))