BERATools 0.1.0__py3-none-any.whl → 0.1.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.
- beratools/__init__.py +5 -0
- beratools/gui/main.py +3 -7
- beratools/tools/canopy_threshold_relative.py +9 -6
- {beratools-0.1.0.dist-info → beratools-0.1.2.dist-info}/METADATA +1 -1
- {beratools-0.1.0.dist-info → beratools-0.1.2.dist-info}/RECORD +8 -11
- beratools-0.1.2.dist-info/entry_points.txt +2 -0
- beratools/core/__init__.py +0 -0
- beratools/gui/__init__.py +0 -11
- beratools/tools/__init__.py +0 -7
- beratools-0.1.0.dist-info/entry_points.txt +0 -2
- {beratools-0.1.0.dist-info → beratools-0.1.2.dist-info}/WHEEL +0 -0
- {beratools-0.1.0.dist-info → beratools-0.1.2.dist-info}/licenses/LICENSE +0 -0
beratools/__init__.py
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
__author__ = """AppliedGRG"""
|
|
2
2
|
__email__ = 'appliedgrg@gmail.com'
|
|
3
3
|
__version__ = '0.1.0'
|
|
4
|
+
__license__ = "MIT"
|
|
5
|
+
__copyright__ = "Copyright (c) AppliedGRG"
|
|
6
|
+
__status__ = "Pre-Alpha"
|
|
7
|
+
__url__ = "https://github.com/appliedgrg/beratools"
|
|
8
|
+
__all__ = ["core", "tools", "gui"]
|
beratools/gui/main.py
CHANGED
|
@@ -13,15 +13,11 @@ Description:
|
|
|
13
13
|
Main entry point of BERA Tools.
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
-
import
|
|
17
|
-
from pathlib import Path
|
|
16
|
+
from beratools.gui.bt_gui_main import runner
|
|
18
17
|
|
|
19
|
-
if __name__ == "__main__":
|
|
20
|
-
current_file = Path(__file__).resolve()
|
|
21
|
-
btool_dir = current_file.parents[2]
|
|
22
|
-
sys.path.insert(0, btool_dir.as_posix())
|
|
23
18
|
|
|
24
|
-
|
|
19
|
+
def gui_main():
|
|
20
|
+
runner()
|
|
25
21
|
|
|
26
22
|
if __name__ == "__main__":
|
|
27
23
|
runner()
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
import json
|
|
3
|
+
import math
|
|
1
4
|
import os.path
|
|
5
|
+
import sys
|
|
6
|
+
import time
|
|
2
7
|
from multiprocessing.pool import Pool
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
3
10
|
import geopandas as gpd
|
|
4
|
-
import json
|
|
5
|
-
import argparse
|
|
6
|
-
import time
|
|
7
|
-
import pandas as pd
|
|
8
11
|
import numpy as np
|
|
12
|
+
import pandas as pd
|
|
9
13
|
import shapely
|
|
14
|
+
|
|
10
15
|
from beratools.core.constants import *
|
|
11
16
|
from beratools.tools.common import *
|
|
12
|
-
import sys
|
|
13
|
-
import math
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
class OperationCancelledException(Exception):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: BERATools
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: An advanced forest line feature analysis platform
|
|
5
5
|
Project-URL: Homepage, https://github.com/appliedgrg/beratools
|
|
6
6
|
Author-email: AppliedGRG <appliedgrg@gmail.com>, Richard Zeng <richardqzeng@gmail.com>
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
beratools/__init__.py,sha256=
|
|
2
|
-
beratools/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1
|
+
beratools/__init__.py,sha256=lta6WobNboazjk9WTh7B8rYf-3RYJjRel9tVwbLWwVY,261
|
|
3
2
|
beratools/core/algo_centerline.py,sha256=4zMNcJUCAE8cbJ7za2apJrpSaT33xSM2J9LWkwt4ITY,15701
|
|
4
3
|
beratools/core/algo_common.py,sha256=yIBVfFqTPN3DqtyQKIOoLh94EmzIlzyaSyA0htelAZs,14825
|
|
5
4
|
beratools/core/algo_cost.py,sha256=JFNdy9U4B2-AgUR_o-zKABEINqU8GJLFJIAxFOm05Zw,5934
|
|
@@ -12,10 +11,9 @@ beratools/core/algo_vertex_optimization.py,sha256=u22ha9J4wUXyiVGwIIZYtIOnmwi7vR
|
|
|
12
11
|
beratools/core/constants.py,sha256=KuLkHN1tNLswpVQmHHDtEtwX_1YKRF5cFsLNLXBK1uQ,1164
|
|
13
12
|
beratools/core/logger.py,sha256=55nhQV3Jjjf3GD-v6hfd-LKc8YyH4Wpe53ImQhLGwfM,2803
|
|
14
13
|
beratools/core/tool_base.py,sha256=nT22-CD6_lH8ZaTKKZNcO0_Ddbf2zxDS5CGEV1xpRts,3925
|
|
15
|
-
beratools/gui/__init__.py,sha256=zYIIWtPF73iVlXdH9euMUQ4DH7f-jg5yLgjn3qCQ36o,151
|
|
16
14
|
beratools/gui/bt_data.py,sha256=4V1pr_uO35_FOFT4BgxWObh4UDKY4TxWAO-7bX7_Tdw,17287
|
|
17
15
|
beratools/gui/bt_gui_main.py,sha256=LK5Vly6OZMjpofjjCKCrI6962CxAUvNen99UeqJyGhE,24979
|
|
18
|
-
beratools/gui/main.py,sha256=
|
|
16
|
+
beratools/gui/main.py,sha256=6rireFhO1NNuuKlyU89HT7ESq3_zrex5xlloGYQO6WM,482
|
|
19
17
|
beratools/gui/tool_widgets.py,sha256=4XKbyHhhkyJMATUGJghyG8cbM4nNnOfb7x_5v7PhEW8,27504
|
|
20
18
|
beratools/gui/assets/BERALogo.png,sha256=hnGLSL7Jv2ljDn6Z8ad5ekzH9k1PEuq7xe7Hh8bXZkE,6660
|
|
21
19
|
beratools/gui/assets/beratools.json,sha256=bx75-vtq2yHdAeF3o-Vj8htdIExUpG80N4GcjzO2iJk,24617
|
|
@@ -26,8 +24,7 @@ beratools/gui/assets/open.gif,sha256=o8LL1OaDNkQ0Gcc9dO-1f1UZFAQ3ALc4svtqiUuWJPY
|
|
|
26
24
|
beratools/gui/assets/open.png,sha256=v0OOwfTNGMmtdFbffCbxdYLaNZeRC9Cy5whAwi71oVw,524
|
|
27
25
|
beratools/gui/assets/tool.gif,sha256=2KGcUI_b-qFdrJJhgbx9pMZ8pExX7zH8nYvweRiQs6U,555
|
|
28
26
|
beratools/gui/assets/tool.png,sha256=35Txwum2l_aKeazF_I97ZaZAKHsrKQCGG-LZxEIFyZw,714
|
|
29
|
-
beratools/tools/
|
|
30
|
-
beratools/tools/canopy_threshold_relative.py,sha256=pjja8uh4h1JFU5007GlNs5J5oDT2E-TjrcOww57jR0Y,29671
|
|
27
|
+
beratools/tools/canopy_threshold_relative.py,sha256=0OM4UTQCOeUTEYwV92UhnnS_9nY69RARTciGJaLJcPk,29698
|
|
31
28
|
beratools/tools/centerline.py,sha256=S5UtGxi1bE7JTbMQ7QylhNoQ-Jtp4-sAbldtGMBGBbo,3973
|
|
32
29
|
beratools/tools/check_seed_line.py,sha256=ZEVF6TlGH3ke48O-b-I5RrwOhMExEUpoH-xGunAiL2k,1555
|
|
33
30
|
beratools/tools/common.py,sha256=iSq6JtLq07WScdQQsNODIczyHVAcVKmflok_vopQA0o,20587
|
|
@@ -37,8 +34,8 @@ beratools/tools/line_footprint_functions.py,sha256=KQXLcK8lBHETs0ecbJSwZVpaMTt19
|
|
|
37
34
|
beratools/tools/line_footprint_relative.py,sha256=wA4IQUN9vXAbQJideImkl12odNUqjAU7-kqJAhF0kcM,3192
|
|
38
35
|
beratools/tools/tool_template.py,sha256=VU87tfGv5N6Jgfm-KMJlIbWdupiLOLY8XDhM9uC4gzo,2410
|
|
39
36
|
beratools/tools/vertex_optimization.py,sha256=m56YPrBeTrQYp5xCiENV2eKYoSurQW4ybYyRVvQ9M3g,1402
|
|
40
|
-
beratools-0.1.
|
|
41
|
-
beratools-0.1.
|
|
42
|
-
beratools-0.1.
|
|
43
|
-
beratools-0.1.
|
|
44
|
-
beratools-0.1.
|
|
37
|
+
beratools-0.1.2.dist-info/METADATA,sha256=PKwd_w1DcIkqZDTsmslkXD0wSqlH8j_pW5iVQySJIzk,5654
|
|
38
|
+
beratools-0.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
39
|
+
beratools-0.1.2.dist-info/entry_points.txt,sha256=FtcADBM5WDNPWZyeER7uitwmT6DiVDotiZl3WBIV8HI,58
|
|
40
|
+
beratools-0.1.2.dist-info/licenses/LICENSE,sha256=IZ1f9V4p0qV6UciLtuKE9nyPJIm6gQiWRBtG0ETDdfY,1069
|
|
41
|
+
beratools-0.1.2.dist-info/RECORD,,
|
beratools/core/__init__.py
DELETED
|
File without changes
|
beratools/gui/__init__.py
DELETED
beratools/tools/__init__.py
DELETED
|
File without changes
|
|
File without changes
|