Re: [Scilab-users] Counter of pointers to an XML object, and clear destructor

2018-07-28 Thread Rafael Guerra
Regarding the save() function, the output *.sod file fails to be consumed by load() for some graphical handles. Example of error message in Scilab 6.0.1: load: Unable to load 'h'. --> typeof(h) ans = handle --> h h = Handle of type "uicontrol" with properties: =

Re: [Scilab-users] FFT - upward continuation of a 2D grid

2018-07-28 Thread arctica1963
Hi Rafael, Problem solved with your guidance! The cellsize was in decimal degrees, so converted to linear units 0.01 degrees = 1850m approx. //dxy = 0.01666; decimal degrees - 1 arc minute dxy = 1850; dkx=1/(nx*dxy); dky=1/(ny*dxy); ... fft_clean=clean(fft2(Boug_corr)); k=fftshift(k);

[Scilab-users] Counter of pointers to an XML object, and clear destructor

2018-07-28 Thread Samuel Gougeon
Hello, I am doing some tests about the save() function, in order to document its behavior when saving pointers to some objects. There is the case of XML objects: Contrarily to graphic handles, that are pointers whose reloading restores the pointed graphics, saving XML pointers is possible, bu

Re: [Scilab-users] FFT - upward continuation of a 2D grid

2018-07-28 Thread Rafael Guerra
One additional remark. Fftshift might have been misused. Try instead: fft_clean=clean(fft2(Boug_corr)); // merge commands k= fftshift(k); Fup=fft_clean.*exp(-k*uc); Regards, Rafael -Original Message- From: users On Behalf Of Rafael Guerra Sent: Saturday, July 28, 2018 2:44 PM T

Re: [Scilab-users] FFT - upward continuation of a 2D grid

2018-07-28 Thread Rafael Guerra
Hi Lester, The spatial resolution of 0.016 m seems unrealistically too-finely sampled... Could you confirm the units? Also, it is possible that your upward continuation requires an angular wavenumber: exp(-2*%pi*k*uc) ? Regards, Rafael -Original Message- From: users On Behalf Of arc

Re: [Scilab-users] FFT - upward continuation of a 2D grid

2018-07-28 Thread arctica1963
Hi Rafael, Thanks for the pointers. Still having some issues getting it to work on real data. Upward continuation, should act like a low-pass and give a smoother view of the data. dimx=size(xt); dimy=size(yt); nx=dimx(1); ny=dimy(1); dxy = 0.01666; dkx=1/(nx*dxy); dky=1/(ny*dxy); kx=dkx*(-

[Scilab-users] Anticipating Scilab 6.1

2018-07-28 Thread Samuel Gougeon
Hello Clément, hello Antoine, I have two similar requests about anticipating the first Scilab 6.1 release (likely in feb. 2019?): Would it be possible * on the ATOMS website, administration page of modules, binaries management section: to add a "6.1" flag in order to become able to uplo

Re: [Scilab-users] FFT - upward continuation of a 2D grid

2018-07-28 Thread Rafael Guerra
You are welcome ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users