population-trend 2.0.1__py3-none-any.whl → 2.0.2__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.
- population_trend/__init__.py +1 -1
- population_trend/population_growth_model.py +4 -2
- {population_trend-2.0.1.dist-info → population_trend-2.0.2.dist-info}/METADATA +2 -2
- population_trend-2.0.2.dist-info/RECORD +8 -0
- population_trend-2.0.1.dist-info/RECORD +0 -8
- {population_trend-2.0.1.dist-info → population_trend-2.0.2.dist-info}/LICENSE +0 -0
- {population_trend-2.0.1.dist-info → population_trend-2.0.2.dist-info}/WHEEL +0 -0
population_trend/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import numpy as np
|
|
2
2
|
from geci_plots import geci_plot, roundup, ticks_positions_array, order_magnitude
|
|
3
|
-
from bootstrapping_tools import power_law
|
|
3
|
+
from bootstrapping_tools import power_law, lambda_calculator
|
|
4
4
|
import matplotlib.pyplot as plt
|
|
5
5
|
|
|
6
6
|
|
|
@@ -27,7 +27,9 @@ class Population_Trend_Model:
|
|
|
27
27
|
self.time_to_model = np.linspace(
|
|
28
28
|
self.ticks_positions.min(), self.ticks_positions.max(), 100
|
|
29
29
|
)
|
|
30
|
-
self.initial_population =
|
|
30
|
+
self.initial_population = lambda_calculator(
|
|
31
|
+
fit_data["Temporada"], fit_data[interest_variable]
|
|
32
|
+
)[1]
|
|
31
33
|
|
|
32
34
|
@property
|
|
33
35
|
def model_min(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: population_trend
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: A template Python module
|
|
5
5
|
Home-page: https://github.com/IslasGECI/population_trend
|
|
6
6
|
Author: Ciencia de Datos • GECI
|
|
@@ -8,7 +8,7 @@ Author-email: ciencia.datos@islas.org.mx
|
|
|
8
8
|
Requires-Python: >=3.9
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
11
|
-
Requires-Dist: bootstrapping-tools==
|
|
11
|
+
Requires-Dist: bootstrapping-tools==1.1.1
|
|
12
12
|
Requires-Dist: geci-plots
|
|
13
13
|
Requires-Dist: typer
|
|
14
14
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
population_trend/__init__.py,sha256=FmowP9ov97-TOtFOosVO-nkT9euMfvVycHT-cQglXAk,163
|
|
2
|
+
population_trend/cli.py,sha256=8QdnQqvozFZDXHumyaib1KC0GhAzO1n71Zwl70v9MFw,1982
|
|
3
|
+
population_trend/filter_data.py,sha256=D0Y1vztcbbo98af9q7wRhlHfH__bNFI8tnVOdJY6hu0,403
|
|
4
|
+
population_trend/population_growth_model.py,sha256=fnCnEKiZu4umt8eB4wSr0LVdqHN6hpmQrvF8vTBKtEE,4316
|
|
5
|
+
population_trend-2.0.2.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
6
|
+
population_trend-2.0.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
7
|
+
population_trend-2.0.2.dist-info/METADATA,sha256=SwfTDlPuyGmVHx5Ehjt-fZUtlpHC16BHymhVYsll9oY,1504
|
|
8
|
+
population_trend-2.0.2.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
population_trend/__init__.py,sha256=RT6mQJQhEV3lwgej1x8dRnuCNIn6miadF0K8c-YiOFM,163
|
|
2
|
-
population_trend/cli.py,sha256=8QdnQqvozFZDXHumyaib1KC0GhAzO1n71Zwl70v9MFw,1982
|
|
3
|
-
population_trend/filter_data.py,sha256=D0Y1vztcbbo98af9q7wRhlHfH__bNFI8tnVOdJY6hu0,403
|
|
4
|
-
population_trend/population_growth_model.py,sha256=fNniRWuWtznAMglfKu2Yo6cpUG9lBmVhpx4RK4S0k2k,4238
|
|
5
|
-
population_trend-2.0.1.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
6
|
-
population_trend-2.0.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
7
|
-
population_trend-2.0.1.dist-info/METADATA,sha256=EynHWY2OobiIsA3cz-5o6gs56H_EIKCGPirGD_qRsMw,1504
|
|
8
|
-
population_trend-2.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|