pingmapper 5.0.2__tar.gz → 5.0.3__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-5.0.2 → pingmapper-5.0.3}/PKG-INFO +1 -1
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/class_sonObj.py +4 -1
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/main_readFiles.py +4 -3
- pingmapper-5.0.3/pingmapper/version.py +1 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper.egg-info/PKG-INFO +1 -1
- pingmapper-5.0.2/pingmapper/version.py +0 -1
- {pingmapper-5.0.2 → pingmapper-5.0.3}/LICENSE +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/README.md +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/__init__.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/__main__.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/class_mapSubstrateObj.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/class_portstarObj.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/class_rectObj.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/default_params.json +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/funcs_common.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/funcs_model.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/funcs_rectify.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/gui_main.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/main_mapSubstrate.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/main_rectify.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/test_PINGMapper.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper/test_time.py +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper.egg-info/SOURCES.txt +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper.egg-info/dependency_links.txt +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper.egg-info/requires.txt +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/pingmapper.egg-info/top_level.txt +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/setup.cfg +0 -0
- {pingmapper-5.0.2 → pingmapper-5.0.3}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.3
|
|
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
|
|
@@ -1360,7 +1360,10 @@ class sonObj(object):
|
|
|
1360
1360
|
outDir = os.path.join(self.outDir, t+'_mw')
|
|
1361
1361
|
|
|
1362
1362
|
if not os.path.exists(outDir):
|
|
1363
|
-
|
|
1363
|
+
try:
|
|
1364
|
+
os.mkdir(outDir)
|
|
1365
|
+
except:
|
|
1366
|
+
pass
|
|
1364
1367
|
|
|
1365
1368
|
# Find the images
|
|
1366
1369
|
images = os.listdir(inDir)
|
|
@@ -1039,8 +1039,9 @@ def read_master_func(logfilename='',
|
|
|
1039
1039
|
|
|
1040
1040
|
# Interpolate over nan's (and set zero's to nan)
|
|
1041
1041
|
dep[dep==0] = np.nan
|
|
1042
|
-
|
|
1043
|
-
|
|
1042
|
+
dep = np.asarray(dep)
|
|
1043
|
+
nans = np.isnan(dep)
|
|
1044
|
+
dep[nans] = np.interp(np.flatnonzero(nans), np.flatnonzero(~nans), dep[~nans])
|
|
1044
1045
|
|
|
1045
1046
|
sonDF['dep_m'] = dep + adjDep
|
|
1046
1047
|
|
|
@@ -1408,7 +1409,7 @@ def read_master_func(logfilename='',
|
|
|
1408
1409
|
|
|
1409
1410
|
depCnt = np.unique(sDF['dep_m'], return_counts=True)
|
|
1410
1411
|
depMaxi = np.argmax(depCnt[1])
|
|
1411
|
-
depMax = int(depCnt[0][depMaxi]/
|
|
1412
|
+
depMax = int(depCnt[0][depMaxi]/sDF['pixM'][0])
|
|
1412
1413
|
depMax += 50
|
|
1413
1414
|
|
|
1414
1415
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '5.0.3'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.3
|
|
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__ = '5.0.2'
|
|
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
|
|
File without changes
|
|
File without changes
|