Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
School_project
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
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
encinass1u
School_project
Merge requests
!2
Update README.md
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update README.md
Student
into
main
Overview
0
Commits
51
Pipelines
0
Changes
1
Merged
encinass1u
requested to merge
Student
into
main
3 years ago
Overview
0
Commits
51
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
b7f262bb
Prev
Next
Show latest version
1 file
+
12
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
b7f262bb
Update Readme.md
· b7f262bb
encinass1u
authored
3 years ago
Readme.md
+
12
−
9
Options
@@ -3,23 +3,26 @@ The repertory is conformed by an initial stl file containing the analized surfac
1.
Run "stl2vtk.py"
This will show the s
urface you are dealing with
, the entering file needs to be in stl format.
As a result a ply will be obtained for further treatment.
This will show the s
tudied surface
, the entering file needs to be in stl format.
As a result a ply
file
will be obtained for further treatment.
In this code, several methods to study and find surface parameters are commented out.
2.
Run "Plotting.py"
The "tata_filtered.ply" is the input that will provide the arrays to create a 2D plane
i
nside a
Matrix
of the same size as the surface.
I
nside a
n array
of the same size as the surface.
An array of 3 columns and n number of points will be obtained.
1 and 2nd col
i
mns correspond to coordinaes x and y. 3rd column is the value inside
them
.
This
info
is s
q
ved in the "data" variable
1 and 2nd col
u
mns correspond to coordinaes x and y. 3rd column is the value inside
each coordinate
.
This
array
is s
a
ved in the "data" variable
.
3.
Run "Gaus_surface.py"
Array values will be arranged inside the matrix to plot the 2D plane.
This will provide a pickle file containing the surface heights fom 1 to 0.
The file is called "Gts_Surface_T.cvs"
Array values will be arranged inside the matrix to plot the 2D plane from 'data' calculated in previously.
Firstly an empty Matrix with the same dimmension is created filled with 0.
The main task of the code is to correctly arrange each coordinate value into its corresponding location
in the Gts matrix.
Values are added from the bottom to the top by pickling each time a row is added.
This provides a file containing the surface heights fom 1 to 0.
4.
"Show_code.py"
4.
Additional:
"Show_code.py"
This code show the final surface obtained in a colored plot.
It also allows to obtain a small sample if needed to perfom fast test with cell seeding called
"Gts_sample.cvs"
Loading