-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
41 additions
and
10 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
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
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,31 @@ | ||
using HiQGA, PyPlot | ||
linewanted = 2030001 | ||
dr = 100 | ||
xl, yl = [], [-250, 190] | ||
vmin, vmax = -2.5, 0.5 | ||
linesmoothδ² = 1e-3 | ||
donn = false | ||
delbin = 600 | ||
## Get LEI | ||
line, X, Y, Z, thick, σ = transD_GP.readcols([5,7,8,11,[56,85],[26,55]], | ||
"/Users/anray/Documents/work/projects/largeaem/GA_LEI/vtk_WRC_AusAEM_parallel/South/AusAEM_Western_Resources_Corridor_GA_vsum_inversion_South.dat", | ||
startfrom=1, decfactor=5) | ||
idx = line .== linewanted | ||
Xd, Yd, Zd, thick, σd = map(x->x[idx,:],(X, Y, Z, thick, σ)) | ||
zalld = transD_GP.zboundarytocenter_inexact(cumsum(thick[1,:]), fudgelast=true) | ||
## Get probabilistic | ||
Xp, Yp, Zp, zallp, ρlow, ρmid, ρhigh, = transD_GP.readxyzrhoϕ(linewanted, 52, | ||
pathname="/Users/anray/Documents/work/projects/largeaem/final_01/summaries_all/AusAEM_03_WRC/2022_WRC_South/summary/") | ||
## put them together | ||
X = [Xd, Matrix(Matrix(Xp')'), Matrix(Matrix(Xp')'), Matrix(Matrix(Xp')')] | ||
Y = [Yd, Matrix(Matrix(Yp')'), Matrix(Matrix(Yp')'), Matrix(Matrix(Yp')')] | ||
Z = [Zd, Matrix(Matrix(Zp')'), Matrix(Matrix(Zp')'), Matrix(Matrix(Zp')') ] | ||
zall = [zalld, zallp, zallp, zallp] | ||
σ = ([Matrix(log10.(σd')), -ρhigh, -ρmid, -ρlow]) | ||
## plot | ||
XYprofiles = nothing#[Xp[520];Yp[520]] | ||
titles = ["Deterministic conductivity", "10th Percentile conductivity", "50th Percentile conductivity", "90th Percentile conductivity"] | ||
xrd, yrd, axd, zatXY, satXY = transD_GP.plotmanygrids(deepcopy(σ), deepcopy(X), deepcopy(Y), deepcopy(Z), deepcopy(zall); | ||
dr, vmin, vmax, donn, xl, yl, δ²=linesmoothδ², figsize=(20,10), titles, XYprofiles, | ||
preferEright=true, plotbinning=false, fontsize=10, delbin, hspace=0.22, spacefactor=0.1) | ||
savefig("Line_$linewanted.png", dpi=500) |