apsg 1.1.5__tar.gz → 1.2.0__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.
- {apsg-1.1.5 → apsg-1.2.0}/HISTORY.md +4 -0
- {apsg-1.1.5 → apsg-1.2.0}/PKG-INFO +7 -2
- {apsg-1.1.5 → apsg-1.2.0}/docs/conf.py +2 -2
- {apsg-1.1.5 → apsg-1.2.0}/setup.cfg +1 -1
- {apsg-1.1.5 → apsg-1.2.0}/setup.py +3 -3
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/__init__.py +1 -1
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/plotting/_stereonet.py +7 -7
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg.egg-info/PKG-INFO +7 -2
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg.egg-info/requires.txt +2 -1
- {apsg-1.1.5 → apsg-1.2.0}/AUTHORS.md +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/CONTRIBUTING.md +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/LICENSE +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/MANIFEST.in +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/README.md +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/Makefile +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/apsg.database.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/apsg.feature.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/apsg.helpers.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/apsg.math.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/apsg.pandas.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/apsg.plotting.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/authors.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/automodules.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/contributing.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/index.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/installation.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/make.bat +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/docs/tutorials.rst +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/pyproject.toml +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/config.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/database/__init__.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/database/_alchemy.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/database/_sdbread.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/decorator/__init__.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/decorator/_decorator.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/feature/__init__.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/feature/_container.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/feature/_geodata.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/feature/_paleomag.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/feature/_statistics.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/feature/_tensor2.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/feature/_tensor3.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/helpers/__init__.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/helpers/_helper.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/helpers/_math.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/helpers/_notation.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/math/__init__.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/math/_matrix.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/math/_vector.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/pandas/__init__.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/pandas/_pandas_api.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/plotting/__init__.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/plotting/_fabricplot.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/plotting/_paleomagplots.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/plotting/_plot_artists.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/plotting/_projection.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/plotting/_roseplot.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/plotting/_stereogrid.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg/shell.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg.egg-info/SOURCES.txt +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg.egg-info/dependency_links.txt +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg.egg-info/entry_points.txt +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/src/apsg.egg-info/top_level.txt +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/tests/__init__.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/tests/conftest.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/tests/test_apsg.py +0 -0
- {apsg-1.1.5 → apsg-1.2.0}/tests/test_tensors.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apsg
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: APSG - The package for structural geologists
|
|
5
5
|
Home-page: https://github.com/ondrolexa/apsg
|
|
6
6
|
Author: Ondrej Lexa
|
|
@@ -23,6 +23,8 @@ License-File: AUTHORS.md
|
|
|
23
23
|
Requires-Dist: numpy
|
|
24
24
|
Requires-Dist: matplotlib
|
|
25
25
|
Requires-Dist: scipy
|
|
26
|
+
Requires-Dist: sqlalchemy
|
|
27
|
+
Requires-Dist: pandas
|
|
26
28
|
Provides-Extra: docs
|
|
27
29
|
Requires-Dist: sphinx; extra == "docs"
|
|
28
30
|
Requires-Dist: ipykernel; extra == "docs"
|
|
@@ -32,7 +34,6 @@ Requires-Dist: pytest; extra == "test"
|
|
|
32
34
|
Requires-Dist: black; extra == "test"
|
|
33
35
|
Provides-Extra: extra
|
|
34
36
|
Requires-Dist: jupyterlab; extra == "extra"
|
|
35
|
-
Requires-Dist: pandas; extra == "extra"
|
|
36
37
|
|
|
37
38
|
<img src="https://ondrolexa.github.io/apsg/apsg_banner.svg" alt="APSG logo" width="300px"/>
|
|
38
39
|
|
|
@@ -139,6 +140,10 @@ APSG is free software: you can redistribute it and/or modify it under the terms
|
|
|
139
140
|
|
|
140
141
|
# Changes
|
|
141
142
|
|
|
143
|
+
### 1.2.0 (master)
|
|
144
|
+
* sqlalchemy and pandas added to requirements
|
|
145
|
+
* quicknet fault bug fixed
|
|
146
|
+
|
|
142
147
|
### 1.1.5 (May 15 2024)
|
|
143
148
|
* paleomag Core .dd bug fixed
|
|
144
149
|
* fix round-off domain math error for acosd and asind
|
|
@@ -69,9 +69,9 @@ copyright = "2023, Ondrej Lexa"
|
|
|
69
69
|
# the built documents.
|
|
70
70
|
#
|
|
71
71
|
# The short X.Y version.
|
|
72
|
-
version = "1.
|
|
72
|
+
version = "1.2"
|
|
73
73
|
# The full version, including alpha/beta/rc tags.
|
|
74
|
-
release = "1.
|
|
74
|
+
release = "1.2.0"
|
|
75
75
|
|
|
76
76
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
77
77
|
# for a list of supported languages.
|
|
@@ -17,7 +17,7 @@ with open(path.join(CURRENT_PATH, "HISTORY.md")) as file:
|
|
|
17
17
|
|
|
18
18
|
setup(
|
|
19
19
|
name="apsg",
|
|
20
|
-
version="1.
|
|
20
|
+
version="1.2.0",
|
|
21
21
|
description="APSG - The package for structural geologists",
|
|
22
22
|
long_description=readme + "\n\n" + history,
|
|
23
23
|
long_description_content_type="text/markdown",
|
|
@@ -37,11 +37,11 @@ setup(
|
|
|
37
37
|
],
|
|
38
38
|
packages=find_packages(where="src"),
|
|
39
39
|
package_dir={"": "src"},
|
|
40
|
-
install_requires=["numpy", "matplotlib", "scipy"],
|
|
40
|
+
install_requires=["numpy", "matplotlib", "scipy", "sqlalchemy", "pandas"],
|
|
41
41
|
extras_require={
|
|
42
42
|
"docs": ["sphinx", "ipykernel", "nbsphinx"],
|
|
43
43
|
"test": ["pytest", "black"],
|
|
44
|
-
"extra": ["jupyterlab"
|
|
44
|
+
"extra": ["jupyterlab"],
|
|
45
45
|
},
|
|
46
46
|
project_urls={
|
|
47
47
|
"Documentation": "https://apsg.readthedocs.io/",
|
|
@@ -940,17 +940,17 @@ def quicknet(*args, **kwargs):
|
|
|
940
940
|
filename (str): filename for figure. Default `stereonet.png`
|
|
941
941
|
savefig_kwargs (dict): dict passed to ``plt.savefig``
|
|
942
942
|
fol_as_pole (bool): True to plot planar features as poles,
|
|
943
|
-
False for plotting as great circle. Default `
|
|
943
|
+
False for plotting as great circle. Default `False`
|
|
944
944
|
|
|
945
945
|
Example:
|
|
946
946
|
>>> l = linset.random_fisher(position=lin(120, 50))
|
|
947
947
|
>>> f = folset.random_fisher(position=lin(300, 40))
|
|
948
|
-
>>> quicknet(f, l
|
|
948
|
+
>>> quicknet(f, l)
|
|
949
949
|
"""
|
|
950
950
|
savefig = kwargs.get("savefig", False)
|
|
951
951
|
filename = kwargs.get("filename", "stereonet.png")
|
|
952
952
|
savefig_kwargs = kwargs.get("savefig_kwargs", {})
|
|
953
|
-
fol_as_pole = kwargs.get("fol_as_pole",
|
|
953
|
+
fol_as_pole = kwargs.get("fol_as_pole", False)
|
|
954
954
|
s = StereoNet(**kwargs)
|
|
955
955
|
for arg in args:
|
|
956
956
|
if isinstance(arg, Vector3):
|
|
@@ -963,10 +963,10 @@ def quicknet(*args, **kwargs):
|
|
|
963
963
|
s.line(arg)
|
|
964
964
|
else:
|
|
965
965
|
s.vector(arg)
|
|
966
|
-
elif isinstance(arg, Pair):
|
|
967
|
-
s.pair(arg)
|
|
968
966
|
elif isinstance(arg, Fault):
|
|
969
967
|
s.fault(arg)
|
|
968
|
+
elif isinstance(arg, Pair):
|
|
969
|
+
s.pair(arg)
|
|
970
970
|
elif isinstance(arg, Cone):
|
|
971
971
|
s.cone(arg)
|
|
972
972
|
elif isinstance(arg, Vector3Set):
|
|
@@ -979,10 +979,10 @@ def quicknet(*args, **kwargs):
|
|
|
979
979
|
s.line(arg)
|
|
980
980
|
else:
|
|
981
981
|
s.vector(arg)
|
|
982
|
-
elif isinstance(arg, PairSet):
|
|
983
|
-
s.pair(arg)
|
|
984
982
|
elif isinstance(arg, FaultSet):
|
|
985
983
|
s.fault(arg)
|
|
984
|
+
elif isinstance(arg, PairSet):
|
|
985
|
+
s.pair(arg)
|
|
986
986
|
else:
|
|
987
987
|
print(f"{type(arg)} not supported.")
|
|
988
988
|
if savefig:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apsg
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: APSG - The package for structural geologists
|
|
5
5
|
Home-page: https://github.com/ondrolexa/apsg
|
|
6
6
|
Author: Ondrej Lexa
|
|
@@ -23,6 +23,8 @@ License-File: AUTHORS.md
|
|
|
23
23
|
Requires-Dist: numpy
|
|
24
24
|
Requires-Dist: matplotlib
|
|
25
25
|
Requires-Dist: scipy
|
|
26
|
+
Requires-Dist: sqlalchemy
|
|
27
|
+
Requires-Dist: pandas
|
|
26
28
|
Provides-Extra: docs
|
|
27
29
|
Requires-Dist: sphinx; extra == "docs"
|
|
28
30
|
Requires-Dist: ipykernel; extra == "docs"
|
|
@@ -32,7 +34,6 @@ Requires-Dist: pytest; extra == "test"
|
|
|
32
34
|
Requires-Dist: black; extra == "test"
|
|
33
35
|
Provides-Extra: extra
|
|
34
36
|
Requires-Dist: jupyterlab; extra == "extra"
|
|
35
|
-
Requires-Dist: pandas; extra == "extra"
|
|
36
37
|
|
|
37
38
|
<img src="https://ondrolexa.github.io/apsg/apsg_banner.svg" alt="APSG logo" width="300px"/>
|
|
38
39
|
|
|
@@ -139,6 +140,10 @@ APSG is free software: you can redistribute it and/or modify it under the terms
|
|
|
139
140
|
|
|
140
141
|
# Changes
|
|
141
142
|
|
|
143
|
+
### 1.2.0 (master)
|
|
144
|
+
* sqlalchemy and pandas added to requirements
|
|
145
|
+
* quicknet fault bug fixed
|
|
146
|
+
|
|
142
147
|
### 1.1.5 (May 15 2024)
|
|
143
148
|
* paleomag Core .dd bug fixed
|
|
144
149
|
* fix round-off domain math error for acosd and asind
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|