pyswarp 0.1.0
“Efficient warping (reprojection) of SAR imagery in swath geometry”
Registry package lists one maintainerRelease published within seven days
SHA-256d5185148ee7caa900afcc79082d1bc09355ea2f893e1cbff054eb58573a92b4d
MaleculeH₂(CmDb)Md(Pa)
Evidence
1from functools import cached_property
2
3import numpy as np
4from pyproj import Proj
5from scipy.interpolate import RBFInterpolator, LinearNDInterpolator
6from scipy.ndimage import map_coordinates
7
8class Geometry:
9 """Base class for geometric transformations between pixel/line and XY coordinates."""
10
11 def __init__(self):
12 self.width = None
13 self.height = Non …
76:40… se=False)
77 return x, y
78
79
80class SwathGeometry(Geometry):
81 """Class representing a swath geometry with GCP-based transformations."""
82
83 kernel = 'thin_plate_spline'
84 epsilon = 1
85
86 def __init__(self, crs, x, y, col, row, width, …
96:37… the raster.
97 """
98 self.crs = crs
99 self.x = np.array(x).flatten()
100 self.y = np.array(y).flatten()
101 self.col = np.array(col).flatten()
102 self.row = np.array(row) …
348:25… mn_stack([rows2.flatten(), cols2.flatten()])
349 self.r1a = np.clip(interp_r1(points), 0, src_geo.shape[0] - 1).reshape(rows2.shape)
350 self.c1a = np.clip(interp_c1(points), 0, src_geo.shape …
1Metadata-Version: 2.4
2Name: pyswarp
3Version: 0.1.0
4Summary: Efficient warping (reprojection) of SAR imagery in swath geometry
5Author: Anton Korosov
6License-Expression: MIT
7Keywords: swath,warp,SAR
8Classifier: Development Status :: 3 - Alpha
9Classifier: Intended Audience :: Developers
10Classifier: Pr …
No evidence locations were recorded for this file. Raw result