pingmapper 5.3.3__tar.gz → 5.3.5__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.3.3 → pingmapper-5.3.5}/PKG-INFO +1 -1
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/class_portstarObj.py +1 -1
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/class_sonObj.py +2 -2
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/class_sonObj_nadirgaptest.py +2 -2
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/funcs_common.py +2 -2
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/gui_main.py +2 -5
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/main_mapSubstrate.py +2 -1
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/main_readFiles.py +2 -1
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/main_rectify.py +2 -1
- pingmapper-5.3.5/pingmapper/version.py +1 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper.egg-info/PKG-INFO +1 -1
- pingmapper-5.3.3/pingmapper/version.py +0 -1
- {pingmapper-5.3.3 → pingmapper-5.3.5}/LICENSE +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/README.md +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/__init__.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/__main__.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/class_mapSubstrateObj.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/class_rectObj.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/default_params.json +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/doWork.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/funcs_model.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/funcs_rectify.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/processing_scripts/main_batchDirectory_2024-01-18_0926.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/processing_scripts/main_batchDirectory_2024-01-18_0929.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/scratch/funcs_pyhum_correct.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/scratch/main.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/scratch/main_batchDirectory.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/test_PINGMapper.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/test_time.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/DRAFT_Workflows/avg_predictions_Mussel_WBL.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/DRAFT_Workflows/gen_centerline.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/DRAFT_Workflows/gen_centerline_from_bankline.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/DRAFT_Workflows/gen_centerline_trkpnts_fitspline_DRAFT.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/DRAFT_Workflows/testEXAMPLE_mosaic_logit.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/RawEGN_avg_predictions.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/00_substrate_logits_mosaic_transects.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/00_substrate_shps_mosaic_transects.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/01_gen_centerline_from_coverage.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/02_gen_summary_stamp_shps.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/03_gen_summary_shp.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/04_combine_summary_shp_csv.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/05_gen_summary_shp_plots.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/06_compare_raw-egn_volume.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/08_raw-egn_hardReacheFreq_hist.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/09_raw-egn_PatchSize_density.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/summarize_project_substrate.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/export_coverage.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/main_mosaic_transects.py +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper.egg-info/SOURCES.txt +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper.egg-info/dependency_links.txt +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper.egg-info/requires.txt +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper.egg-info/top_level.txt +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/pyproject.toml +0 -0
- {pingmapper-5.3.3 → pingmapper-5.3.5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 5.3.
|
|
3
|
+
Version: 5.3.5
|
|
4
4
|
Summary: Open-source interface for processing recreation-grade side scan sonar datasets and reproducibly mapping benthic habitat
|
|
5
5
|
Author: Daniel Buscombe
|
|
6
6
|
Author-email: Cameron Bodine <bodine.cs@gmail.email>
|
|
@@ -2305,7 +2305,7 @@ class portstarObj(object):
|
|
|
2305
2305
|
dd = float(depth * depth)
|
|
2306
2306
|
row_arr = np.arange(depth, H_pred)
|
|
2307
2307
|
src_idx = np.round(
|
|
2308
|
-
np.sqrt(row_arr.astype(np.
|
|
2308
|
+
np.sqrt(row_arr.astype(np.float32) ** 2 - dd)
|
|
2309
2309
|
).astype(int)
|
|
2310
2310
|
valid = src_idx < H_pred
|
|
2311
2311
|
rows_v = row_arr[valid]
|
|
@@ -1328,7 +1328,7 @@ class sonObj(object):
|
|
|
1328
1328
|
row_arr = np.arange(depth, H)
|
|
1329
1329
|
# Horizontal range index via Pythagorean theorem (vectorised)
|
|
1330
1330
|
src_idx = np.round(
|
|
1331
|
-
np.sqrt(row_arr.astype(np.
|
|
1331
|
+
np.sqrt(row_arr.astype(np.float32) ** 2 - dd)
|
|
1332
1332
|
).astype(int)
|
|
1333
1333
|
|
|
1334
1334
|
# Discard out-of-bounds indices
|
|
@@ -2919,7 +2919,7 @@ class sonObj(object):
|
|
|
2919
2919
|
'''
|
|
2920
2920
|
|
|
2921
2921
|
# Get sonDat
|
|
2922
|
-
sonDat = self.sonDat.astype('
|
|
2922
|
+
sonDat = self.sonDat.astype('float32')
|
|
2923
2923
|
|
|
2924
2924
|
# Create mask from zero values
|
|
2925
2925
|
mask = np.where(sonDat == 0, 0, 1)
|
|
@@ -957,7 +957,7 @@ class sonObj(object):
|
|
|
957
957
|
row_arr = np.arange(depth, H)
|
|
958
958
|
# Horizontal range via Pythagorean theorem, plus nadir gap offset
|
|
959
959
|
src_idx = np.round(
|
|
960
|
-
np.sqrt(row_arr.astype(np.
|
|
960
|
+
np.sqrt(row_arr.astype(np.float32) ** 2 - dd)
|
|
961
961
|
).astype(int) + nadirGap
|
|
962
962
|
|
|
963
963
|
# Discard out-of-bounds indices
|
|
@@ -2356,7 +2356,7 @@ class sonObj(object):
|
|
|
2356
2356
|
'''
|
|
2357
2357
|
|
|
2358
2358
|
# Get sonDat
|
|
2359
|
-
sonDat = self.sonDat.astype('
|
|
2359
|
+
sonDat = self.sonDat.astype('float32')
|
|
2360
2360
|
|
|
2361
2361
|
# Create mask from zero values
|
|
2362
2362
|
mask = np.where(sonDat == 0, 0, 1)
|
|
@@ -443,7 +443,7 @@ def saveDefaultParams(values, user_params=None):
|
|
|
443
443
|
return {k: _sanitize(val) for k, val in v.items()}
|
|
444
444
|
if isinstance(v, (np.integer, np.int_, np.int64)):
|
|
445
445
|
return int(v)
|
|
446
|
-
if isinstance(v, (np.floating, np.
|
|
446
|
+
if isinstance(v, (np.floating, np.float32, np.float32)):
|
|
447
447
|
return float(v)
|
|
448
448
|
if isinstance(v, (np.ndarray, list, tuple)):
|
|
449
449
|
return [_sanitize(x) for x in v]
|
|
@@ -516,7 +516,7 @@ class FastPiecewiseAffineTransform(PiecewiseAffineTransform):
|
|
|
516
516
|
[self.affines[i].params for i in range(len(self._tesselation.simplices))]
|
|
517
517
|
)
|
|
518
518
|
|
|
519
|
-
result = np.empty((n, 3), dtype=np.
|
|
519
|
+
result = np.empty((n, 3), dtype=np.float32)
|
|
520
520
|
|
|
521
521
|
# Process in batches to avoid large allocations in find_simplex and the
|
|
522
522
|
# affine einsum, both of which scale with n_coords and can exceed several GiB.
|
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
import sys, os
|
|
3
3
|
import webbrowser
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import FreeSimpleGUI as sg
|
|
8
|
-
except ImportError:
|
|
9
|
-
import PySimpleGUI as sg
|
|
5
|
+
|
|
6
|
+
import FreeSimpleGUI as sg
|
|
10
7
|
import matplotlib.pyplot as plt
|
|
11
8
|
|
|
12
9
|
# Add 'pingmapper' to the path, may not need after pypi package...
|
|
@@ -110,7 +110,8 @@ def map_master_func(logfilename='',
|
|
|
110
110
|
banklines=False,
|
|
111
111
|
export_16bit=False,
|
|
112
112
|
export_16bit_colormap=False,
|
|
113
|
-
export_colormap_uint8=True
|
|
113
|
+
export_colormap_uint8=True,
|
|
114
|
+
**kwargs):
|
|
114
115
|
|
|
115
116
|
'''
|
|
116
117
|
Main script to map substrates from side scan sonar imagery.
|
|
@@ -158,7 +158,8 @@ def read_master_func(logfilename='',
|
|
|
158
158
|
mosaic=False,
|
|
159
159
|
map_mosaic=0,
|
|
160
160
|
banklines=False,
|
|
161
|
-
return_context=False
|
|
161
|
+
return_context=False,
|
|
162
|
+
**kwargs):
|
|
162
163
|
|
|
163
164
|
'''
|
|
164
165
|
Main script to read data from Humminbird sonar recordings. Scripts have been
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '5.3.5'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 5.3.
|
|
3
|
+
Version: 5.3.5
|
|
4
4
|
Summary: Open-source interface for processing recreation-grade side scan sonar datasets and reproducibly mapping benthic habitat
|
|
5
5
|
Author: Daniel Buscombe
|
|
6
6
|
Author-email: Cameron Bodine <bodine.cs@gmail.email>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '5.3.3'
|
|
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
|
{pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/DRAFT_Workflows/avg_predictions_Mussel_WBL.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/DRAFT_Workflows/testEXAMPLE_mosaic_logit.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pingmapper-5.3.3 → pingmapper-5.3.5}/pingmapper/utils/Substrate_Summaries/03_gen_summary_shp.py
RENAMED
|
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
|