diff --git a/Readme.md b/Readme.md index 61e3deafa146beadc076a9b1bfdf6c38b471647b..ace037e0be3c1284b326b4e49ba45e688be10608 100644 --- a/Readme.md +++ b/Readme.md @@ -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 surface 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 studied 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 -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. -1 and 2nd colimns correspond to coordinaes x and y. 3rd column is the value inside them. -This info is sqved in the "data" variable +1 and 2nd columns correspond to coordinaes x and y. 3rd column is the value inside each coordinate. +This array is saved 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"