pingmapper 5.4.3__tar.gz → 5.4.4__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.4.3 → pingmapper-5.4.4}/PKG-INFO +1 -1
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/class_rectObj.py +4 -4
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/class_sonObj.py +4 -1
- pingmapper-5.4.4/pingmapper/version.py +1 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper.egg-info/PKG-INFO +1 -1
- pingmapper-5.4.3/pingmapper/version.py +0 -1
- {pingmapper-5.4.3 → pingmapper-5.4.4}/LICENSE +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/README.md +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/__init__.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/__main__.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/class_mapSubstrateObj.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/class_portstarObj.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/class_sonObj_nadirgaptest.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/default_params.json +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/doWork.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/funcs_common.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/funcs_model.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/funcs_rectify.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/gui_main.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/main_mapSubstrate.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/main_readFiles.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/main_rectify.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/nonGUI_batch_main.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/nonGui_main.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/processing_scripts/main_batchDirectory_2024-01-18_0926.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/processing_scripts/main_batchDirectory_2024-01-18_0929.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/scratch/funcs_pyhum_correct.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/scratch/main.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/scratch/main_batchDirectory.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/test_PINGMapper.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/test_dq_filter.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/test_time.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/DRAFT_Workflows/avg_predictions_Mussel_WBL.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/DRAFT_Workflows/gen_centerline.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/DRAFT_Workflows/gen_centerline_from_bankline.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/DRAFT_Workflows/gen_centerline_trkpnts_fitspline_DRAFT.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/DRAFT_Workflows/testEXAMPLE_mosaic_logit.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/RawEGN_avg_predictions.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/00_substrate_logits_mosaic_transects.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/00_substrate_shps_mosaic_transects.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/01_gen_centerline_from_coverage.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/02_gen_summary_stamp_shps.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/03_gen_summary_shp.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/04_combine_summary_shp_csv.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/05_gen_summary_shp_plots.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/06_compare_raw-egn_volume.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/08_raw-egn_hardReacheFreq_hist.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/09_raw-egn_PatchSize_density.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/Substrate_Summaries/summarize_project_substrate.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/export_coverage.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper/utils/main_mosaic_transects.py +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper.egg-info/SOURCES.txt +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper.egg-info/dependency_links.txt +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper.egg-info/requires.txt +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pingmapper.egg-info/top_level.txt +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/pyproject.toml +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/setup.cfg +0 -0
- {pingmapper-5.4.3 → pingmapper-5.4.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 5.4.
|
|
3
|
+
Version: 5.4.4
|
|
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>
|
|
@@ -327,7 +327,7 @@ class rectObj(sonObj):
|
|
|
327
327
|
if self.egn_stretch > 0:
|
|
328
328
|
self._egnDoStretch()
|
|
329
329
|
|
|
330
|
-
img = self._reserve_zero_for_nodata(self.sonDat)
|
|
330
|
+
img = self._reserve_zero_for_nodata(self.sonDat, preserve_zeros=True)
|
|
331
331
|
img = self._prepare_export_uint16(img)
|
|
332
332
|
vals = img[img > 0]
|
|
333
333
|
if vals.size == 0:
|
|
@@ -1861,7 +1861,7 @@ class rectObj(sonObj):
|
|
|
1861
1861
|
col = df[xPix].to_numpy().astype(int)
|
|
1862
1862
|
data = df[sonCol].to_numpy()
|
|
1863
1863
|
if son:
|
|
1864
|
-
data = self._reserve_zero_for_nodata(data)
|
|
1864
|
+
data = self._reserve_zero_for_nodata(data, preserve_zeros=True)
|
|
1865
1865
|
apply_post_rect_colormap = use_16bit and self._rect_colormap_selected(son=son)
|
|
1866
1866
|
source_scale_bounds = None
|
|
1867
1867
|
if apply_post_rect_colormap:
|
|
@@ -2721,7 +2721,7 @@ class rectObj(sonObj):
|
|
|
2721
2721
|
|
|
2722
2722
|
img = self.sonDat.copy()
|
|
2723
2723
|
if son:
|
|
2724
|
-
img = self._reserve_zero_for_nodata(img)
|
|
2724
|
+
img = self._reserve_zero_for_nodata(img, preserve_zeros=True)
|
|
2725
2725
|
apply_post_rect_colormap = use_16bit and self._rect_colormap_selected(son=son)
|
|
2726
2726
|
source_scale_bounds = None
|
|
2727
2727
|
if apply_post_rect_colormap:
|
|
@@ -2812,7 +2812,7 @@ class rectObj(sonObj):
|
|
|
2812
2812
|
|
|
2813
2813
|
img = self.sonDat
|
|
2814
2814
|
if son:
|
|
2815
|
-
img = self._reserve_zero_for_nodata(img)
|
|
2815
|
+
img = self._reserve_zero_for_nodata(img, preserve_zeros=True)
|
|
2816
2816
|
apply_post_rect_colormap = son and use_16bit and self._rect_colormap_selected(son=son)
|
|
2817
2817
|
source_scale_bounds = None
|
|
2818
2818
|
if apply_post_rect_colormap:
|
|
@@ -1931,12 +1931,15 @@ class sonObj(object):
|
|
|
1931
1931
|
return bool(getattr(self, 'export_colormap_uint8', True))
|
|
1932
1932
|
|
|
1933
1933
|
# ======================================================================
|
|
1934
|
-
def _reserve_zero_for_nodata(self, data):
|
|
1934
|
+
def _reserve_zero_for_nodata(self, data, preserve_zeros=False):
|
|
1935
1935
|
arr = np.asarray(data)
|
|
1936
1936
|
|
|
1937
1937
|
if arr.size == 0:
|
|
1938
1938
|
return arr
|
|
1939
1939
|
|
|
1940
|
+
if preserve_zeros:
|
|
1941
|
+
return arr.copy()
|
|
1942
|
+
|
|
1940
1943
|
out = arr.copy()
|
|
1941
1944
|
|
|
1942
1945
|
if np.issubdtype(out.dtype, np.floating):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '5.4.4'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pingmapper
|
|
3
|
-
Version: 5.4.
|
|
3
|
+
Version: 5.4.4
|
|
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.4.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
|
|
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.4.3 → pingmapper-5.4.4}/pingmapper/utils/DRAFT_Workflows/avg_predictions_Mussel_WBL.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pingmapper-5.4.3 → pingmapper-5.4.4}/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.4.3 → pingmapper-5.4.4}/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
|
|
File without changes
|