pypharm 1.4.1__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.1
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
@@ -366,39 +366,4 @@ class PBPKmod:
366
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, \
367
367
  dC_kidney_dt, dC_liver_dt, dC_gut_dt, dC_spleen_dt, dC_stomach_dt, dC_pancreas_dt, dC_venouse_dt,
368
368
  dC_arterial_dt]).astype(np.float64)
369
- return y_new
370
-
371
-
372
- model = PBPKmod(numba_option=True)
373
- print(model.get_unknown_params())
374
- model.load_optimization_data(
375
- time_exp=[12, 60, 3 * 60, 5* 60, 15 * 60, 24 * 60],
376
- dict_c_exp = {ORGAN_NAMES.LIVER: [103.2 * 1e-6, 134.54 * 1e-6, 87.89 * 1e-6, 81.87 * 1e-6, 45.83 * 1e-6, 28.48 * 1e-6],
377
- ORGAN_NAMES.LUNG: [26.96 * 1e-6, 22.67 * 1e-6, 15.51 * 1e-6, 12.07 * 1e-6, 4.53 * 1e-6, 0 * 1e-6],
378
- ORGAN_NAMES.SPLEEN: [11.84 * 1e-6, 12.22 * 1e-6, 8.52 * 1e-6, 7.01 * 1e-6, 3.65 * 1e-6, 2.16 * 1e-6]
379
- },
380
- start_c_in_venous=150 * 1e-3 / MODEL_CONST['rat']['venous_blood']['V']
381
- )
382
-
383
- result = model.optimize(
384
- method='country_optimization',
385
- Xmin=17 * [0.0001],
386
- Xmax=17 * [5],
387
- M=20,
388
- N=25,
389
- n=[1, 10],
390
- p=[0.00001, 2],
391
- m=[1, 8],
392
- k=8,
393
- l=3,
394
- ep=[0.2, 0.4],
395
- tmax=3,
396
- printing=True,
397
- )
398
- model.update_know_params(result)
399
-
400
- result = model(max_time=24 * 60, start_c_in_venous=150 * 1e-3 / MODEL_CONST['rat']['venous_blood']['V'], step=0.1)
401
-
402
- model_furs = PBPKmod(numba_option=True)
403
-
404
- print()
369
+ return y_new
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypharm
3
- Version: 1.4.1
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
@@ -6,7 +6,7 @@ def readme():
6
6
 
7
7
  setup(
8
8
  name='pypharm',
9
- version='1.4.1',
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
File without changes