Search found 10 matches

by valerio
Mon Oct 21, 2013 8:41 am
Forum: Geopsy usage
Topic: Why linear array are not appropriate for ambient vibrations
Replies: 1
Views: 3405

Re: Why linear array are not appropriate for ambient vibrati

Ciao Marc, I do actually agree with you on all points. Linear arrays can only be used under strong assumptions that are hardly verified in reality. The best approach would certainly be using a 2D configuration of standalone stations, to avoid bias on apparent velocity estimation. On the other side, ...
by valerio
Mon Oct 26, 2009 8:40 am
Forum: Developer's corner
Topic: Mex interface
Replies: 0
Views: 12433

Mex interface

Hi all,
what about including in the distribution a Matlab MEX interface to qtbwave functions, like the one in attachment (only very simple prototype)?
I think this will be quite useful, since a lot of people uses Matlab for testing purposes.

Ciao ciao
by valerio
Mon Oct 26, 2009 8:20 am
Forum: Developer's corner
Topic: gcc compatibility
Replies: 1
Views: 3937

I propose the following modification for qtbwave.cpp and qtbwave.h, to include ellipticity calculation (and peak may be, see attachment). Regarding the calculation of ellipticity peaks, I notice that with some complex models and setting the precision (dispersion.setPrecision( 1e-15 );) the program c...
by valerio
Sun Oct 25, 2009 11:03 am
Forum: Developer's corner
Topic: qtbwave.cpp bad value check
Replies: 0
Views: 9906

qtbwave.cpp bad value check

Hi Marc, I propose the following (or a similar) modification to the code in qtbwave.cpp, in order to avoid bad values in output. Ciao! MODIFIED CODE: ----------------------- for(int iMode = 0;iMode<*nModes;iMode++) { const QtbValue * mode = dispersion.mode( iMode ); for (int iSample = 0; iSample<*nS...
by valerio
Sun Oct 25, 2009 10:20 am
Forum: Developer's corner
Topic: gcc compatibility
Replies: 1
Views: 3937

gcc compatibility

Hi Marc, just an idea: the header qtbwave.h can be modified the following way, to get compatibility with gcc using pure C calls. Additionally: do you also have a C wrapper for ellipticity calculation? I'm asking only because I don't want to reinvent the wheel ( :D ), otherwise I'll try to add it my ...
by valerio
Sat Oct 17, 2009 4:14 pm
Forum: Developer's corner
Topic: Turn off warning
Replies: 4
Views: 6055

Thanks for the reply. Yes, I know this code could appear a little awful... :-) but this was the last of a long series of tests were I changed a lot of stuff, and the interface has been generally defined for testing purposes only (so, it is not optimized at all). Of course the Mex final interface wou...
by valerio
Sun Aug 16, 2009 8:46 pm
Forum: Developer's corner
Topic: Turn off warning
Replies: 4
Views: 6055

Turn off warning

Hi all, I'm trying to use the qtvwave library to build a simple mex C function to calculate Rayleigh wave ellipticity. As Marc suggested in another post, I started playing with the gpell code and after some copy, paste and modify, now the code is somehow running. However I get a segmentation fault i...
by valerio
Mon Jan 14, 2008 3:11 pm
Forum: Miscellaneous
Topic: Gpell and gpdc
Replies: 4
Views: 7942

You are right! It seems that MATLAB is overwriting the LD_LIBRARY_PATH variable with its own settings. The output is indeed: >> system('ldd /home/grendel/programs/sesarray-bin-2.0.0-snapshot-20080103/bin/gpell'); linux-gate.so.1 => (0xffffe000) libqtbtools.so.1 => /home/grendel/programs/sesarray-bin...
by valerio
Mon Jan 14, 2008 2:12 pm
Forum: Miscellaneous
Topic: Gpell and gpdc
Replies: 4
Views: 7942

Gpell and gpdc (part B)

This is the configuration I use: --------------------------------------------------------------------------------------------- SHELL OUTPUT ~$ qmake -v QMake version 2.01a Using Qt version 4.3.2 in /usr/lib ~$ echo $PATH /home/grendel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:...
by valerio
Mon Jan 14, 2008 2:08 pm
Forum: Miscellaneous
Topic: Gpell and gpdc
Replies: 4
Views: 7942

Gpell and gpdc

I'm trying to run gpell and gpdc under Matlab (as system call), but I encountered some problem. If I run this command: >> system('gpell --help'); or identically: >> !gpell --help I obtained always this error: gpell: symbol lookup error: /home/grendel/programs/sesarray-bin-2.0.0-snapshot-20080103/lib...

Go to advanced search