Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z on Virtual points #8

Merged
merged 64 commits into from
Jul 18, 2024
Merged

Z on Virtual points #8

merged 64 commits into from
Jul 18, 2024

Conversation

mdupaysign
Copy link
Collaborator

Création de la fonction qui calcule un Z le long du squelette hydro
/ ! \ 1er étape, car il faut une deuxième étape de lissage du Z

configs/configs_lidro.yaml Outdated Show resolved Hide resolved
lidro/main_create_virtual_point.py Outdated Show resolved Hide resolved
lidro/main_create_virtual_point.py Outdated Show resolved Hide resolved
lidro/main_create_virtual_point.py Outdated Show resolved Hide resolved
configs/configs_lidro.yaml Outdated Show resolved Hide resolved
example_create_virtual_point_by_tile.sh Outdated Show resolved Hide resolved
test/stats/test_knn_distance.py Show resolved Hide resolved
test/stats/test_calculate_stats.py Outdated Show resolved Hide resolved

Parameters:
- points (numpy.ndarray): An array of 3D points [x, y, z]
- q (int): Percentage or sequence of percentages for the percentiles to compute.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comme tu ne testes qu'avec une seule valeur de q dans l'appel de fonction, je pense que tu peux changer ton commentaire pour ne plus parler de séquence de pourcentages (sinon ça implique d'adapter le reste de ton code pour que ça marche aussi) :

Suggested change
- q (int): Percentage or sequence of percentages for the percentiles to compute.
- q (int): Percentage for the percentiles to compute.

configs/configs_lidro.yaml Outdated Show resolved Hide resolved
lidro/create_virtual_point/pointcloud/crop_las.py Outdated Show resolved Hide resolved
lidro/create_virtual_point/stats/calculate_stat.py Outdated Show resolved Hide resolved
@@ -19,7 +19,7 @@ def setup_module(module):


def test_crop_pointcloud_default():
classes = "[1:2]"
classes = [2]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

normalement l'équivalent de ce que tu avais avant serait classes = [1, 2]

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c'est vrai, j'ai pas été rigoureuse !

test/stats/test_knn_distance.py Outdated Show resolved Hide resolved
@mdupaysign
Copy link
Collaborator Author

Ca y est ! J'ai tout modifier ! On va pouvoir merger (jespère et donc créer une nouvelle branche pour les points virtuels)"

@mdupaysign mdupaysign merged commit 1b9fde5 into dev Jul 18, 2024
1 check passed
@mdupaysign mdupaysign deleted the virtual_point branch July 18, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants