[obspy-users] Is window length and overlapping is available is PPSD function?

Beatriz Gaite Castrillo gaite.beatriz at gmail.com
Thu Jun 4 09:54:04 CEST 2020


Thank you Tobias.

I feel a bit embarrassed, I skip this command (ppsd.times_processed) when
reading the information.

Regards.
Beatriz

On Thu, Jun 4, 2020 at 9:32 AM Tobias Megies <
megies at geophysik.uni-muenchen.de> wrote:

> Hi Beatriz,
>
> as mentioned in the documentation for PPSD.extract_psd_values() you can
> access ppsd.times_processed to look up the start times of each PSD
> segment. The ordering is the same. The full PSD segments can be accessed
> via PPSD.psd_values as well, if you are not looking for one specific
> frequency.
>
>
> http://docs.obspy.org/master/packages/autogen/obspy.signal.spectral_estimation.PPSD.extract_psd_values.html?highlight=time
>
> best,
> Tobias
>
> On 03/06/2020 18:41, Beatriz Gaite Castrillo wrote:
> > Dear all,
> >
> > I am wondering how to extract the time of each PSD using PPSD.
> > I get PSD value for each segment and the period limits and center period
> > using extract_psd_values(self,period):
> >
> > However, how can I get the corresponding time of each PSD segment. If I
> > use all the record it is quite easy to guess the corresponding time, but
> > in case I am not filling the gaps, and therefore, the number of segments
> > is not the default one, I do not know the time that corresponds to each
> > PSD segment.
> >
> > Any idea is welcome.
> > Thanks in advance.
> >
> > On Sun, May 17, 2020 at 12:06 PM Thomas Lecocq
> > <Thomas.Lecocq at seismology.be <mailto:Thomas.Lecocq at seismology.be>>
> wrote:
> >
> >     yes:
> >
> >
> https://docs.obspy.org/packages/autogen/obspy.signal.spectral_estimation.PPSD.__init__.html#obspy.signal.spectral_estimation.PPSD.__init__
> >
> >     Le 12/05/2020 à 18:00, Vivek.G.Babu a écrit :
> >>     Is it possible to include window length and overlapping in PPSD
> >>     function?
> >>     --
> >>     *Vivek G Babu*
> >>     *Mob : +919446270718*
> >>     *ORCID : 0000-0001-7068-0302*
> >>
> >>     Mailtrack
> >>     <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
> >
> >>      Sender notified by
> >>     Mailtrack
> >>     <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
> >
> >>     12/05/20, 09:27:49 pm
> >>
> >>
> >>     _______________________________________________
> >>     obspy-users mailing list
> >>     obspy-users at lists.swapbytes.de <mailto:
> obspy-users at lists.swapbytes.de>
> >>     https://lists.swapbytes.de/mailman/listinfo/obspy-users
> >     _______________________________________________
> >     obspy-users mailing list
> >     obspy-users at lists.swapbytes.de <mailto:
> obspy-users at lists.swapbytes.de>
> >     https://lists.swapbytes.de/mailman/listinfo/obspy-users
> >
> >
> > _______________________________________________
> > obspy-users mailing list
> > obspy-users at lists.swapbytes.de
> > https://lists.swapbytes.de/mailman/listinfo/obspy-users
> >
>
> _______________________________________________
> obspy-users mailing list
> obspy-users at lists.swapbytes.de
> https://lists.swapbytes.de/mailman/listinfo/obspy-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.swapbytes.de/pipermail/obspy-users/attachments/20200604/9984e907/attachment-0001.html>


More information about the obspy-users mailing list