pingmapper 4.2.8__py3-none-any.whl → 4.2.10__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.
- pingmapper/class_rectObj.py +1 -1
- pingmapper/gui_main.py +1 -1
- pingmapper/main_readFiles.py +7 -2
- pingmapper/main_rectify.py +5 -1
- pingmapper/version.py +1 -1
- {pingmapper-4.2.8.dist-info → pingmapper-4.2.10.dist-info}/METADATA +1 -1
- pingmapper-4.2.10.dist-info/RECORD +22 -0
- pingmapper-4.2.8.dist-info/RECORD +0 -22
- {pingmapper-4.2.8.data → pingmapper-4.2.10.data}/data/pingmapper_config/default_params.json +0 -0
- {pingmapper-4.2.8.dist-info → pingmapper-4.2.10.dist-info}/WHEEL +0 -0
- {pingmapper-4.2.8.dist-info → pingmapper-4.2.10.dist-info}/licenses/LICENSE +0 -0
- {pingmapper-4.2.8.dist-info → pingmapper-4.2.10.dist-info}/top_level.txt +0 -0
pingmapper/class_rectObj.py
CHANGED
|
@@ -617,7 +617,7 @@ class rectObj(sonObj):
|
|
|
617
617
|
if cog:
|
|
618
618
|
self._interpRangeCoords(filt)
|
|
619
619
|
else:
|
|
620
|
-
sDF = sDF[['record_num', 'chunk_id', 'ping_cnt', 'time_s', 'lons', 'lats', 'utm_es', 'utm_ns', 'instr_heading', 'cog', 'dep_m', 'range', 'range_lon', 'range_lat', 'range_e', 'range_n', ping_bearing]].copy()
|
|
620
|
+
sDF = sDF[['record_num', 'chunk_id', 'ping_cnt', 'time_s', 'lons', 'lats', 'utm_es', 'utm_ns', 'instr_heading', 'cog', 'dep_m', 'range', 'range_lon', 'range_lat', 'range_e', 'range_n', ping_bearing, 'transect']].copy()
|
|
621
621
|
sDF.rename(columns={'lons': 'trk_lons', 'lats': 'trk_lats', 'utm_es': 'trk_utm_es', 'utm_ns': 'trk_utm_ns', 'cog': 'trk_cog', 'range_lat':'range_lats', 'range_lon':'range_lons', 'range_e':'range_es', 'range_n':'range_ns'}, inplace=True)
|
|
622
622
|
sDF['chunk_id_2'] = sDF.index.astype(int)
|
|
623
623
|
|
pingmapper/gui_main.py
CHANGED
|
@@ -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])
|
pingmapper/main_readFiles.py
CHANGED
|
@@ -46,7 +46,7 @@ from scipy.signal import savgol_filter
|
|
|
46
46
|
|
|
47
47
|
# sys.path.insert(0, r'C:\Users\cbodine\PythonRepos\PINGVerter')
|
|
48
48
|
|
|
49
|
-
from pingverter import hum2pingmapper, low2pingmapper
|
|
49
|
+
from pingverter import hum2pingmapper, low2pingmapper, cerul2pingmapper
|
|
50
50
|
|
|
51
51
|
import cv2
|
|
52
52
|
|
|
@@ -315,6 +315,11 @@ def read_master_func(logfilename='',
|
|
|
315
315
|
elif file_type == '.sl2' or file_type == '.sl3':
|
|
316
316
|
sonar_obj = low2pingmapper(inFile, projDir, nchunk, tempC, exportUnknown)
|
|
317
317
|
|
|
318
|
+
# Prepare Cerulean file for PINGMapper
|
|
319
|
+
elif file_type == '.svlog':
|
|
320
|
+
sonar_obj = cerul2pingmapper(inFile, projDir, nchunk, tempC, exportUnknown)
|
|
321
|
+
detectDep = 1 # No depth in cerulean files, so set to Zheng et al. 2021
|
|
322
|
+
|
|
318
323
|
####################
|
|
319
324
|
# Create son objects
|
|
320
325
|
####################
|
|
@@ -357,7 +362,7 @@ def read_master_func(logfilename='',
|
|
|
357
362
|
son.sonMetaFile = meta['metaCSV']
|
|
358
363
|
|
|
359
364
|
if sonFiles:
|
|
360
|
-
if son.
|
|
365
|
+
if any(son.beam in s for s in sonFiles):
|
|
361
366
|
sonObjs.append(son)
|
|
362
367
|
else:
|
|
363
368
|
pass
|
pingmapper/main_rectify.py
CHANGED
|
@@ -262,8 +262,12 @@ 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
|
-
if
|
|
270
|
+
if rectMethod != 'COG':
|
|
267
271
|
cog=False
|
|
268
272
|
|
|
269
273
|
smthTrkFilenames = smoothTrackline(projDir=projDir, x_offset=x_offset, y_offset=y_offset, nchunk=nchunk, cog=cog, threadCnt=threadCnt)
|
pingmapper/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '4.2.
|
|
1
|
+
__version__ = '4.2.10'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.10
|
|
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
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
pingmapper/__init__.py,sha256=8zLGg-DfQhnDl2Ky0n-zXpN-8e-g7iR0AcaI4l4Vvpk,32
|
|
2
|
+
pingmapper/__main__.py,sha256=6qBbTK3eg_Er2SlUgBUaR0CBrJCKB9P2dpJaq2y5y3g,1421
|
|
3
|
+
pingmapper/class_mapSubstrateObj.py,sha256=FXw61jZ2Fnpk74vZl4PT0ijlN9gz1S-kIf8RyyrrI1Y,36785
|
|
4
|
+
pingmapper/class_portstarObj.py,sha256=1jFyKUXVL_0rzCA0sQREiCS9qp0ZQqPshOIk0XHcknM,105527
|
|
5
|
+
pingmapper/class_rectObj.py,sha256=GV14tTFHc_2XCLTZ-niVDMU3ohH9puHVqWgtjndMW4M,90897
|
|
6
|
+
pingmapper/class_sonObj.py,sha256=jxo_QBtYJmM9oJlxPfcKutc_8HkEj1hBdP5F6-61Mz8,74242
|
|
7
|
+
pingmapper/funcs_common.py,sha256=pCOIy83srtYKtKUnF4oXkd83_kimZI0NiSrO0TE0O4g,13414
|
|
8
|
+
pingmapper/funcs_model.py,sha256=dO9J4-0s1COggHkSUqHFC1qKTs20A6PSvkDqXWMUT6A,7916
|
|
9
|
+
pingmapper/funcs_rectify.py,sha256=Goh5Yon_qP93dLjq8Vv_qezPxw1H0Yb7Rw4MCTt9Z8U,12114
|
|
10
|
+
pingmapper/gui_main.py,sha256=91HAQP-o1EWxvTdW3Sv4eYJcDiSGYp_U7pQ9f_ZJ7Z8,34316
|
|
11
|
+
pingmapper/main_mapSubstrate.py,sha256=obzB_uM0N8z7C0DJFsk1HGaFWd7g_U5Ejghdxey86u0,21073
|
|
12
|
+
pingmapper/main_readFiles.py,sha256=rsu9S1UDyVpHQl1frWAa6B8ka05zmRqWmAQbKQzjUOw,53567
|
|
13
|
+
pingmapper/main_rectify.py,sha256=df6cRODvLRVYWsWHE-g6Kk5JBihtWj5NHHcc6w0jkHM,19681
|
|
14
|
+
pingmapper/test_PINGMapper.py,sha256=ZdVPHTlJFAR_JMnY-kzJe3WeIY6Dukb7Apy4InBFpUI,13986
|
|
15
|
+
pingmapper/test_time.py,sha256=uHT0mtLDP1J6w-snoELyk4UzZ2LrDeF6jGgJJVloalg,750
|
|
16
|
+
pingmapper/version.py,sha256=v3f4Iuo4qROiPylZKniXkSoF0x5vI58duORwnHGs0n4,22
|
|
17
|
+
pingmapper-4.2.10.data/data/pingmapper_config/default_params.json,sha256=YA9Rx1PSdUy4cTq-vtKORo3nNLisCYNOeUBxClldmHs,1285
|
|
18
|
+
pingmapper-4.2.10.dist-info/licenses/LICENSE,sha256=lowDp_th1CGR0Z224a-jYRi-oNFe_0fdldL3USXhX-k,1095
|
|
19
|
+
pingmapper-4.2.10.dist-info/METADATA,sha256=c4HICHLroMW4dkAsbB5SgMNoeld7tS_OCurbvIk-g7k,9174
|
|
20
|
+
pingmapper-4.2.10.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
21
|
+
pingmapper-4.2.10.dist-info/top_level.txt,sha256=RlV4sDoE3uIIDzNMOjN2t012Ia_jsblNVojJvg4q84w,11
|
|
22
|
+
pingmapper-4.2.10.dist-info/RECORD,,
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
pingmapper/__init__.py,sha256=8zLGg-DfQhnDl2Ky0n-zXpN-8e-g7iR0AcaI4l4Vvpk,32
|
|
2
|
-
pingmapper/__main__.py,sha256=6qBbTK3eg_Er2SlUgBUaR0CBrJCKB9P2dpJaq2y5y3g,1421
|
|
3
|
-
pingmapper/class_mapSubstrateObj.py,sha256=FXw61jZ2Fnpk74vZl4PT0ijlN9gz1S-kIf8RyyrrI1Y,36785
|
|
4
|
-
pingmapper/class_portstarObj.py,sha256=1jFyKUXVL_0rzCA0sQREiCS9qp0ZQqPshOIk0XHcknM,105527
|
|
5
|
-
pingmapper/class_rectObj.py,sha256=2HCmaZ_8PG92305tJmkB0V8oSYCCJxOE58iz1GUpiPc,90885
|
|
6
|
-
pingmapper/class_sonObj.py,sha256=jxo_QBtYJmM9oJlxPfcKutc_8HkEj1hBdP5F6-61Mz8,74242
|
|
7
|
-
pingmapper/funcs_common.py,sha256=pCOIy83srtYKtKUnF4oXkd83_kimZI0NiSrO0TE0O4g,13414
|
|
8
|
-
pingmapper/funcs_model.py,sha256=dO9J4-0s1COggHkSUqHFC1qKTs20A6PSvkDqXWMUT6A,7916
|
|
9
|
-
pingmapper/funcs_rectify.py,sha256=Goh5Yon_qP93dLjq8Vv_qezPxw1H0Yb7Rw4MCTt9Z8U,12114
|
|
10
|
-
pingmapper/gui_main.py,sha256=4mWQDt0qJ-VaQnUQkbYlBiHTIdaVRMh1n5ULkEpRXbQ,34308
|
|
11
|
-
pingmapper/main_mapSubstrate.py,sha256=obzB_uM0N8z7C0DJFsk1HGaFWd7g_U5Ejghdxey86u0,21073
|
|
12
|
-
pingmapper/main_readFiles.py,sha256=R2xzNIoAQOmXAnGiGkiq8h7MxNDAIX6hnKs9YB86EAg,53292
|
|
13
|
-
pingmapper/main_rectify.py,sha256=fQMd09RbvkTOQ3l_fKYg1mZn7egMtuPJkG8-rN0iT4A,19589
|
|
14
|
-
pingmapper/test_PINGMapper.py,sha256=ZdVPHTlJFAR_JMnY-kzJe3WeIY6Dukb7Apy4InBFpUI,13986
|
|
15
|
-
pingmapper/test_time.py,sha256=uHT0mtLDP1J6w-snoELyk4UzZ2LrDeF6jGgJJVloalg,750
|
|
16
|
-
pingmapper/version.py,sha256=ltynC5U5URkV3Hq3VGLUkBudnSS6yOSDZUICYCTmB0U,21
|
|
17
|
-
pingmapper-4.2.8.data/data/pingmapper_config/default_params.json,sha256=YA9Rx1PSdUy4cTq-vtKORo3nNLisCYNOeUBxClldmHs,1285
|
|
18
|
-
pingmapper-4.2.8.dist-info/licenses/LICENSE,sha256=lowDp_th1CGR0Z224a-jYRi-oNFe_0fdldL3USXhX-k,1095
|
|
19
|
-
pingmapper-4.2.8.dist-info/METADATA,sha256=Gw7rghv0FyidtHm4SRh9s1dB0wbsJRT0DV-CS7ayJIU,9173
|
|
20
|
-
pingmapper-4.2.8.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
21
|
-
pingmapper-4.2.8.dist-info/top_level.txt,sha256=RlV4sDoE3uIIDzNMOjN2t012Ia_jsblNVojJvg4q84w,11
|
|
22
|
-
pingmapper-4.2.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|