Thread: reading largest peak or trough

Started: 2009-09-11 20:23:21
Last activity: 2009-09-12 23:19:39
Topics: SAC Help
reza
2009-09-11 20:23:21
Hi,


My problem is this:
markptp command reads absolute value of maximum pick to pick.
Now I want to read only the largest peak or trough during the
waveform.I want to do it for ML magnitude.

Best regards,

Reza

  • Onur Tan
    2009-09-12 23:19:39
    Dear Reza,

    I attached my macro for ML.
    the commets are in Turkish. But you can understand the computations.

    amplitudes are in nanometers. and WA magnification is 2800
    it search the three component for max. amplitude of WA seismogram between the lines 80 and 111 and write it to a file

    best regards
    onur

    Dr. Onur TAN |--------------------------------------- 40.7866N 29.4500E --
    ------------- |
    | TÜBİTAK Marmara Araştırma Merkezi | TUBITAK Marmara Research Center |
    | Yer ve Deniz Bilimleri Enstitüsü | Earth and Marine Sciences Institute |
    | Gebze - Kocaeli | Gebze - Kocaeli - TURKEY |
    --------------------------------------------------------------------------

    -----Original Message-----
    From: sac-help-bounces<at>iris.washington.edu
    [sac-help-bounces<at>iris.washington.edu] On Behalf Of reza rezaei
    Sent: Friday, September 11, 2009 11:53 AM
    To: sac-help<at>iris.washington.edu
    Subject: [SAC-HELP] reading largest peak or trough

    Hi,


    My problem is this:
    markptp command reads absolute value of maximum pick to pick.
    Now I want to read only the largest peak or trough during the
    waveform.I want to do it for ML magnitude.

    Best regards,

    Reza
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help

    Attachments
23:36:41 v.22510d55