Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
instance_segmentation_classic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maciej Wielgosz
instance_segmentation_classic
Commits
e2376ab9
Commit
e2376ab9
authored
1 year ago
by
Maciej Wielgosz
Browse files
Options
Downloads
Patches
Plain Diff
version update
parent
9bfd24c0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nibio_postprocessing/las_to_pandas.py
+2
-0
2 additions, 0 deletions
nibio_postprocessing/las_to_pandas.py
nibio_postprocessing/pandas_to_las.py
+1
-0
1 addition, 0 deletions
nibio_postprocessing/pandas_to_las.py
with
3 additions
and
0 deletions
nibio_postprocessing/las_to_pandas.py
+
2
−
0
View file @
e2376ab9
...
...
@@ -2,6 +2,8 @@ import numpy as np
import
pandas
as
pd
import
laspy
# works with laspy 2.1.2
def
las_to_pandas
(
las_file_path
,
csv_file_path
,
save_csv
=
True
):
"""
Reads a LAS file and converts it to a pandas dataframe, then saves it to a CSV file.
...
...
This diff is collapsed.
Click to expand it.
nibio_postprocessing/pandas_to_las.py
+
1
−
0
View file @
e2376ab9
...
...
@@ -2,6 +2,7 @@ import laspy
import
pandas
as
pd
import
numpy
as
np
# works with laspy 2.1.2
def
pandas_to_las
(
csv
,
las_file_path
,
csv_file_provided
=
True
,
verbose
=
False
):
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment