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

Thomas Lecocq Thomas.Lecocq at seismology.be
Thu Jun 4 07:24:23 CEST 2020


Hi,

You can access to the internals; either look at the PPSD.plot() method 
in the obspy code , or check how we did here:

https://render.githubusercontent.com/view/ipynb?commit=eb6ff96107d97fb71d07d4568d33f63d71f753ae&enc_url=68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f54686f6d61734c65636f63712f536569736d6f524d532f656236666639363130376439376662373164303764343536386433336636336437316637353361652f536569736d6f536f6369616c44697374616e63696e672e6970796e62&nwo=ThomasLecocq%2FSeismoRMS&path=SeismoSocialDistancing.ipynb&repository_id=249384956&repository_type=Repository#Step-7:-Process-PSDs-to-extract-the-RMS(displacement)

Best regards,

Thomas

Le 03/06/2020 à 18:41, Beatriz Gaite Castrillo a écrit :
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.swapbytes.de/pipermail/obspy-users/attachments/20200604/a180248c/attachment-0001.html>


More information about the obspy-users mailing list