I need to rotate a signal based on the dip and azimuth.
example pseudo-code:
if stream_orientation == 'Z' and dip == 90: (following SEED protocol) #reverse signal
stream.data=-1*stream.data #(is there a function for that, instead of multiply with -1)
if stream_orientation == 'N' and azm != 0:
stream.rotate() # need to rotate data to North position
if stream_orientation == 'E' and azm != 90:
stream.rotate() # need to rotate data to East position
Are there any obspy functions for reversing and rotating?
I am trying to install obspy within the anaconda environment, which comes with many packages I need. When I run easy_install obspy I get an error, it does not find the c nor fortran compilers. I do have the path to both in /usr/local/bin. Is there a way to force easy_install or pip to look at the path /usr/local/bin to find the compilers ?
my guess its just an system path issue - however why don't you ask in
the anaconda mailing list as it seems to be installation related - or
even better pledge the guys at continuum.io to include ObsPy directly
into Anaconda
Cheers,
Robert
Hello Everybody;
I am trying to install obspy within the anaconda environment, which
comes with many packages I need. When I run easy_install obspy I
get an error, it does not find the c nor fortran compilers. I do
have the path to both in /usr/local/bin. Is there a way to force
easy_install or pip to look at the path /usr/local/bin to find the
compilers ?