tobiscode / disstans

Package repository for the Decomposition and Inference of Sources through Spatiotemporal Analysis of Network Signals (DISSTANS) toolbox.
https://tobiscode.github.io/disstans/
GNU General Public License v3.0
22 stars 7 forks source link

is there a function to plot segments of the raw time series? #9

Open GEOSCIENCELXG opened 14 hours ago

GEOSCIENCELXG commented 14 hours ago

Hi Tobias,

is there a function in the DISSTANS I can use to plot the specific segment of raw time series?

Bests

tobiscode commented 12 hours ago

Hi, do you mean a certain time period? All plotting is done using Network.gui(), and you can interactively zoom into and out of time periods. I've meant to integrate a parameter where on can pre-select a timeframe when calling the function in the first place but I haven't gotten around to it yet. I hope that answers your question. Cheers

GEOSCIENCELXG commented 10 hours ago

I got it. that is why I can not get a certain period plot with code:

net.gui(save=True, station=statname, analyze_kw_args={"t_start": "2011-06-01", "t_end": "2012-08-01"}, save_kw_args={"format": fmt, "dpi": 300})

tobiscode commented 4 hours ago

Ah, that's a good point. Yeah, those keyword arguments should still be passed on to the analysis function, but the plotting won't be affected. I'll put this on my to-do list, hopefully I'll get to this in the coming weeks. I hope in the meantime, the interactive zoom is sufficient (you can still save the figures from the interactive figure if you need to).

Cheers