diff --git a/.gitignore b/.gitignore index 44a5f10..cc77adc 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ docs/build/ docs/site/ *.mdf +*.png \ No newline at end of file diff --git a/examples/reco1D.jl b/examples/reco1D.jl index 7beaccf..d3adf93 100644 --- a/examples/reco1D.jl +++ b/examples/reco1D.jl @@ -5,14 +5,14 @@ include("visualization.jl") filenameCalib = joinpath(OpenMPIData.basedir(),"data","calibrations","1.mdf") #filenameCalib = joinpath(OpenMPIData.basedir(),"data","calibrations","4.mdf") -for (i,phantom) in enumerate(["shapePhantom", "resolutionPhantom", "concentrationPhantom"]) +for (i,phantom) in enumerate(["shapePhantom"])#, "resolutionPhantom", "concentrationPhantom"]) filenameMeas = joinpath(OpenMPIData.basedir(),"data","measurements",phantom,"1.mdf") # reconstruct data c = reconstruction(filenameCalib, filenameMeas, iterations=10, lambd=0.001, minFreq=80e3, SNRThresh=1.25, recChannels=1:3, - bgCorrectionInternal=true, spectralLeakageCorrection=false)[:,:,10:28,10:28,:] + bgCorrectionInternal=true, spectralLeakageCorrection=false, tfCorrectionInternal=true)[:,:,10:28,10:28,:] mkpath( joinpath(OpenMPIData.basedir(),"data/reconstructions/$(phantom)")) s = size(c)[2:4] diff --git a/examples/reco2D.jl b/examples/reco2D.jl index 35f9f7a..8f96929 100644 --- a/examples/reco2D.jl +++ b/examples/reco2D.jl @@ -12,7 +12,7 @@ for (i,phantom) in enumerate(["shapePhantom", "resolutionPhantom", "concentratio # reconstruct data c = reconstruction(filenameCalib, filenameMeas, iterations=10, lambd=0.01, minFreq=80e3, SNRThresh=1.5, recChannels=1:3, - bgCorrectionInternal=true, spectralLeakageCorrection=false)[:,:,:,10:28,:] + bgCorrectionInternal=true, spectralLeakageCorrection=false, tfCorrectionInternal = false)[:,:,:,10:28,:] mkpath( joinpath(OpenMPIData.basedir(),"data/reconstructions/$(phantom)")) s = size(c)[2:4] diff --git a/examples/reco3D.jl b/examples/reco3D.jl index 66b986d..c3c0311 100644 --- a/examples/reco3D.jl +++ b/examples/reco3D.jl @@ -11,7 +11,7 @@ for (i,phantom) in enumerate(["shapePhantom", "resolutionPhantom", "concentratio # reconstruct data c = reconstruction(filenameCalib, filenameMeas, iterations=3, lambd=0.001, bgCorrectionInternal=false, - minFreq=80e3, SNRThresh=2.0, recChannels=1:3, frames=1:1000, numAverages=1000) + minFreq=80e3, SNRThresh=2.0, recChannels=1:3, frames=1:1000, numAverages=1000, tfCorrectionInternal = false) mkpath( joinpath(OpenMPIData.basedir(),"data/reconstructions/$(phantom)")) s = size(c)[2:4]