kite
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: kite | ||
| Version: 1.5.7 | ||
| Version: 1.5.8 | ||
| Summary: InSAR unwrapped surface displacement processing for earthquake modelling. | ||
@@ -24,6 +24,18 @@ Author-email: Marius Paul Isken <mi@gfz-potsdam.de>, Henriette Sudhaus <hsudhaus@ifg.uni-kiel.de> | ||
| Description-Content-Type: text/markdown | ||
| License-File: LICENSE.md | ||
| Requires-Dist: numpy>=1.17.3 | ||
| Requires-Dist: scipy>=1.6.0 | ||
| Requires-Dist: PyQt5>=5.15.0 | ||
| Requires-Dist: pyqtgraph>=0.11.0 | ||
| Requires-Dist: pyrocko>=2022.06.10 | ||
| Requires-Dist: utm>=0.7.0 | ||
| Requires-Dist: geojson>=2.5.0 | ||
| Provides-Extra: gdal | ||
| Requires-Dist: gdal>=3.2.0; extra == "gdal" | ||
| Provides-Extra: development | ||
| Requires-Dist: flake8; extra == "development" | ||
| Requires-Dist: black; extra == "development" | ||
| Requires-Dist: pre-commit; extra == "development" | ||
| Provides-Extra: tests | ||
| License-File: LICENSE.md | ||
| Requires-Dist: pytest; extra == "tests" | ||
@@ -30,0 +42,0 @@ # Kite |
| numpy>=1.17.3 | ||
| scipy>=1.6.0 | ||
| PyQt5>=5.15.0 | ||
| pyqtgraph==0.11.0 | ||
| pyqtgraph>=0.11.0 | ||
| pyrocko>=2022.06.10 | ||
@@ -6,0 +6,0 @@ utm>=0.7.0 |
@@ -0,1 +1,3 @@ | ||
| covariance_ext | ||
| kite | ||
| sources |
@@ -30,2 +30,9 @@ #define NPY_NO_DEPRECATED_API 7 | ||
| #ifndef max | ||
| #define max(a,b) \ | ||
| ({ __typeof__ (a) _a = (a); \ | ||
| __typeof__ (b) _b = (b); \ | ||
| _a > _b ? _a : _b; }) | ||
| #endif | ||
| typedef enum { | ||
@@ -131,3 +138,3 @@ SUCCESS = 0, | ||
| l_length = map[il1*4+1] - map[il1*4+0]; | ||
| subsampling[il1] = ceil(LOG2(l_length)); | ||
| subsampling[il1] = max(ceil(LOG2(l_length)), 1); | ||
| } else { | ||
@@ -134,0 +141,0 @@ subsampling[il1] = 1; |
+2
-1
@@ -11,3 +11,3 @@ #!/usr/bin/env python3 | ||
| import utm | ||
| from pyrocko.dataset.topo import srtmgl3 | ||
| from pyrocko.dataset import topo | ||
| from pyrocko.guts import Dict, Float, Object, String, StringChoice, Timestamp, load | ||
@@ -647,2 +647,3 @@ from pyrocko.orthodrome import latlon_to_ne, latlon_to_ne_numpy, ne_to_latlon # noqa | ||
| def get_elevation(self, interpolation="nearest_neighbor"): | ||
| srtmgl3 = topo.dem("SRTMGL3") | ||
| assert interpolation in ("nearest_neighbor", "bivariate") | ||
@@ -649,0 +650,0 @@ |
+11
-5
@@ -6,3 +6,3 @@ from os import path | ||
| import pyqtgraph.parametertree.parameterTypes as pTypes | ||
| from PyQt5 import QtCore | ||
| from PyQt5 import QtCore, QtGui | ||
| from pyqtgraph import dockarea | ||
@@ -23,2 +23,8 @@ | ||
| def set_scale(image, width, height): | ||
| tr = QtGui.QTransform() | ||
| tr.scale(width, height) | ||
| image.setTransform(tr) | ||
| class KiteView(dockarea.DockArea): | ||
@@ -244,3 +250,3 @@ title = "View Prototype" | ||
| hillshade.resetTransform() | ||
| hillshade.scale(frame.dE, frame.dN) | ||
| set_scale(hillshade, frame.dE, frame.dN) | ||
@@ -251,3 +257,3 @@ elev_img = pg.ImageItem( | ||
| elev_img.resetTransform() | ||
| elev_img.scale(frame.dE, frame.dN) | ||
| set_scale(elev_img, frame.dE, frame.dN) | ||
@@ -276,3 +282,3 @@ elev_img.updateImage(elevation.T, autoLevels=True) | ||
| self.image.resetTransform() | ||
| self.image.scale(frame.dE, frame.dN) | ||
| set_scale(self.image, frame.dE, frame.dN) | ||
@@ -445,2 +451,3 @@ def scalebar(self): | ||
| pTypes.GroupParameter.__init__(self, **kwargs) | ||
| self.parameters = getattr(self, "parameters", []) | ||
@@ -451,3 +458,2 @@ | ||
| pTypes.GroupParameter.__init__(self, **kwargs) | ||
| self.updateValues() | ||
@@ -454,0 +460,0 @@ |
@@ -205,3 +205,3 @@ #!/usr/bin/python | ||
| self.progress.setLabelText(text) | ||
| self.progress.setMaximum(maximum) | ||
| self.progress.setMaximum(int(maximum)) | ||
| self.progress.setValue(0) | ||
@@ -208,0 +208,0 @@ |
@@ -6,3 +6,3 @@ from collections import OrderedDict | ||
| import pyqtgraph.parametertree.parameterTypes as pTypes | ||
| from PyQt5 import QtCore, QtWidgets | ||
| from PyQt5 import QtCore, QtGui, QtWidgets | ||
| from pyqtgraph import dockarea | ||
@@ -30,2 +30,8 @@ | ||
| def set_rotate(item, angle): | ||
| tr = QtGui.QTransform() | ||
| tr.rotate(angle) | ||
| item.setTransform(tr) | ||
| class KiteCovariance(KiteView): | ||
@@ -482,3 +488,3 @@ title = "Scene.covariance" | ||
| ge.hist_syn = pg.PlotDataItem(pen=hist_pen) | ||
| ge.hist_syn.rotate(90.0) | ||
| set_rotate(ge.hist_syn, 90.0) | ||
| ge.vb.addItem(ge.hist_syn) | ||
@@ -485,0 +491,0 @@ updateHistogram() |
+14
-2
| Metadata-Version: 2.1 | ||
| Name: kite | ||
| Version: 1.5.7 | ||
| Version: 1.5.8 | ||
| Summary: InSAR unwrapped surface displacement processing for earthquake modelling. | ||
@@ -24,6 +24,18 @@ Author-email: Marius Paul Isken <mi@gfz-potsdam.de>, Henriette Sudhaus <hsudhaus@ifg.uni-kiel.de> | ||
| Description-Content-Type: text/markdown | ||
| License-File: LICENSE.md | ||
| Requires-Dist: numpy>=1.17.3 | ||
| Requires-Dist: scipy>=1.6.0 | ||
| Requires-Dist: PyQt5>=5.15.0 | ||
| Requires-Dist: pyqtgraph>=0.11.0 | ||
| Requires-Dist: pyrocko>=2022.06.10 | ||
| Requires-Dist: utm>=0.7.0 | ||
| Requires-Dist: geojson>=2.5.0 | ||
| Provides-Extra: gdal | ||
| Requires-Dist: gdal>=3.2.0; extra == "gdal" | ||
| Provides-Extra: development | ||
| Requires-Dist: flake8; extra == "development" | ||
| Requires-Dist: black; extra == "development" | ||
| Requires-Dist: pre-commit; extra == "development" | ||
| Provides-Extra: tests | ||
| License-File: LICENSE.md | ||
| Requires-Dist: pytest; extra == "tests" | ||
@@ -30,0 +42,0 @@ # Kite |
+1
-1
@@ -39,3 +39,3 @@ [build-system] | ||
| "PyQt5>=5.15.0", | ||
| "pyqtgraph==0.11.0", | ||
| "pyqtgraph>=0.11.0", | ||
| "pyrocko>=2022.06.10", | ||
@@ -42,0 +42,0 @@ "utm>=0.7.0", |
+5
-3
@@ -175,3 +175,5 @@ #!/usr/bin/env python3 | ||
| else: | ||
| metadata = {} | ||
| metadata = dict( | ||
| ext_package="kite", | ||
| ) | ||
@@ -182,3 +184,3 @@ | ||
| Extension( | ||
| "kite.covariance_ext", | ||
| "covariance_ext", | ||
| sources=[pjoin("kite/ext", "covariance.c")], | ||
@@ -191,3 +193,3 @@ include_dirs=[numpy.get_include(), get_python_inc()], | ||
| Extension( | ||
| "kite.sources.disloc_ext", | ||
| "sources.disloc_ext", | ||
| sources=[pjoin("kite/sources/ext", "disloc.c")], | ||
@@ -194,0 +196,0 @@ include_dirs=[numpy.get_include(), get_python_inc()], |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
3345418
0.04%13839
0.08%