pypharm 1.6.1__py3-none-any.whl → 1.6.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
PyPharm/__init__.py CHANGED
@@ -1,3 +1,4 @@
1
- from .models import BaseCompartmentModel, MagicCompartmentModel, ReleaseCompartmentModel, PBPKmod
2
-
3
-
1
+ from .models import (BaseCompartmentModel, MagicCompartmentModel,
2
+ ReleaseCompartmentModel, TwoSubstancesCompartmentModel, PBPKmod)
3
+
4
+
PyPharm/constants.py CHANGED
@@ -1,81 +1,81 @@
1
- MODEL_CONST = {
2
- 'human':{
3
- 'adipose': {'V':143, 'Q': 60 * 3.7},
4
- 'bone': {'V':124, 'Q': 60 * 3.6} ,
5
- 'brain': {'V':20.7, 'Q': 60 * 10} ,
6
- 'gut': {'V':23.6, 'Q': 60 * 13} ,
7
- 'heart': {'V':3.8, 'Q': 60 * 2.14},
8
- 'kidney': {'V':4.4, 'Q': 60 * 15.7} ,
9
- 'liver': {'V':24.1, 'Q': 60 * 21} ,
10
- 'lung': {'V':16.7, 'Q': 60 * 71} ,
11
- 'muscle': {'V':429, 'Q': 60 * 10.7} ,
12
- 'pancreas': {'V':1.2, 'Q': 60 * 1.9} ,
13
- 'skin': {'V':111, 'Q': 60 * 4.3} ,
14
- 'spleen': {'V':2.7, 'Q': 60 * 1.1},
15
- 'stomach': {'V':2.2, 'Q': 60 * 0.56},
16
- 'teaster': {'V':0.51, 'Q': 60 * 0.04},
17
- 'arterial_blood': {'V':25.7} ,
18
- 'venous_blood': {'V':51.4}
19
- },
20
- 'rat':{
21
- 'adipose': {'V':40, 'Q': 60 * 1.6},
22
- 'bone': {'V':53.2, 'Q': 60 * 10.12},
23
- 'brain': {'V':6.8, 'Q': 60 * 5.32} ,
24
- 'gut': {'V':40, 'Q': 60 * 52} ,
25
- 'heart': {'V':3.2, 'Q': 60 * 15.68},
26
- 'kidney': {'V':9.2, 'Q': 60 * 36.92},
27
- 'liver': {'V':41.2, 'Q': 60 * 80} ,
28
- 'lung': {'V':4, 'Q': 60 * 203.2} ,
29
- 'muscle': {'V':487.6, 'Q': 60 * 30} ,
30
- 'pancreas': {'V':5.2, 'Q': 60 * 4} ,
31
- 'skin': {'V':160, 'Q': 60 * 20} ,
32
- 'spleen': {'V':2.4, 'Q': 60 * 5} ,
33
- 'stomach': {'V':4.4, 'Q': 60 * 8.2} ,
34
- 'teaster': {'V':10, 'Q': 60 * 1.8} ,
35
- 'arterial_blood': {'V':22.4} ,
36
- # 'arterial_blood': {'V':22.4, 'Q': 60 * 10.8} ,
37
- 'venous_blood': {'V':45.2}
38
- },
39
- 'mouse': {
40
- 'adipose': {'V': 1000 * 1e-3 / 0.02, 'Q': 60 * 4e-5 * 1000 / 0.02},
41
- 'bone': {'V': 1000 * 1.58e-3 / 0.02, 'Q': 60 * 2.53e-4 * 1000 / 0.02},
42
- 'brain': {'V': 1000 * 1.7e-4 / 0.02, 'Q': 60 * 1.3e-4 * 1000 / 0.02},
43
- 'gut': {'V': 1000 * 6.27e-4 / 0.02, 'Q': 60 * 5e-4 * 1000 / 0.02},
44
- 'heart': {'V': 1000 * 9.5e-5 / 0.02, 'Q': 60 * 2.8e-4 * 1000 / 0.02},
45
- 'kidney': {'V': 1000 * 3.4e-4 / 0.02, 'Q': 60 * 1.3e-3 * 1000 / 0.02},
46
- 'liver': {'V': 1000 * 1e-3/ 0.02, 'Q' : 60 * 3.5e-4 * 1000 / 0.02},
47
- 'lung': {'V': 1000 * 1e-4 / 0.02, 'Q': 60 * 5.47e-3 * 1000 / 0.02},
48
- 'muscle': {'V': 1000 * 0.01e-1 / 0.02, 'Q': 60 * 9.1e-4 * 1000 / 0.02},
49
- 'pancreas': {'V': 1000 * 1.3e-4 / 0.02, 'Q': 60 * 5.2e-5 * 1000 / 0.02},
50
- 'skin': {'V': 1000 * 2.9e-3 / 0.02, 'Q': 60 * 4.1e-4 * 1000 / 0.02},
51
- 'spleen': {'V': 1000 * 1e-4 / 0.02, 'Q': 60 * 9e-5 * 1000 / 0.02},
52
- 'stomach': {'V': 1000 * 1.1e-4 / 0.02, 'Q': 60 * 1.1e-4 * 1000 / 0.02},
53
- 'teaster': {'V': 1, 'Q': 1},
54
- 'arterial_blood': {'V': 1000 * 2.28e-4 / 0.02},
55
- # 'arterial_blood': {'V':22.4, 'Q': 60 * 10.8} ,
56
- 'venous_blood': {'V': 1000 * 5.25e-4 / 0.02}
57
- }
58
- }
59
-
60
- class ORGAN_NAMES:
61
-
62
- LUNG = 'lung'
63
- HEART = 'heart'
64
- BRAIN = 'brain'
65
- MUSCLE = 'muscle'
66
- ADIPOSE = 'adipose'
67
- SKIN = 'skin'
68
- BONE = 'bone'
69
- KIDNEY = 'kidney'
70
- LIVER = 'liver'
71
- GUT = 'gut'
72
- SPLEEN = 'spleen'
73
- STOMACH = 'stomach'
74
- PANCREAS = 'pancreas'
75
- VENOUS = 'venous_blood'
76
- ARTERIAL = 'arterial_blood'
77
-
78
- class ANIMALS:
79
- HUMAN = 'human'
80
- RAT = 'rat'
1
+ MODEL_CONST = {
2
+ 'human':{
3
+ 'adipose': {'V':143, 'Q': 60 * 3.7},
4
+ 'bone': {'V':124, 'Q': 60 * 3.6} ,
5
+ 'brain': {'V':20.7, 'Q': 60 * 10} ,
6
+ 'gut': {'V':23.6, 'Q': 60 * 13} ,
7
+ 'heart': {'V':3.8, 'Q': 60 * 2.14},
8
+ 'kidney': {'V':4.4, 'Q': 60 * 15.7} ,
9
+ 'liver': {'V':24.1, 'Q': 60 * 21} ,
10
+ 'lung': {'V':16.7, 'Q': 60 * 71} ,
11
+ 'muscle': {'V':429, 'Q': 60 * 10.7} ,
12
+ 'pancreas': {'V':1.2, 'Q': 60 * 1.9} ,
13
+ 'skin': {'V':111, 'Q': 60 * 4.3} ,
14
+ 'spleen': {'V':2.7, 'Q': 60 * 1.1},
15
+ 'stomach': {'V':2.2, 'Q': 60 * 0.56},
16
+ 'teaster': {'V':0.51, 'Q': 60 * 0.04},
17
+ 'arterial_blood': {'V':25.7} ,
18
+ 'venous_blood': {'V':51.4}
19
+ },
20
+ 'rat':{
21
+ 'adipose': {'V':40, 'Q': 60 * 1.6},
22
+ 'bone': {'V':53.2, 'Q': 60 * 10.12},
23
+ 'brain': {'V':6.8, 'Q': 60 * 5.32} ,
24
+ 'gut': {'V':40, 'Q': 60 * 52} ,
25
+ 'heart': {'V':3.2, 'Q': 60 * 15.68},
26
+ 'kidney': {'V':9.2, 'Q': 60 * 36.92},
27
+ 'liver': {'V':41.2, 'Q': 60 * 80} ,
28
+ 'lung': {'V':4, 'Q': 60 * 203.2} ,
29
+ 'muscle': {'V':487.6, 'Q': 60 * 30} ,
30
+ 'pancreas': {'V':5.2, 'Q': 60 * 4} ,
31
+ 'skin': {'V':160, 'Q': 60 * 20} ,
32
+ 'spleen': {'V':2.4, 'Q': 60 * 5} ,
33
+ 'stomach': {'V':4.4, 'Q': 60 * 8.2} ,
34
+ 'teaster': {'V':10, 'Q': 60 * 1.8} ,
35
+ 'arterial_blood': {'V':22.4} ,
36
+ # 'arterial_blood': {'V':22.4, 'Q': 60 * 10.8} ,
37
+ 'venous_blood': {'V':45.2}
38
+ },
39
+ 'mouse': {
40
+ 'adipose': {'V': 1000 * 1e-3 / 0.02, 'Q': 60 * 4e-5 * 1000 / 0.02},
41
+ 'bone': {'V': 1000 * 1.58e-3 / 0.02, 'Q': 60 * 2.53e-4 * 1000 / 0.02},
42
+ 'brain': {'V': 1000 * 1.7e-4 / 0.02, 'Q': 60 * 1.3e-4 * 1000 / 0.02},
43
+ 'gut': {'V': 1000 * 6.27e-4 / 0.02, 'Q': 60 * 5e-4 * 1000 / 0.02},
44
+ 'heart': {'V': 1000 * 9.5e-5 / 0.02, 'Q': 60 * 2.8e-4 * 1000 / 0.02},
45
+ 'kidney': {'V': 1000 * 3.4e-4 / 0.02, 'Q': 60 * 1.3e-3 * 1000 / 0.02},
46
+ 'liver': {'V': 1000 * 1e-3/ 0.02, 'Q' : 60 * 3.5e-4 * 1000 / 0.02},
47
+ 'lung': {'V': 1000 * 1e-4 / 0.02, 'Q': 60 * 5.47e-3 * 1000 / 0.02},
48
+ 'muscle': {'V': 1000 * 0.01e-1 / 0.02, 'Q': 60 * 9.1e-4 * 1000 / 0.02},
49
+ 'pancreas': {'V': 1000 * 1.3e-4 / 0.02, 'Q': 60 * 5.2e-5 * 1000 / 0.02},
50
+ 'skin': {'V': 1000 * 2.9e-3 / 0.02, 'Q': 60 * 4.1e-4 * 1000 / 0.02},
51
+ 'spleen': {'V': 1000 * 1e-4 / 0.02, 'Q': 60 * 9e-5 * 1000 / 0.02},
52
+ 'stomach': {'V': 1000 * 1.1e-4 / 0.02, 'Q': 60 * 1.1e-4 * 1000 / 0.02},
53
+ 'teaster': {'V': 1, 'Q': 1},
54
+ 'arterial_blood': {'V': 1000 * 2.28e-4 / 0.02},
55
+ # 'arterial_blood': {'V':22.4, 'Q': 60 * 10.8} ,
56
+ 'venous_blood': {'V': 1000 * 5.25e-4 / 0.02}
57
+ }
58
+ }
59
+
60
+ class ORGAN_NAMES:
61
+
62
+ LUNG = 'lung'
63
+ HEART = 'heart'
64
+ BRAIN = 'brain'
65
+ MUSCLE = 'muscle'
66
+ ADIPOSE = 'adipose'
67
+ SKIN = 'skin'
68
+ BONE = 'bone'
69
+ KIDNEY = 'kidney'
70
+ LIVER = 'liver'
71
+ GUT = 'gut'
72
+ SPLEEN = 'spleen'
73
+ STOMACH = 'stomach'
74
+ PANCREAS = 'pancreas'
75
+ VENOUS = 'venous_blood'
76
+ ARTERIAL = 'arterial_blood'
77
+
78
+ class ANIMALS:
79
+ HUMAN = 'human'
80
+ RAT = 'rat'
81
81
  MOUSE = 'mouse'
@@ -1,3 +1,3 @@
1
- from .compartment_models import (BaseCompartmentModel, MagicCompartmentModel,
2
- ReleaseCompartmentModel, TwoSubstancesCompartmentModel)
3
- from .pbpk import PBPKmod
1
+ from .compartment_models import (BaseCompartmentModel, MagicCompartmentModel,
2
+ ReleaseCompartmentModel, TwoSubstancesCompartmentModel)
3
+ from .pbpk import PBPKmod