pingmapper 4.2.9__tar.gz → 4.2.11__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.
- {pingmapper-4.2.9 → pingmapper-4.2.11}/PKG-INFO +1 -1
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/gui_main.py +1 -1
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/main_readFiles.py +16 -1
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/main_rectify.py +4 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/test_PINGMapper.py +7 -1
- pingmapper-4.2.11/pingmapper/version.py +1 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper.egg-info/PKG-INFO +1 -1
- pingmapper-4.2.9/pingmapper/version.py +0 -1
- {pingmapper-4.2.9 → pingmapper-4.2.11}/LICENSE +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/README.md +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/__init__.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/__main__.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/class_mapSubstrateObj.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/class_portstarObj.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/class_rectObj.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/class_sonObj.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/default_params.json +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/funcs_common.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/funcs_model.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/funcs_rectify.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/main_mapSubstrate.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper/test_time.py +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper.egg-info/SOURCES.txt +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper.egg-info/dependency_links.txt +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper.egg-info/requires.txt +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/pingmapper.egg-info/top_level.txt +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/setup.cfg +0 -0
- {pingmapper-4.2.9 → pingmapper-4.2.11}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.11
|
|
4
4
|
Summary: Open-source interface for processing recreation-grade side scan sonar datasets and reproducibly mapping benthic habitat
|
|
5
5
|
Author: Cameron Bodine
|
|
6
6
|
Author-email: bodine.cs@gmail.email
|
|
@@ -73,7 +73,7 @@ def gui(batch: bool):
|
|
|
73
73
|
text_input = sg.Text('Recording to Process')
|
|
74
74
|
# in_input = sg.In(key='inFile', size=(80,1))
|
|
75
75
|
in_input = sg.In(key='inFile', size=(80,1), default_text=default_params['inFile'])
|
|
76
|
-
browse_input = sg.FileBrowse(file_types=(("Sonar File", "*.DAT *.sl2 *.sl3") ), initial_folder=os.path.dirname(default_params['inFile']))
|
|
76
|
+
browse_input = sg.FileBrowse(file_types=(("Sonar File", "*.DAT *.sl2 *.sl3 *.svlog") ), initial_folder=os.path.dirname(default_params['inFile']))
|
|
77
77
|
|
|
78
78
|
# Add to layout
|
|
79
79
|
layout.append([text_io])
|
|
@@ -36,6 +36,11 @@ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
|
36
36
|
PACKAGE_DIR = os.path.dirname(SCRIPT_DIR)
|
|
37
37
|
sys.path.append(PACKAGE_DIR)
|
|
38
38
|
|
|
39
|
+
# # For debug
|
|
40
|
+
# from funcs_common import *
|
|
41
|
+
# from class_sonObj import sonObj
|
|
42
|
+
# from class_portstarObj import portstarObj
|
|
43
|
+
|
|
39
44
|
from pingmapper.funcs_common import *
|
|
40
45
|
from pingmapper.class_sonObj import sonObj
|
|
41
46
|
from pingmapper.class_portstarObj import portstarObj
|
|
@@ -46,7 +51,7 @@ from scipy.signal import savgol_filter
|
|
|
46
51
|
|
|
47
52
|
# sys.path.insert(0, r'C:\Users\cbodine\PythonRepos\PINGVerter')
|
|
48
53
|
|
|
49
|
-
from pingverter import hum2pingmapper, low2pingmapper
|
|
54
|
+
from pingverter import hum2pingmapper, low2pingmapper, cerul2pingmapper
|
|
50
55
|
|
|
51
56
|
import cv2
|
|
52
57
|
|
|
@@ -246,6 +251,11 @@ def read_master_func(logfilename='',
|
|
|
246
251
|
| | water column present (wcp)
|
|
247
252
|
'''
|
|
248
253
|
|
|
254
|
+
#####################################
|
|
255
|
+
# Show version
|
|
256
|
+
from pingmapper.version import __version__
|
|
257
|
+
print("\nPING-Mapper v{}".format(__version__))
|
|
258
|
+
|
|
249
259
|
|
|
250
260
|
#####################################
|
|
251
261
|
# Download models if they don't exist
|
|
@@ -315,6 +325,11 @@ def read_master_func(logfilename='',
|
|
|
315
325
|
elif file_type == '.sl2' or file_type == '.sl3':
|
|
316
326
|
sonar_obj = low2pingmapper(inFile, projDir, nchunk, tempC, exportUnknown)
|
|
317
327
|
|
|
328
|
+
# Prepare Cerulean file for PINGMapper
|
|
329
|
+
elif file_type == '.svlog':
|
|
330
|
+
sonar_obj = cerul2pingmapper(inFile, projDir, nchunk, tempC, exportUnknown)
|
|
331
|
+
detectDep = 1 # No depth in cerulean files, so set to Zheng et al. 2021
|
|
332
|
+
|
|
318
333
|
####################
|
|
319
334
|
# Create son objects
|
|
320
335
|
####################
|
|
@@ -262,6 +262,10 @@ def rectify_master_func(logfilename='',
|
|
|
262
262
|
# Smooth Trackline #
|
|
263
263
|
############################################################################
|
|
264
264
|
|
|
265
|
+
# Must use COG for rubber sheeting
|
|
266
|
+
if rubberSheeting:
|
|
267
|
+
rectMethod = 'COG'
|
|
268
|
+
|
|
265
269
|
cog=True
|
|
266
270
|
if rectMethod != 'COG':
|
|
267
271
|
cog=False
|
|
@@ -38,6 +38,12 @@ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
|
38
38
|
PACKAGE_DIR = os.path.dirname(SCRIPT_DIR)
|
|
39
39
|
sys.path.append(PACKAGE_DIR)
|
|
40
40
|
|
|
41
|
+
# # For debug
|
|
42
|
+
# from funcs_common import *
|
|
43
|
+
# from main_readFiles import read_master_func
|
|
44
|
+
# from main_rectify import rectify_master_func
|
|
45
|
+
# from main_mapSubstrate import map_master_func
|
|
46
|
+
|
|
41
47
|
from pingmapper.funcs_common import *
|
|
42
48
|
from pingmapper.main_readFiles import read_master_func
|
|
43
49
|
from pingmapper.main_rectify import rectify_master_func
|
|
@@ -177,7 +183,7 @@ def test(ds):
|
|
|
177
183
|
## 2==Auto detect depth w/ Thresholding
|
|
178
184
|
|
|
179
185
|
smthDep = True #Smooth depth before water column removal
|
|
180
|
-
adjDep =
|
|
186
|
+
adjDep = 0 #Aditional depth adjustment (in meters) for water column removaL
|
|
181
187
|
pltBedPick = True #Plot bedpick on sonogram
|
|
182
188
|
|
|
183
189
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '4.2.11'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.11
|
|
4
4
|
Summary: Open-source interface for processing recreation-grade side scan sonar datasets and reproducibly mapping benthic habitat
|
|
5
5
|
Author: Cameron Bodine
|
|
6
6
|
Author-email: bodine.cs@gmail.email
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '4.2.9'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|