polytope-python 1.0.7__tar.gz → 1.0.8__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.
- {polytope-python-1.0.7/polytope_python.egg-info → polytope-python-1.0.8}/PKG-INFO +1 -1
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/backends/datacube.py +1 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_mappers/datacube_mappers.py +9 -2
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_mappers/mapper_types/healpix.py +5 -1
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_mappers/mapper_types/healpix_nested.py +5 -1
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_mappers/mapper_types/local_regular.py +16 -3
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_mappers/mapper_types/octahedral.py +5 -1
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_mappers/mapper_types/reduced_ll.py +5 -1
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_mappers/mapper_types/regular.py +12 -3
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_transformations.py +1 -2
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_type_change/datacube_type_change.py +1 -1
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/engine/hullslicer.py +0 -1
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/options.py +1 -0
- polytope-python-1.0.8/polytope_feature/version.py +1 -0
- {polytope-python-1.0.7 → polytope-python-1.0.8/polytope_python.egg-info}/PKG-INFO +1 -1
- polytope-python-1.0.8/polytope_python.egg-info/SOURCES.txt +54 -0
- polytope-python-1.0.8/polytope_python.egg-info/top_level.txt +1 -0
- {polytope-python-1.0.7 → polytope-python-1.0.8}/setup.py +1 -1
- polytope-python-1.0.7/polytope/version.py +0 -1
- polytope-python-1.0.7/polytope_python.egg-info/SOURCES.txt +0 -54
- polytope-python-1.0.7/polytope_python.egg-info/top_level.txt +0 -1
- {polytope-python-1.0.7 → polytope-python-1.0.8}/LICENSE +0 -0
- {polytope-python-1.0.7 → polytope-python-1.0.8}/MANIFEST.in +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/backends/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/backends/fdb.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/backends/mock.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/backends/xarray.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/datacube_axis.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/index_tree_pb2.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/tensor_index_tree.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_cyclic/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_cyclic/datacube_cyclic.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_mappers/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_mappers/mapper_types/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_merger/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_merger/datacube_merger.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_reverse/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_reverse/datacube_reverse.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/transformations/datacube_type_change/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/tree_encoding.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/engine/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/engine/engine.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/polytope.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/shapes.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/__init__.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/combinatorics.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/exceptions.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/geometry.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/list_tools.py +0 -0
- {polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/profiling.py +0 -0
- {polytope-python-1.0.7 → polytope-python-1.0.8}/polytope_python.egg-info/dependency_links.txt +0 -0
- {polytope-python-1.0.7 → polytope-python-1.0.8}/polytope_python.egg-info/not-zip-safe +0 -0
- {polytope-python-1.0.7 → polytope-python-1.0.8}/polytope_python.egg-info/requires.txt +0 -0
- {polytope-python-1.0.7 → polytope-python-1.0.8}/pyproject.toml +0 -0
- {polytope-python-1.0.7 → polytope-python-1.0.8}/requirements.txt +0 -0
- {polytope-python-1.0.7 → polytope-python-1.0.8}/setup.cfg +0 -0
|
@@ -128,6 +128,7 @@ class Datacube(ABC):
|
|
|
128
128
|
"""
|
|
129
129
|
path = self.fit_path(path)
|
|
130
130
|
indexes = axis.find_indexes(path, self)
|
|
131
|
+
|
|
131
132
|
idx_between = axis.find_indices_between(indexes, lower, upper, self, method)
|
|
132
133
|
|
|
133
134
|
logging.debug(f"For axis {axis.name} between {lower} and {upper}, found indices {idx_between}")
|
|
@@ -15,6 +15,9 @@ class DatacubeMapper(DatacubeAxisTransformation):
|
|
|
15
15
|
self.local_area = []
|
|
16
16
|
if mapper_options.local is not None:
|
|
17
17
|
self.local_area = mapper_options.local
|
|
18
|
+
self._axis_reversed = None
|
|
19
|
+
if mapper_options.axis_reversed is not None:
|
|
20
|
+
self._axis_reversed = mapper_options.axis_reversed
|
|
18
21
|
self.old_axis = name
|
|
19
22
|
self._final_transformation = self.generate_final_transformation()
|
|
20
23
|
self._final_mapped_axes = self._final_transformation._mapped_axes
|
|
@@ -24,9 +27,13 @@ class DatacubeMapper(DatacubeAxisTransformation):
|
|
|
24
27
|
|
|
25
28
|
def generate_final_transformation(self):
|
|
26
29
|
map_type = _type_to_datacube_mapper_lookup[self.grid_type]
|
|
27
|
-
module = import_module(
|
|
30
|
+
module = import_module(
|
|
31
|
+
"polytope_feature.datacube.transformations.datacube_mappers.mapper_types." + self.grid_type
|
|
32
|
+
)
|
|
28
33
|
constructor = getattr(module, map_type)
|
|
29
|
-
transformation = deepcopy(
|
|
34
|
+
transformation = deepcopy(
|
|
35
|
+
constructor(self.old_axis, self.grid_axes, self.grid_resolution, self.local_area, self._axis_reversed)
|
|
36
|
+
)
|
|
30
37
|
return transformation
|
|
31
38
|
|
|
32
39
|
def blocked_axes(self):
|
|
@@ -5,7 +5,7 @@ from ..datacube_mappers import DatacubeMapper
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class HealpixGridMapper(DatacubeMapper):
|
|
8
|
-
def __init__(self, base_axis, mapped_axes, resolution, local_area=[]):
|
|
8
|
+
def __init__(self, base_axis, mapped_axes, resolution, local_area=[], axis_reversed=None):
|
|
9
9
|
# TODO: if local area is not empty list, raise NotImplemented
|
|
10
10
|
self._mapped_axes = mapped_axes
|
|
11
11
|
self._base_axis = base_axis
|
|
@@ -14,6 +14,10 @@ class HealpixGridMapper(DatacubeMapper):
|
|
|
14
14
|
self._first_axis_vals = self.first_axis_vals()
|
|
15
15
|
self.compressed_grid_axes = [self._mapped_axes[1]]
|
|
16
16
|
self.md5_hash = md5_hash.get(resolution, None)
|
|
17
|
+
if self._axis_reversed[mapped_axes[1]]:
|
|
18
|
+
raise NotImplementedError("Healpix grid with second axis in decreasing order is not supported")
|
|
19
|
+
if not self._axis_reversed[mapped_axes[0]]:
|
|
20
|
+
raise NotImplementedError("Healpix grid with first axis in increasing order is not supported")
|
|
17
21
|
|
|
18
22
|
def first_axis_vals(self):
|
|
19
23
|
rad2deg = 180 / math.pi
|
|
@@ -5,7 +5,7 @@ from ..datacube_mappers import DatacubeMapper
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class NestedHealpixGridMapper(DatacubeMapper):
|
|
8
|
-
def __init__(self, base_axis, mapped_axes, resolution, local_area=[]):
|
|
8
|
+
def __init__(self, base_axis, mapped_axes, resolution, local_area=[], axis_reversed=None):
|
|
9
9
|
# TODO: if local area is not empty list, raise NotImplemented
|
|
10
10
|
self._mapped_axes = mapped_axes
|
|
11
11
|
self._base_axis = base_axis
|
|
@@ -18,6 +18,10 @@ class NestedHealpixGridMapper(DatacubeMapper):
|
|
|
18
18
|
self.Npix = 12 * self.Nside * self.Nside
|
|
19
19
|
self.Ncap = (self.Nside * (self.Nside - 1)) << 1
|
|
20
20
|
self.md5_hash = md5_hash.get(resolution, None)
|
|
21
|
+
if self._axis_reversed[mapped_axes[1]]:
|
|
22
|
+
raise NotImplementedError("Healpix grid with second axis in decreasing order is not supported")
|
|
23
|
+
if not self._axis_reversed[mapped_axes[0]]:
|
|
24
|
+
raise NotImplementedError("Healpix grid with first axis in increasing order is not supported")
|
|
21
25
|
|
|
22
26
|
def first_axis_vals(self):
|
|
23
27
|
rad2deg = 180 / math.pi
|
|
@@ -4,7 +4,7 @@ from ..datacube_mappers import DatacubeMapper
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class LocalRegularGridMapper(DatacubeMapper):
|
|
7
|
-
def __init__(self, base_axis, mapped_axes, resolution, local_area=[]):
|
|
7
|
+
def __init__(self, base_axis, mapped_axes, resolution, local_area=[], axis_reversed=None):
|
|
8
8
|
# TODO: if local area is not empty list, raise NotImplemented
|
|
9
9
|
self._mapped_axes = mapped_axes
|
|
10
10
|
self._base_axis = base_axis
|
|
@@ -22,12 +22,25 @@ class LocalRegularGridMapper(DatacubeMapper):
|
|
|
22
22
|
self.md5_hash = md5_hash.get(tuple(resolution), None)
|
|
23
23
|
self._first_deg_increment = (local_area[1] - local_area[0]) / self.first_resolution
|
|
24
24
|
self._second_deg_increment = (local_area[3] - local_area[2]) / self.second_resolution
|
|
25
|
-
|
|
25
|
+
if axis_reversed is None:
|
|
26
|
+
self._axis_reversed = {mapped_axes[0]: False, mapped_axes[1]: False}
|
|
27
|
+
else:
|
|
28
|
+
assert set(axis_reversed.keys()) == set(mapped_axes)
|
|
29
|
+
self._axis_reversed = axis_reversed
|
|
26
30
|
self._first_axis_vals = self.first_axis_vals()
|
|
27
31
|
self.compressed_grid_axes = [self._mapped_axes[1]]
|
|
32
|
+
if self._axis_reversed[mapped_axes[1]]:
|
|
33
|
+
raise NotImplementedError("Local regular grid with second axis in decreasing order is not supported")
|
|
28
34
|
|
|
29
35
|
def first_axis_vals(self):
|
|
30
|
-
|
|
36
|
+
if self._axis_reversed[self._mapped_axes[0]]:
|
|
37
|
+
first_ax_vals = [
|
|
38
|
+
self._first_axis_max - i * self._first_deg_increment for i in range(self.first_resolution + 1)
|
|
39
|
+
]
|
|
40
|
+
else:
|
|
41
|
+
first_ax_vals = [
|
|
42
|
+
self._first_axis_min + i * self._first_deg_increment for i in range(self.first_resolution + 1)
|
|
43
|
+
]
|
|
31
44
|
return first_ax_vals
|
|
32
45
|
|
|
33
46
|
def map_first_axis(self, lower, upper):
|
|
@@ -5,7 +5,7 @@ from ..datacube_mappers import DatacubeMapper
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class OctahedralGridMapper(DatacubeMapper):
|
|
8
|
-
def __init__(self, base_axis, mapped_axes, resolution, local_area=[]):
|
|
8
|
+
def __init__(self, base_axis, mapped_axes, resolution, local_area=[], axis_reversed=None):
|
|
9
9
|
# TODO: if local area is not empty list, raise NotImplemented
|
|
10
10
|
self._mapped_axes = mapped_axes
|
|
11
11
|
self._base_axis = base_axis
|
|
@@ -14,6 +14,10 @@ class OctahedralGridMapper(DatacubeMapper):
|
|
|
14
14
|
self._first_idx_map = self.create_first_idx_map()
|
|
15
15
|
self._second_axis_spacing = {}
|
|
16
16
|
self._axis_reversed = {mapped_axes[0]: True, mapped_axes[1]: False}
|
|
17
|
+
if self._axis_reversed[mapped_axes[1]]:
|
|
18
|
+
raise NotImplementedError("Octahedral grid with second axis in decreasing order is not supported")
|
|
19
|
+
if not self._axis_reversed[mapped_axes[0]]:
|
|
20
|
+
raise NotImplementedError("Octahedral grid with first axis in increasing order is not supported")
|
|
17
21
|
self.compressed_grid_axes = [self._mapped_axes[1]]
|
|
18
22
|
self.md5_hash = md5_hash.get(resolution, None)
|
|
19
23
|
|
|
@@ -4,7 +4,7 @@ from ..datacube_mappers import DatacubeMapper
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class ReducedLatLonMapper(DatacubeMapper):
|
|
7
|
-
def __init__(self, base_axis, mapped_axes, resolution, local_area=[]):
|
|
7
|
+
def __init__(self, base_axis, mapped_axes, resolution, local_area=[], axis_reversed=None):
|
|
8
8
|
# TODO: if local area is not empty list, raise NotImplemented
|
|
9
9
|
self._mapped_axes = mapped_axes
|
|
10
10
|
self._base_axis = base_axis
|
|
@@ -13,6 +13,10 @@ class ReducedLatLonMapper(DatacubeMapper):
|
|
|
13
13
|
self._first_axis_vals = self.first_axis_vals()
|
|
14
14
|
self.compressed_grid_axes = [self._mapped_axes[1]]
|
|
15
15
|
self.md5_hash = md5_hash.get(resolution, None)
|
|
16
|
+
if self._axis_reversed[mapped_axes[1]]:
|
|
17
|
+
raise NotImplementedError("Reduced lat-lon grid with second axis in decreasing order is not supported")
|
|
18
|
+
if self._axis_reversed[mapped_axes[0]]:
|
|
19
|
+
raise NotImplementedError("Reduced lat-lon grid with first axis in decreasing order is not supported")
|
|
16
20
|
|
|
17
21
|
def first_axis_vals(self):
|
|
18
22
|
resolution = 180 / (self._resolution - 1)
|
|
@@ -4,19 +4,28 @@ from ..datacube_mappers import DatacubeMapper
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class RegularGridMapper(DatacubeMapper):
|
|
7
|
-
def __init__(self, base_axis, mapped_axes, resolution, local_area=[]):
|
|
7
|
+
def __init__(self, base_axis, mapped_axes, resolution, local_area=[], axis_reversed=None):
|
|
8
8
|
# TODO: if local area is not empty list, raise NotImplemented
|
|
9
9
|
self._mapped_axes = mapped_axes
|
|
10
10
|
self._base_axis = base_axis
|
|
11
11
|
self._resolution = resolution
|
|
12
12
|
self.deg_increment = 90 / self._resolution
|
|
13
|
-
|
|
13
|
+
if axis_reversed is None:
|
|
14
|
+
self._axis_reversed = {mapped_axes[0]: True, mapped_axes[1]: False}
|
|
15
|
+
else:
|
|
16
|
+
assert set(axis_reversed.keys()) == set(mapped_axes)
|
|
17
|
+
self._axis_reversed = axis_reversed
|
|
14
18
|
self._first_axis_vals = self.first_axis_vals()
|
|
15
19
|
self.compressed_grid_axes = [self._mapped_axes[1]]
|
|
16
20
|
self.md5_hash = md5_hash.get(resolution, None)
|
|
21
|
+
if self._axis_reversed[mapped_axes[1]]:
|
|
22
|
+
raise NotImplementedError("Regular grid with second axis in decreasing order is not supported")
|
|
17
23
|
|
|
18
24
|
def first_axis_vals(self):
|
|
19
|
-
|
|
25
|
+
if self._axis_reversed[self._mapped_axes[0]]:
|
|
26
|
+
first_ax_vals = [90 - i * self.deg_increment for i in range(2 * self._resolution)]
|
|
27
|
+
else:
|
|
28
|
+
first_ax_vals = [-90 + i * self.deg_increment for i in range(2 * self._resolution)]
|
|
20
29
|
return first_ax_vals
|
|
21
30
|
|
|
22
31
|
def map_first_axis(self, lower, upper):
|
|
@@ -12,9 +12,8 @@ class DatacubeAxisTransformation(ABC):
|
|
|
12
12
|
transformation_type = _type_to_datacube_transformation_lookup[transformation_type_key]
|
|
13
13
|
transformation_file_name = _type_to_transformation_file_lookup[transformation_type_key]
|
|
14
14
|
file_name = ".datacube_" + transformation_file_name
|
|
15
|
-
module = import_module("
|
|
15
|
+
module = import_module("polytope_feature.datacube.transformations" + file_name + file_name)
|
|
16
16
|
constructor = getattr(module, transformation_type)
|
|
17
|
-
# transformation_type_option = transformation_options[transformation_type_key]
|
|
18
17
|
transformation_type_option = transformation_options
|
|
19
18
|
new_transformation = deepcopy(constructor(name, transformation_type_option))
|
|
20
19
|
|
|
@@ -15,7 +15,7 @@ class DatacubeAxisTypeChange(DatacubeAxisTransformation):
|
|
|
15
15
|
|
|
16
16
|
def generate_final_transformation(self):
|
|
17
17
|
map_type = _type_to_datacube_type_change_lookup[self.new_type]
|
|
18
|
-
module = import_module("
|
|
18
|
+
module = import_module("polytope_feature.datacube.transformations.datacube_type_change.datacube_type_change")
|
|
19
19
|
constructor = getattr(module, map_type)
|
|
20
20
|
transformation = deepcopy(constructor(self.name, self.new_type))
|
|
21
21
|
return transformation
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.8"
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
MANIFEST.in
|
|
3
|
+
pyproject.toml
|
|
4
|
+
requirements.txt
|
|
5
|
+
setup.py
|
|
6
|
+
polytope_feature/__init__.py
|
|
7
|
+
polytope_feature/options.py
|
|
8
|
+
polytope_feature/polytope.py
|
|
9
|
+
polytope_feature/shapes.py
|
|
10
|
+
polytope_feature/version.py
|
|
11
|
+
polytope_feature/datacube/__init__.py
|
|
12
|
+
polytope_feature/datacube/datacube_axis.py
|
|
13
|
+
polytope_feature/datacube/index_tree_pb2.py
|
|
14
|
+
polytope_feature/datacube/tensor_index_tree.py
|
|
15
|
+
polytope_feature/datacube/tree_encoding.py
|
|
16
|
+
polytope_feature/datacube/backends/__init__.py
|
|
17
|
+
polytope_feature/datacube/backends/datacube.py
|
|
18
|
+
polytope_feature/datacube/backends/fdb.py
|
|
19
|
+
polytope_feature/datacube/backends/mock.py
|
|
20
|
+
polytope_feature/datacube/backends/xarray.py
|
|
21
|
+
polytope_feature/datacube/transformations/__init__.py
|
|
22
|
+
polytope_feature/datacube/transformations/datacube_transformations.py
|
|
23
|
+
polytope_feature/datacube/transformations/datacube_cyclic/__init__.py
|
|
24
|
+
polytope_feature/datacube/transformations/datacube_cyclic/datacube_cyclic.py
|
|
25
|
+
polytope_feature/datacube/transformations/datacube_mappers/__init__.py
|
|
26
|
+
polytope_feature/datacube/transformations/datacube_mappers/datacube_mappers.py
|
|
27
|
+
polytope_feature/datacube/transformations/datacube_mappers/mapper_types/__init__.py
|
|
28
|
+
polytope_feature/datacube/transformations/datacube_mappers/mapper_types/healpix.py
|
|
29
|
+
polytope_feature/datacube/transformations/datacube_mappers/mapper_types/healpix_nested.py
|
|
30
|
+
polytope_feature/datacube/transformations/datacube_mappers/mapper_types/local_regular.py
|
|
31
|
+
polytope_feature/datacube/transformations/datacube_mappers/mapper_types/octahedral.py
|
|
32
|
+
polytope_feature/datacube/transformations/datacube_mappers/mapper_types/reduced_ll.py
|
|
33
|
+
polytope_feature/datacube/transformations/datacube_mappers/mapper_types/regular.py
|
|
34
|
+
polytope_feature/datacube/transformations/datacube_merger/__init__.py
|
|
35
|
+
polytope_feature/datacube/transformations/datacube_merger/datacube_merger.py
|
|
36
|
+
polytope_feature/datacube/transformations/datacube_reverse/__init__.py
|
|
37
|
+
polytope_feature/datacube/transformations/datacube_reverse/datacube_reverse.py
|
|
38
|
+
polytope_feature/datacube/transformations/datacube_type_change/__init__.py
|
|
39
|
+
polytope_feature/datacube/transformations/datacube_type_change/datacube_type_change.py
|
|
40
|
+
polytope_feature/engine/__init__.py
|
|
41
|
+
polytope_feature/engine/engine.py
|
|
42
|
+
polytope_feature/engine/hullslicer.py
|
|
43
|
+
polytope_feature/utility/__init__.py
|
|
44
|
+
polytope_feature/utility/combinatorics.py
|
|
45
|
+
polytope_feature/utility/exceptions.py
|
|
46
|
+
polytope_feature/utility/geometry.py
|
|
47
|
+
polytope_feature/utility/list_tools.py
|
|
48
|
+
polytope_feature/utility/profiling.py
|
|
49
|
+
polytope_python.egg-info/PKG-INFO
|
|
50
|
+
polytope_python.egg-info/SOURCES.txt
|
|
51
|
+
polytope_python.egg-info/dependency_links.txt
|
|
52
|
+
polytope_python.egg-info/not-zip-safe
|
|
53
|
+
polytope_python.egg-info/requires.txt
|
|
54
|
+
polytope_python.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
polytope_feature
|
|
@@ -5,7 +5,7 @@ from setuptools import find_packages, setup
|
|
|
5
5
|
|
|
6
6
|
__version__ = re.search(
|
|
7
7
|
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
|
|
8
|
-
io.open("
|
|
8
|
+
io.open("polytope_feature/version.py", encoding="utf_8_sig").read(),
|
|
9
9
|
).group(1)
|
|
10
10
|
|
|
11
11
|
with open("requirements.txt") as f:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.7"
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
LICENSE
|
|
2
|
-
MANIFEST.in
|
|
3
|
-
pyproject.toml
|
|
4
|
-
requirements.txt
|
|
5
|
-
setup.py
|
|
6
|
-
polytope/__init__.py
|
|
7
|
-
polytope/options.py
|
|
8
|
-
polytope/polytope.py
|
|
9
|
-
polytope/shapes.py
|
|
10
|
-
polytope/version.py
|
|
11
|
-
polytope/datacube/__init__.py
|
|
12
|
-
polytope/datacube/datacube_axis.py
|
|
13
|
-
polytope/datacube/index_tree_pb2.py
|
|
14
|
-
polytope/datacube/tensor_index_tree.py
|
|
15
|
-
polytope/datacube/tree_encoding.py
|
|
16
|
-
polytope/datacube/backends/__init__.py
|
|
17
|
-
polytope/datacube/backends/datacube.py
|
|
18
|
-
polytope/datacube/backends/fdb.py
|
|
19
|
-
polytope/datacube/backends/mock.py
|
|
20
|
-
polytope/datacube/backends/xarray.py
|
|
21
|
-
polytope/datacube/transformations/__init__.py
|
|
22
|
-
polytope/datacube/transformations/datacube_transformations.py
|
|
23
|
-
polytope/datacube/transformations/datacube_cyclic/__init__.py
|
|
24
|
-
polytope/datacube/transformations/datacube_cyclic/datacube_cyclic.py
|
|
25
|
-
polytope/datacube/transformations/datacube_mappers/__init__.py
|
|
26
|
-
polytope/datacube/transformations/datacube_mappers/datacube_mappers.py
|
|
27
|
-
polytope/datacube/transformations/datacube_mappers/mapper_types/__init__.py
|
|
28
|
-
polytope/datacube/transformations/datacube_mappers/mapper_types/healpix.py
|
|
29
|
-
polytope/datacube/transformations/datacube_mappers/mapper_types/healpix_nested.py
|
|
30
|
-
polytope/datacube/transformations/datacube_mappers/mapper_types/local_regular.py
|
|
31
|
-
polytope/datacube/transformations/datacube_mappers/mapper_types/octahedral.py
|
|
32
|
-
polytope/datacube/transformations/datacube_mappers/mapper_types/reduced_ll.py
|
|
33
|
-
polytope/datacube/transformations/datacube_mappers/mapper_types/regular.py
|
|
34
|
-
polytope/datacube/transformations/datacube_merger/__init__.py
|
|
35
|
-
polytope/datacube/transformations/datacube_merger/datacube_merger.py
|
|
36
|
-
polytope/datacube/transformations/datacube_reverse/__init__.py
|
|
37
|
-
polytope/datacube/transformations/datacube_reverse/datacube_reverse.py
|
|
38
|
-
polytope/datacube/transformations/datacube_type_change/__init__.py
|
|
39
|
-
polytope/datacube/transformations/datacube_type_change/datacube_type_change.py
|
|
40
|
-
polytope/engine/__init__.py
|
|
41
|
-
polytope/engine/engine.py
|
|
42
|
-
polytope/engine/hullslicer.py
|
|
43
|
-
polytope/utility/__init__.py
|
|
44
|
-
polytope/utility/combinatorics.py
|
|
45
|
-
polytope/utility/exceptions.py
|
|
46
|
-
polytope/utility/geometry.py
|
|
47
|
-
polytope/utility/list_tools.py
|
|
48
|
-
polytope/utility/profiling.py
|
|
49
|
-
polytope_python.egg-info/PKG-INFO
|
|
50
|
-
polytope_python.egg-info/SOURCES.txt
|
|
51
|
-
polytope_python.egg-info/dependency_links.txt
|
|
52
|
-
polytope_python.egg-info/not-zip-safe
|
|
53
|
-
polytope_python.egg-info/requires.txt
|
|
54
|
-
polytope_python.egg-info/top_level.txt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
polytope
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/backends/fdb.py
RENAMED
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/backends/mock.py
RENAMED
|
File without changes
|
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/datacube_axis.py
RENAMED
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/index_tree_pb2.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
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/datacube/tree_encoding.py
RENAMED
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/engine/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/__init__.py
RENAMED
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/combinatorics.py
RENAMED
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/exceptions.py
RENAMED
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/geometry.py
RENAMED
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/list_tools.py
RENAMED
|
File without changes
|
{polytope-python-1.0.7/polytope → polytope-python-1.0.8/polytope_feature}/utility/profiling.py
RENAMED
|
File without changes
|
{polytope-python-1.0.7 → polytope-python-1.0.8}/polytope_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|