pypharm 1.4.0__tar.gz → 1.4.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypharm
3
- Version: 1.4.0
3
+ Version: 1.4.2
4
4
  Summary: Module for solving pharmacokinetic problems
5
5
  Home-page: https://github.com/Krash13/PyPharm
6
6
  Author: Krash13
@@ -235,7 +235,7 @@ res = model(90, d=5700, compartment_number=0)
235
235
  Если оба параметра не заданы, то модель выраздается
236
236
  в простую BaseCompartmentModel.
237
237
 
238
- **5) Модель MagicCompartmentModel**
238
+ **5) Модель ReleaseCompartmentModel**
239
239
 
240
240
  Данная модель учитывает поправку на высвобождение
241
241
  ЛВ в модель вводятся дополнительные параметры:
@@ -576,7 +576,7 @@ of variables.
576
576
  If both parameters are not set, then the model is deleted
577
577
  into a simple BaseCompartmentModel.
578
578
 
579
- **5) The MagicCompartmentModel model**
579
+ **5) The ReleaseCompartmentModel model**
580
580
 
581
581
  This model takes into account the release adjustment
582
582
  medicinal substance additional parameters are introduced into the model:
@@ -692,3 +692,4 @@ print(c)
692
692
 
693
693
  The data is stored in list format [current_iteration, x0, ... , xn, f], works only for the country_optimization algorithm.
694
694
 
695
+
@@ -21,17 +21,11 @@ class PBPKmod:
21
21
  _organs = ['lung', 'heart', 'brain', 'muscle', 'adipose', 'skin', 'bone', 'kidney',
22
22
  'liver', 'gut', 'spleen', 'stomach', 'pancreas', 'venous_blood', 'arterial_blood']
23
23
  _cl_organs = ['kidney', 'liver']
24
- _optim = False
25
- know_k = {}
26
- know_cl = {}
27
24
 
28
- def __init__(self, know_k=None, know_cl=None, numba_option=False):
29
- if know_k is not None:
30
- self.know_k = know_k
31
-
32
- if know_cl is not None:
33
- self.know_cl = know_cl
34
-
25
+ def __init__(self, know_k={}, know_cl={}, numba_option=False):
26
+ self.know_k = know_k
27
+ self.know_cl = know_cl
28
+ self._optim = False
35
29
  self.numba_option = numba_option
36
30
  if numba_option:
37
31
  self.cnst_v_rat = Dict.empty(
@@ -372,4 +366,4 @@ class PBPKmod:
372
366
  y_new = np.array([dC_lung_dt, dC_heart_dt, dC_brain_dt, dC_muscle_dt, dC_fat_dt, dC_skin_dt, dC_bone_dt, \
373
367
  dC_kidney_dt, dC_liver_dt, dC_gut_dt, dC_spleen_dt, dC_stomach_dt, dC_pancreas_dt, dC_venouse_dt,
374
368
  dC_arterial_dt]).astype(np.float64)
375
- return y_new
369
+ return y_new
@@ -219,7 +219,7 @@ res = model(90, d=5700, compartment_number=0)
219
219
  Если оба параметра не заданы, то модель выраздается
220
220
  в простую BaseCompartmentModel.
221
221
 
222
- **5) Модель MagicCompartmentModel**
222
+ **5) Модель ReleaseCompartmentModel**
223
223
 
224
224
  Данная модель учитывает поправку на высвобождение
225
225
  ЛВ в модель вводятся дополнительные параметры:
@@ -560,7 +560,7 @@ of variables.
560
560
  If both parameters are not set, then the model is deleted
561
561
  into a simple BaseCompartmentModel.
562
562
 
563
- **5) The MagicCompartmentModel model**
563
+ **5) The ReleaseCompartmentModel model**
564
564
 
565
565
  This model takes into account the release adjustment
566
566
  medicinal substance additional parameters are introduced into the model:
@@ -674,4 +674,4 @@ print(c)
674
674
  # ShareableList([4, 3.5192100752465563, 1.4158559227257506, 1.7264077213115414, 0.008336751860551, 0.2549196311342251, 0.5160375718404234, 6.915499993374695, 2.944744649331201, 0.5, 1.907294741996761], name='wnsm_0c50aa90')
675
675
  ```
676
676
 
677
- The data is stored in list format [current_iteration, x0, ... , xn, f], works only for the country_optimization algorithm.
677
+ The data is stored in list format [current_iteration, x0, ... , xn, f], works only for the country_optimization algorithm.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypharm
3
- Version: 1.4.0
3
+ Version: 1.4.2
4
4
  Summary: Module for solving pharmacokinetic problems
5
5
  Home-page: https://github.com/Krash13/PyPharm
6
6
  Author: Krash13
@@ -235,7 +235,7 @@ res = model(90, d=5700, compartment_number=0)
235
235
  Если оба параметра не заданы, то модель выраздается
236
236
  в простую BaseCompartmentModel.
237
237
 
238
- **5) Модель MagicCompartmentModel**
238
+ **5) Модель ReleaseCompartmentModel**
239
239
 
240
240
  Данная модель учитывает поправку на высвобождение
241
241
  ЛВ в модель вводятся дополнительные параметры:
@@ -576,7 +576,7 @@ of variables.
576
576
  If both parameters are not set, then the model is deleted
577
577
  into a simple BaseCompartmentModel.
578
578
 
579
- **5) The MagicCompartmentModel model**
579
+ **5) The ReleaseCompartmentModel model**
580
580
 
581
581
  This model takes into account the release adjustment
582
582
  medicinal substance additional parameters are introduced into the model:
@@ -692,3 +692,4 @@ print(c)
692
692
 
693
693
  The data is stored in list format [current_iteration, x0, ... , xn, f], works only for the country_optimization algorithm.
694
694
 
695
+
@@ -6,7 +6,7 @@ def readme():
6
6
 
7
7
  setup(
8
8
  name='pypharm',
9
- version='1.4.0',
9
+ version='1.4.2',
10
10
  author='Krash13',
11
11
  author_email='krasheninnikov.r.s@muctr.ru',
12
12
  description='Module for solving pharmacokinetic problems',
File without changes
File without changes
File without changes