eqcorrscan / EQcorrscan

Earthquake detection and analysis in Python.
https://eqcorrscan.readthedocs.io/en/latest/
Other
166 stars 86 forks source link

there isn't any sign in cccsum_plots in match_filter #339

Closed ikahbasi closed 5 years ago

ikahbasi commented 5 years ago

Describe the bug

I have a self detection in the output of match-filter function but there isn't any sign of this in cccsum-plot. Template name; Detection time (UTC); Number of channels; Channel list; Detection value; Threshold; Threshold type; Input threshold; Detection type 20140916t22_53_11400000z0; 2014-09-16T22:53:17.740000Z; 2; [('DLRN', 'SN'), ('DLRN', 'SZ')]; 1.999999761581421; 1.4784619808197021; MAD; 10; corr

cccsum_plot_20140916t22_53_11400000z0_2014-09-16T00_00_00 000000Z

Desktop (please complete the following information):

Additional context

Here is my data, template and result of this test. https://www.dropbox.com/s/ukztv8pe2xlfybr/for%20dr-Chamberlain.tar.gz?dl=0

ikahbasi commented 5 years ago

I think the problem is at line-2214 in plotting.py: cccsum_plot = cccsum_plot[0: len(stream_plot.data)]

The stream_plot is previously decimated and the cccsum_plot cuts the data with the length of the decimated stream_plot and the last half of it was ignored. In other worlds half of cccsum is not displayed in the cccsum_plots.

calum-chamberlain commented 5 years ago

Hi Iman, thanks for this. I'm in the field at the moment and will have a look when I get back. Feel free to have a play and see whether you can fix this bug.

CJ Chamberlain, out of office


From: iman kahbasi notifications@github.com Sent: Tuesday, October 22, 2019 10:38:36 PM To: eqcorrscan/EQcorrscan EQcorrscan@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [eqcorrscan/EQcorrscan] there isn't any sign in cccsum_plots in match_filter (#339)

I think it occurs at line-2214 in plotting.py: cccsum_plot = cccsum_plot[0: len(stream_plot.data)]

the stream_plot decimated but the cccsum_plot just cut and about the last half of it ignored. In other worlds half of cccsum not displayed in all cccsum_plots.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feqcorrscan%2FEQcorrscan%2Fissues%2F339%3Femail_source%3Dnotifications%26email_token%3DACTIM47WHZCWOFZXTEOVXDTQP3CZZA5CNFSM4JB2XJHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB5D5FY%23issuecomment-544882327&data=02%7C01%7Ccalum.chamberlain%40vuw.ac.nz%7C5fc3747d26044233a20708d756d39e58%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637073339284331151&sdata=0pXX4NTkeAsGlkwPgvZF6V6iYA%2FxiUU2uSt1g7%2Ff1Uc%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACTIM42FGUXNQTRW7AWD7Q3QP3CZZANCNFSM4JB2XJHA&data=02%7C01%7Ccalum.chamberlain%40vuw.ac.nz%7C5fc3747d26044233a20708d756d39e58%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637073339284331151&sdata=4AMcNsHAKd4a%2B394xCm6BHvxEHuO9a141jP6gucl%2Fr0%3D&reserved=0.

calum-chamberlain commented 5 years ago

Closed by #340