-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added many other data examples for GPRPy
- Loading branch information
1 parent
bd479aa
commit 0ce2631
Showing
24 changed files
with
1,144 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
INSTRUCTIONS | ||
------------ | ||
|
||
Preprocessing the profiles and exporting to VTK (for Paraview) | ||
|
||
For windows, run in a python command prompt: | ||
|
||
processProfiles.py | ||
|
||
For Mac, Linux, Chrome OS, run in a terminal: | ||
|
||
python3 processProfiles.py | ||
|
||
To create an interpolated surface from the picked points: | ||
|
||
Windows: | ||
|
||
picksToSurface.py | ||
|
||
Mac, Linux, Chrome OS: | ||
|
||
python3 picksToSurface.py | ||
|
||
|
||
Now open profile1.vts, profile2.vts, and surface_spline21.vts in Paraview | ||
(available from https://www.paraview.org/download/) | ||
|
||
To pick your own points and create a surface: | ||
1) Preprocess the data using the GPRPy Profile GUI. | ||
Use 3D data for topo correction | ||
2) Pick points using "start pick". | ||
To save the picked points, use "stop pick". | ||
3) The for each profile, the picked points are saved in a txt file | ||
with _3D.txt at the end. Merge them into one file (for example | ||
using copy-paste). | ||
4) In python, run | ||
from gprpy.interpSurface import * | ||
interpSurface('pick_combined.txt','outname',nxgrid=200, | ||
nygrid=200,method='spline',kx=2,ky=1) | ||
adapt the options to your liking | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
3.628126132656759761e+00 5.329749507458485880e+01 | ||
3.705448834118642232e+00 5.326130835109162831e+01 | ||
3.747976319922677657e+00 5.326130835109162831e+01 | ||
3.767306995288147942e+00 5.326130835109162831e+01 | ||
3.805968346019089399e+00 5.326130835109162831e+01 | ||
3.883291047480971425e+00 5.326130835109162831e+01 | ||
3.945149208650477579e+00 5.326130835109162831e+01 | ||
3.983810559381418592e+00 5.326130835109162831e+01 | ||
4.030204180258547986e+00 5.326733947167383576e+01 | ||
4.084330071281865315e+00 5.324924610992722052e+01 | ||
4.126857557085900297e+00 5.324924610992722052e+01 | ||
4.169385042889936166e+00 5.324924610992722052e+01 | ||
4.219644798840159083e+00 5.326733947167383576e+01 | ||
4.246707744351818192e+00 5.326733947167383576e+01 | ||
4.308565905521324346e+00 5.326733947167383576e+01 | ||
4.401353147275583133e+00 5.326733947167383576e+01 | ||
4.447746768152712527e+00 5.326733947167383576e+01 | ||
4.509604929322218680e+00 5.326130835109162831e+01 | ||
4.602392171076477467e+00 5.324924610992722052e+01 | ||
4.683581007611453906e+00 5.327337059225603610e+01 | ||
4.726108493415488887e+00 5.327337059225603610e+01 | ||
4.803431194877370913e+00 5.329749507458485880e+01 | ||
4.876887761266159416e+00 5.329749507458485880e+01 | ||
4.911682976924006461e+00 5.328543283342044390e+01 | ||
4.989005678385888487e+00 5.326227333038478662e+01 | ||
5.062462244774676989e+00 5.320196212456274765e+01 | ||
5.147517216382747840e+00 5.319794137750794505e+01 | ||
5.248036728283194563e+00 5.318587913634353015e+01 | ||
5.336957834964358938e+00 5.317783764223392495e+01 | ||
5.429745076718617725e+00 5.318185838928872755e+01 | ||
5.530264588619065336e+00 5.315773390695991196e+01 | ||
5.584390479642383553e+00 5.312154718346668858e+01 | ||
5.665579316177359104e+00 5.309742270113787299e+01 | ||
5.769964963150901127e+00 5.313360942463109637e+01 | ||
5.862752204905159914e+00 5.310948494230228079e+01 | ||
5.963271716805605749e+00 5.310144344819267559e+01 | ||
6.083121904071523645e+00 5.306927747175425480e+01 | ||
6.228101969312552555e+00 5.305721523058984701e+01 | ||
6.334420683822640896e+00 5.307329821880905740e+01 | ||
6.445572067174096809e+00 5.302102850709661652e+01 | ||
6.576054125891023006e+00 5.298484178360339314e+01 | ||
6.696870846925214948e+00 5.296473804832938015e+01 | ||
6.808022230276669973e+00 5.288030236017851848e+01 | ||
6.909508275945390743e+00 5.286019862490450549e+01 | ||
7.001328983931376371e+00 5.285617787784970290e+01 | ||
7.097982360758729570e+00 5.284813638374009770e+01 | ||
7.233297088317023338e+00 5.284009488963049250e+01 | ||
7.354113809351214393e+00 5.276370069558924314e+01 | ||
7.494261205750875732e+00 5.275163845442483534e+01 | ||
7.634408602150537959e+00 5.274359696031523015e+01 | ||
7.784221336232935329e+00 5.270741023682199966e+01 | ||
7.934034070315331810e+00 5.272349322504121005e+01 | ||
8.050018122508156182e+00 5.271947247798640745e+01 | ||
8.141838830494140922e+00 5.270338948976719706e+01 | ||
8.199830856590551775e+00 5.263905753689035549e+01 | ||
8.325480246466110401e+00 5.263905753689035549e+01 | ||
8.412468285610728458e+00 5.263905753689035549e+01 | ||
8.533285006644920401e+00 5.263905753689035549e+01 | ||
8.615440376948169998e+00 5.261895380161634250e+01 | ||
8.707261084934154738e+00 5.256668408990390162e+01 | ||
8.803914461761507937e+00 5.254255960757508603e+01 | ||
8.929563851637066563e+00 5.254255960757508603e+01 | ||
9.031049897305788221e+00 5.253049736641067824e+01 | ||
9.079376585719463932e+00 5.251441437819146785e+01 | ||
9.190527969070920733e+00 5.245410317236942888e+01 | ||
9.316177358946479359e+00 5.243802018415021848e+01 | ||
9.407998066932464098e+00 5.243802018415021848e+01 | ||
9.567476138697596610e+00 5.242193719593100809e+01 | ||
9.707623535097258838e+00 5.242193719593100809e+01 | ||
9.823607587290080545e+00 5.241791644887620549e+01 | ||
9.915428295276065285e+00 5.241389570182140289e+01 | ||
1.001934984520123884e+01 5.239897873024808206e+01 | ||
1.012388926862611171e+01 5.239897873024808206e+01 | ||
1.021234570383177243e+01 5.238691648908367426e+01 | ||
1.031688512725664353e+01 5.233866752442603598e+01 | ||
1.042544529773631901e+01 5.231052229504241780e+01 | ||
1.052998472116119189e+01 5.227835631860399701e+01 | ||
1.063050339753126039e+01 5.227031482449439181e+01 | ||
1.069081460335330291e+01 5.225825258332998402e+01 | ||
1.076318805033975323e+01 5.221402436572715544e+01 | ||
1.086772747376462611e+01 5.218989988339833985e+01 | ||
1.094010092075107465e+01 5.219392063045314245e+01 | ||
1.099639137951831458e+01 5.218185838928872755e+01 | ||
1.108484781472397529e+01 5.217381689517912235e+01 | ||
1.116526275582003080e+01 5.214567166579550417e+01 | ||
1.122557396164207333e+01 5.210546419524747819e+01 | ||
1.131805114390253664e+01 5.211350568935708338e+01 | ||
1.140650757910819735e+01 5.209742270113787299e+01 | ||
1.150702625547826763e+01 5.207731896586386000e+01 | ||
1.159548269068393012e+01 5.207731896586386000e+01 | ||
1.168393912588959083e+01 5.207329821880905740e+01 | ||
1.184074826102689926e+01 5.205721523058984701e+01 | ||
1.192116320212295477e+01 5.201700776004181392e+01 | ||
1.196137067267098253e+01 5.200896626593220873e+01 | ||
1.208348435423462597e+01 5.197211550078530706e+01 | ||
1.218497039990334585e+01 5.195278482541984033e+01 | ||
1.225262776368249362e+01 5.193828681889574028e+01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
3.793161773589465824e+00 5.311709556602634308e+01 | ||
3.793161773589465824e+00 5.311709556602634308e+01 | ||
3.923643832306392021e+00 5.315575691675728365e+01 | ||
3.923643832306392021e+00 5.315575691675728365e+01 | ||
4.054125891023318218e+00 5.314609157907454318e+01 | ||
4.054125891023318218e+00 5.314609157907454318e+01 | ||
4.184607949740245303e+00 5.314125891023317649e+01 | ||
4.184607949740245303e+00 5.314125891023317649e+01 | ||
4.315090008457171500e+00 5.314125891023317649e+01 | ||
4.315090008457171500e+00 5.314125891023317649e+01 | ||
4.440739398332730126e+00 5.319441826748822422e+01 | ||
4.440739398332730126e+00 5.319441826748822422e+01 | ||
4.576054125891024782e+00 5.320408360517095758e+01 | ||
4.576054125891024782e+00 5.320408360517095758e+01 | ||
4.725866859973421263e+00 5.320408360517095758e+01 | ||
4.725866859973421263e+00 5.320408360517095758e+01 | ||
4.837018243324877176e+00 5.317992026096411706e+01 | ||
4.837018243324877176e+00 5.317992026096411706e+01 | ||
4.972332970883170944e+00 5.312676090370907644e+01 | ||
4.972332970883170944e+00 5.312676090370907644e+01 | ||
5.093149691917362887e+00 5.313642624139180981e+01 | ||
5.093149691917362887e+00 5.313642624139180981e+01 | ||
5.218799081792921513e+00 5.309293222181950256e+01 | ||
5.218799081792921513e+00 5.309293222181950256e+01 | ||
5.358946478192582852e+00 5.308326688413676919e+01 | ||
5.358946478192582852e+00 5.308326688413676919e+01 | ||
5.474930530385406335e+00 5.304460553340582862e+01 | ||
5.474930530385406335e+00 5.304460553340582862e+01 | ||
5.595747251419597390e+00 5.302044218919898810e+01 | ||
5.595747251419597390e+00 5.302044218919898810e+01 | ||
5.721396641295156016e+00 5.299144617615078090e+01 | ||
5.721396641295156016e+00 5.299144617615078090e+01 | ||
5.822882686963876786e+00 5.296245016310257370e+01 | ||
5.822882686963876786e+00 5.296245016310257370e+01 | ||
5.972695421046273268e+00 5.297211550078530706e+01 | ||
5.972695421046273268e+00 5.297211550078530706e+01 | ||
6.127340823970039096e+00 5.295278482541984033e+01 | ||
6.127340823970039096e+00 5.295278482541984033e+01 | ||
6.262655551528332865e+00 5.295278482541984033e+01 | ||
6.262655551528332865e+00 5.295278482541984033e+01 | ||
6.407635616769361775e+00 5.295278482541984033e+01 | ||
6.407635616769361775e+00 5.295278482541984033e+01 | ||
6.562281019693126716e+00 5.290445813700616640e+01 | ||
6.562281019693126716e+00 5.290445813700616640e+01 | ||
6.697595747251420484e+00 5.285613144859248536e+01 | ||
6.697595747251420484e+00 5.285613144859248536e+01 | ||
6.808747130602876396e+00 5.283196810438565194e+01 | ||
6.808747130602876396e+00 5.283196810438565194e+01 | ||
6.929563851637067451e+00 5.284646611090975199e+01 | ||
6.929563851637067451e+00 5.284646611090975199e+01 | ||
7.060045910353994536e+00 5.286579678627522583e+01 | ||
7.060045910353994536e+00 5.286579678627522583e+01 | ||
7.185695300229553162e+00 5.283680077322701862e+01 | ||
7.185695300229553162e+00 5.283680077322701862e+01 | ||
7.325842696629214501e+00 5.283196810438565194e+01 | ||
7.325842696629214501e+00 5.283196810438565194e+01 | ||
7.451492086504773127e+00 5.282713543554427815e+01 | ||
7.451492086504773127e+00 5.282713543554427815e+01 | ||
7.562643469856229039e+00 5.282713543554427815e+01 | ||
7.562643469856229039e+00 5.282713543554427815e+01 | ||
7.620635495952640781e+00 5.280297209133744474e+01 | ||
7.620635495952640781e+00 5.280297209133744474e+01 | ||
7.712456203938626409e+00 5.274014739639966365e+01 | ||
7.712456203938626409e+00 5.274014739639966365e+01 | ||
7.842938262655552606e+00 5.274498006524103033e+01 | ||
7.842938262655552606e+00 5.274498006524103033e+01 | ||
7.949256977165640947e+00 5.272081672103418981e+01 | ||
7.949256977165640947e+00 5.272081672103418981e+01 | ||
8.063791228706053360e+00 5.274050984656276597e+01 | ||
8.063791228706053360e+00 5.274050984656276597e+01 | ||
8.218436631629817413e+00 5.272601184003866592e+01 | ||
8.218436631629817413e+00 5.272601184003866592e+01 | ||
8.397245378760421985e+00 5.271151383351455877e+01 | ||
8.397245378760421985e+00 5.271151383351455877e+01 | ||
8.469735411380936441e+00 5.271151383351455877e+01 | ||
8.469735411380936441e+00 5.271151383351455877e+01 | ||
8.561556119366921180e+00 5.269218315814909204e+01 | ||
8.561556119366921180e+00 5.269218315814909204e+01 | ||
8.624380814304700493e+00 5.267285248278361820e+01 | ||
8.624380814304700493e+00 5.267285248278361820e+01 | ||
8.706536184607950091e+00 5.264385646973541100e+01 | ||
8.706536184607950091e+00 5.264385646973541100e+01 | ||
8.817687567959406891e+00 5.266801981394225152e+01 | ||
8.817687567959406891e+00 5.266801981394225152e+01 | ||
8.875679594055817745e+00 5.264868913857677768e+01 | ||
8.875679594055817745e+00 5.264868913857677768e+01 | ||
8.967500302041802485e+00 5.264385646973541100e+01 | ||
8.967500302041802485e+00 5.264385646973541100e+01 | ||
9.039990334662318716e+00 5.262935846321131095e+01 | ||
9.039990334662318716e+00 5.262935846321131095e+01 | ||
9.093149691917362887e+00 5.261969312552857758e+01 | ||
9.093149691917362887e+00 5.261969312552857758e+01 | ||
9.155974386855142200e+00 5.261002778784583711e+01 | ||
9.155974386855142200e+00 5.261002778784583711e+01 | ||
9.233297088317023338e+00 5.261969312552857758e+01 | ||
9.233297088317023338e+00 5.261969312552857758e+01 | ||
9.349281140509848598e+00 5.261002778784583711e+01 | ||
9.349281140509848598e+00 5.261002778784583711e+01 | ||
9.368611815875318882e+00 5.260519511900447043e+01 | ||
9.368611815875318882e+00 5.260519511900447043e+01 | ||
9.426603841971729736e+00 5.261002778784583711e+01 | ||
9.426603841971729736e+00 5.261002778784583711e+01 | ||
9.489428536909509049e+00 5.261002778784583711e+01 | ||
9.489428536909509049e+00 5.261002778784583711e+01 | ||
9.508759212274979333e+00 5.261002778784583711e+01 | ||
9.508759212274979333e+00 5.261002778784583711e+01 | ||
9.600579920260965849e+00 5.261002778784583711e+01 | ||
9.600579920260965849e+00 5.261002778784583711e+01 | ||
9.624743264467802817e+00 5.261002778784583711e+01 | ||
9.624743264467802817e+00 5.261002778784583711e+01 | ||
9.735894647819259617e+00 5.260519511900447043e+01 | ||
9.735894647819259617e+00 5.260519511900447043e+01 | ||
9.769723329708831727e+00 5.260519511900447043e+01 | ||
9.769723329708831727e+00 5.260519511900447043e+01 | ||
9.851878700012083101e+00 5.261002778784583711e+01 | ||
9.851878700012083101e+00 5.261002778784583711e+01 | ||
9.885707381901656987e+00 5.260519511900447043e+01 | ||
9.885707381901656987e+00 5.260519511900447043e+01 | ||
9.987193427570376869e+00 5.260519511900447043e+01 | ||
9.987193427570376869e+00 5.260519511900447043e+01 | ||
1.006934879787362647e+01 5.258586444363900370e+01 | ||
1.006934879787362647e+01 5.258586444363900370e+01 | ||
1.015633683701824452e+01 5.260036245016310374e+01 | ||
1.015633683701824452e+01 5.260036245016310374e+01 | ||
1.027232088921106801e+01 5.259069711248037038e+01 | ||
1.027232088921106801e+01 5.259069711248037038e+01 | ||
1.033031291530748064e+01 5.258586444363900370e+01 | ||
1.033031291530748064e+01 5.258586444363900370e+01 | ||
1.040280294792799509e+01 5.257619910595626322e+01 | ||
1.040280294792799509e+01 5.257619910595626322e+01 | ||
1.057677902621722943e+01 5.247954572912891535e+01 | ||
1.057677902621722943e+01 5.247954572912891535e+01 | ||
1.070242841609278805e+01 5.247471306028754867e+01 | ||
1.070242841609278805e+01 5.247471306028754867e+01 | ||
1.079908179292014125e+01 5.245538238492207483e+01 | ||
1.079908179292014125e+01 5.245538238492207483e+01 | ||
1.092956385163706656e+01 5.241188836534976758e+01 | ||
1.092956385163706656e+01 5.241188836534976758e+01 | ||
1.096822520236800891e+01 5.238289235230156038e+01 | ||
1.096822520236800891e+01 5.238289235230156038e+01 | ||
1.106487857919536211e+01 5.236839434577746033e+01 | ||
1.106487857919536211e+01 5.236839434577746033e+01 | ||
1.115186661833998016e+01 5.236839434577746033e+01 | ||
1.115186661833998016e+01 5.236839434577746033e+01 | ||
1.120019330675365588e+01 5.236356167693608654e+01 | ||
1.120019330675365588e+01 5.236356167693608654e+01 | ||
1.129684668358100907e+01 5.234906367041198649e+01 | ||
1.129684668358100907e+01 5.234906367041198649e+01 | ||
1.144665941766340467e+01 5.234906367041198649e+01 | ||
1.144665941766340467e+01 5.234906367041198649e+01 | ||
1.146115742418750827e+01 5.232973299504651266e+01 | ||
1.146115742418750827e+01 5.232973299504651266e+01 | ||
1.156264346985622993e+01 5.231523498852241261e+01 | ||
1.156264346985622993e+01 5.231523498852241261e+01 | ||
1.158197414522170021e+01 5.229107164431557209e+01 | ||
1.158197414522170021e+01 5.229107164431557209e+01 | ||
1.165929684668358135e+01 5.225241029358463152e+01 | ||
1.165929684668358135e+01 5.225241029358463152e+01 | ||
1.171245620393862552e+01 5.224757762474326483e+01 | ||
1.171245620393862552e+01 5.224757762474326483e+01 | ||
1.175595022351093633e+01 5.222341428053643142e+01 | ||
1.175595022351093633e+01 5.222341428053643142e+01 | ||
1.184293826265555261e+01 5.223307961821916479e+01 | ||
1.184293826265555261e+01 5.223307961821916479e+01 | ||
1.187676694454512649e+01 5.221858161169505763e+01 | ||
1.187676694454512649e+01 5.221858161169505763e+01 | ||
1.196375498368974277e+01 5.222341428053643142e+01 | ||
1.196375498368974277e+01 5.222341428053643142e+01 | ||
1.206898634771052414e+01 5.221858161169505763e+01 | ||
1.206898634771052414e+01 5.221858161169505763e+01 | ||
1.215597438685514042e+01 5.216542225444001701e+01 | ||
1.215597438685514042e+01 5.216542225444001701e+01 | ||
1.224779509484112694e+01 5.214609157907454318e+01 | ||
1.224779509484112694e+01 5.214609157907454318e+01 | ||
1.236377914703394865e+01 5.212192823486770976e+01 | ||
1.236377914703394865e+01 5.212192823486770976e+01 | ||
1.246526519270267030e+01 5.208809955297813588e+01 | ||
1.246526519270267030e+01 5.208809955297813588e+01 | ||
1.253775522532318476e+01 5.208809955297813588e+01 | ||
1.253775522532318476e+01 5.208809955297813588e+01 | ||
1.266340461519874339e+01 5.203494019572308815e+01 | ||
1.266340461519874339e+01 5.203494019572308815e+01 | ||
1.277938866739156687e+01 5.198661350730941422e+01 | ||
1.277938866739156687e+01 5.198661350730941422e+01 | ||
1.290020538842575881e+01 5.195761749426120701e+01 | ||
1.290020538842575881e+01 5.195761749426120701e+01 | ||
1.302102210945994898e+01 5.195278482541984033e+01 | ||
1.302102210945994898e+01 5.195278482541984033e+01 | ||
1.314183883049414092e+01 5.190445813700616640e+01 | ||
1.314183883049414092e+01 5.190445813700616640e+01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from gprpy.interpSurface import * | ||
|
||
interpSurface('pick_combined.txt','surface_spline21',nxgrid=200, | ||
nygrid=200,method='spline',kx=2,ky=1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import gprpy.gprpy as gp | ||
mygpr = gp.gprpyProfile() | ||
|
||
for i in [1,2]: | ||
mygpr.importdata('profile%d.DZT' %(i)) | ||
mygpr.setZeroTime(7.5) | ||
mygpr.remMeanTrace(99999999) | ||
mygpr.flipProfile() | ||
mygpr.setVelocity(0.08) | ||
mygpr.topoCorrect('topo%d.csv' %(i)) | ||
mygpr.exportVTK('profile%d' %(i),gpsinfo=mygpr.threeD, | ||
thickness=0,delimiter=',', | ||
aspect=1,smooth=True, | ||
win_length=51, porder=3) | ||
|
Binary file not shown.
Binary file not shown.
Oops, something went wrong.