-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from IGNF/dev
Add new feature
- Loading branch information
Showing
135 changed files
with
1,306 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Publish ign-borea package on PyPI | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
build: | ||
name: Build distribution | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
|
||
- name: Install pypa/build | ||
run: python3 -m pip install build | ||
|
||
- name: Build a binary wheel and a source tarball | ||
run: python3 -m build | ||
|
||
- name: Store the distribution packages | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
|
||
|
||
publish-to-pypi: | ||
name: Publish Python distribution to PyPI | ||
needs: | ||
- build | ||
runs-on: ubuntu-latest | ||
|
||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/ign-borea | ||
|
||
permissions: | ||
id-token: write | ||
|
||
steps: | ||
- name: Download all the dists | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
|
||
- name: Publish distribution to TestPyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
""" | ||
Least square solver used by Borea | ||
""" | ||
import numpy as np | ||
|
||
|
||
def npsolve(mat_a: np.ndarray, mat_b: np.ndarray) -> np.ndarray: | ||
""" | ||
Solver used by Borea to resolve Ax = B | ||
Args: | ||
mat_a (np.ndarray): Matrix A | ||
mat_b (np.ndarray): Matrix B | ||
Returns: | ||
np.ndarray: the result x | ||
""" | ||
return np.linalg.lstsq(mat_a, mat_b, rcond=None)[0] |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-8 Bytes
(100%)
docs/sphinx/_build/doctrees/borea.geodesy.projectionlist.doctree
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-54 Bytes
(100%)
docs/sphinx/_build/doctrees/borea.process.p_add_data.doctree
Binary file not shown.
Binary file modified
BIN
-26 Bytes
(100%)
docs/sphinx/_build/doctrees/borea.process.p_format.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-10 Bytes
(100%)
docs/sphinx/_build/doctrees/borea.reader.orientation.doctree
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
docs/sphinx/_build/doctrees/borea.transform_world_image.doctree
Binary file not shown.
Binary file modified
BIN
-11 Bytes
(100%)
docs/sphinx/_build/doctrees/borea.transform_world_image.transform_dtm.doctree
Binary file not shown.
Binary file modified
BIN
-36 Bytes
(100%)
docs/sphinx/_build/doctrees/borea.transform_world_image.transform_shot.doctree
Binary file not shown.
Binary file modified
BIN
-72 Bytes
(100%)
docs/sphinx/_build/doctrees/borea.transform_world_image.transform_worksite.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-20 Bytes
(100%)
docs/sphinx/_build/doctrees/borea.utils.miscellaneous.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 504fc0b18f5078da3c2b6c957c5c94f7 | ||
config: 1377150614254adb87c28fd596e900be | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.