pingmapper 5.0.17__tar.gz → 5.0.19__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.
Files changed (29) hide show
  1. {pingmapper-5.0.17 → pingmapper-5.0.19}/PKG-INFO +1 -1
  2. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/class_portstarObj.py +2 -2
  3. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/funcs_rectify.py +7 -7
  4. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/main_readFiles.py +1 -1
  5. pingmapper-5.0.19/pingmapper/version.py +1 -0
  6. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper.egg-info/PKG-INFO +1 -1
  7. pingmapper-5.0.17/pingmapper/version.py +0 -1
  8. {pingmapper-5.0.17 → pingmapper-5.0.19}/LICENSE +0 -0
  9. {pingmapper-5.0.17 → pingmapper-5.0.19}/README.md +0 -0
  10. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/__init__.py +0 -0
  11. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/__main__.py +0 -0
  12. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/class_mapSubstrateObj.py +0 -0
  13. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/class_rectObj.py +0 -0
  14. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/class_sonObj.py +0 -0
  15. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/class_sonObj_nadirgaptest.py +0 -0
  16. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/default_params.json +0 -0
  17. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/funcs_common.py +0 -0
  18. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/funcs_model.py +0 -0
  19. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/gui_main.py +0 -0
  20. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/main_mapSubstrate.py +0 -0
  21. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/main_rectify.py +0 -0
  22. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/test_PINGMapper.py +0 -0
  23. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper/test_time.py +0 -0
  24. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper.egg-info/SOURCES.txt +0 -0
  25. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper.egg-info/dependency_links.txt +0 -0
  26. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper.egg-info/requires.txt +0 -0
  27. {pingmapper-5.0.17 → pingmapper-5.0.19}/pingmapper.egg-info/top_level.txt +0 -0
  28. {pingmapper-5.0.17 → pingmapper-5.0.19}/setup.cfg +0 -0
  29. {pingmapper-5.0.17 → pingmapper-5.0.19}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pingmapper
3
- Version: 5.0.17
3
+ Version: 5.0.19
4
4
  Summary: Open-source interface for processing recreation-grade side scan sonar datasets and reproducibly mapping benthic habitat
5
5
  Author: Cameron Bodine, Daniel Buscombe
6
6
  Author-email: bodine.cs@gmail.email
@@ -1605,8 +1605,8 @@ class portstarObj(object):
1605
1605
  starDF['dep_m_adjBy'] = str(adjDep / starDF['pixM']) + ' pixels'
1606
1606
 
1607
1607
  # Interpolate over nan's (and set zeros to nan)
1608
- portDep = portDF['dep_m'].to_numpy()
1609
- starDep = starDF['dep_m'].to_numpy()
1608
+ portDep = portDF['dep_m'].to_numpy(copy=True)
1609
+ starDep = starDF['dep_m'].to_numpy(copy=True)
1610
1610
 
1611
1611
  portDep[portDep == 0] = np.nan
1612
1612
  starDep[starDep == 0] = np.nan
@@ -246,15 +246,15 @@ def smoothTrackline(projDir='', x_offset='', y_offset='', nchunk ='', cog=True,
246
246
 
247
247
  if curTransect == t:
248
248
  # Get second to last row of previous chunk
249
- lastRow = sDF[sDF['chunk_id'] == i-1].iloc[[-2]]
249
+ lastRow = sDF[sDF['chunk_id'] == i-1].iloc[-2]
250
250
 
251
251
  # Update current chunks first row from lastRow
252
- sDF.at[curRow, "lons"] = lastRow["lons"]
253
- sDF.at[curRow, "lats"] = lastRow["lats"]
254
- sDF.at[curRow, "utm_es"] = lastRow["utm_es"]
255
- sDF.at[curRow, "utm_ns"] = lastRow["utm_ns"]
256
- sDF.at[curRow, "cog"] = lastRow["cog"]
257
- sDF.at[curRow, "instr_heading"] = lastRow["instr_heading"]
252
+ sDF.at[curRow, "lons"] = float(lastRow["lons"])
253
+ sDF.at[curRow, "lats"] = float(lastRow["lats"])
254
+ sDF.at[curRow, "utm_es"] = float(lastRow["utm_es"])
255
+ sDF.at[curRow, "utm_ns"] = float(lastRow["utm_ns"])
256
+ sDF.at[curRow, "cog"] = float(lastRow["cog"])
257
+ sDF.at[curRow, "instr_heading"] = float(lastRow["instr_heading"])
258
258
  # sDF.at[curRow, 'pixM'] = lastRow['pixM']
259
259
 
260
260
  del lastRow
@@ -1090,7 +1090,7 @@ def read_master_func(logfilename='',
1090
1090
  sonDF['dep_m_smth'] = False
1091
1091
  sonDF['dep_m_adjBy'] = adjDep
1092
1092
 
1093
- dep = sonDF['inst_dep_m']
1093
+ dep = sonDF['inst_dep_m'].to_numpy(copy=True)
1094
1094
 
1095
1095
  if smthDep:
1096
1096
  dep = savgol_filter(dep, 51, 3)
@@ -0,0 +1 @@
1
+ __version__ = '5.0.19'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pingmapper
3
- Version: 5.0.17
3
+ Version: 5.0.19
4
4
  Summary: Open-source interface for processing recreation-grade side scan sonar datasets and reproducibly mapping benthic habitat
5
5
  Author: Cameron Bodine, Daniel Buscombe
6
6
  Author-email: bodine.cs@gmail.email
@@ -1 +0,0 @@
1
- __version__ = '5.0.17'
File without changes
File without changes
File without changes
File without changes