Skip to content
Snippets Groups Projects
Commit b7f262bb authored by encinass1u's avatar encinass1u
Browse files

Update Readme.md

parent 99aa8701
Branches
No related tags found
1 merge request!2Update README.md
...@@ -3,23 +3,26 @@ The repertory is conformed by an initial stl file containing the analized surfac ...@@ -3,23 +3,26 @@ The repertory is conformed by an initial stl file containing the analized surfac
1. Run "stl2vtk.py" 1. Run "stl2vtk.py"
This will show the surface you are dealing with, the entering file needs to be in stl format. This will show the studied surface, the entering file needs to be in stl format.
As a result a ply will be obtained for further treatment. 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. In this code, several methods to study and find surface parameters are commented out.
2. Run "Plotting.py" 2. Run "Plotting.py"
The "tata_filtered.ply" is the input that will provide the arrays to create a 2D plane The "tata_filtered.ply" is the input that will provide the arrays to create a 2D plane
inside a Matrix of the same size as the surface. Inside an array of the same size as the surface.
An array of 3 columns and n number of points will be obtained. An array of 3 columns and n number of points will be obtained.
1 and 2nd colimns correspond to coordinaes x and y. 3rd column is the value inside them. 1 and 2nd columns correspond to coordinaes x and y. 3rd column is the value inside each coordinate.
This info is sqved in the "data" variable This array is saved in the "data" variable.
3. Run "Gaus_surface.py" 3. Run "Gaus_surface.py"
Array values will be arranged inside the matrix to plot the 2D plane. Array values will be arranged inside the matrix to plot the 2D plane from 'data' calculated in previously.
This will provide a pickle file containing the surface heights fom 1 to 0. Firstly an empty Matrix with the same dimmension is created filled with 0.
The file is called "Gts_Surface_T.cvs" 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. 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 It also allows to obtain a small sample if needed to perfom fast test with cell seeding called
"Gts_sample.cvs" "Gts_sample.cvs"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment