Hi every one,
Sac reads the max peak point during the waveform and save them in
Depmax or Depmin.
I want to read Depmax or Depmin in a specific place. For instance in S
group or around T0.
Markptp can read in a specific window but it reads peak to peak and I
want to read only peak in a window range.
I would be pleased if you help me.
Thank you,
Reza,
Sac reads the max peak point during the waveform and save them in
Depmax or Depmin.
I want to read Depmax or Depmin in a specific place. For instance in S
group or around T0.
Markptp can read in a specific window but it reads peak to peak and I
want to read only peak in a window range.
I would be pleased if you help me.
Thank you,
Reza,
-
Dear Reza -
If you use MacSAC, you can use the built-in function GETVAL. From the
documentation:
GETVAL 1,3 (GETVAL 157.32) Data values at 157.32 s in
each file in memory.
(GETVAL FILE N 157.32) Data value at 157.32 s in
file N
in memory; N integer > 0.
If you don't have MacSAC, you can use this, if 157.32 represents the
time that you want the peak amplitude for in the first file in memory:
cutim (157.32 - &1,delta&) (157.32 + &1,delta&)
message "&1,depmax is the peak value"
On 26 Sep 2009, at 07:40, reza rezaei wrote:
Hi every one,
George Helffrich
Sac reads the max peak point during the waveform and save them in
Depmax or Depmin.
I want to read Depmax or Depmin in a specific place. For instance in S
group or around T0.
Markptp can read in a specific window but it reads peak to peak and I
want to read only peak in a window range.
I would be pleased if you help me.
Thank you,
Reza,
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
george<at>geology.bristol.ac.uk