Replies: 7 comments 7 replies
-
Hello @regeirk! Thanks for taking up the tasks of modernizing and maintaining this library. I have some time I can dedicate to helping, although not a lot. I'm splitting my responses up for each point. |
Beta Was this translation helpful? Give feedback.
-
(1) Yes I fully agree and support this! I built some helper functions to handle the set-up and processing of the pycwt output since I had to do these operations every time. In regards to sig. testing:
(2) I think handling step 1 easily addresses step 2, no? |
Beta Was this translation helpful? Give feedback.
-
(3) I think this makes a lot of sense and would love to help here. I would caution to make sure that we don't shoehorn a data model onto users that isn't deeply flexible. Maybe as a point of reference we can look at other python libraries with complex fitting operations like arviz and pymc. They use xarray objects under the hood which are able to flexibly handle multidimensional data. Using a data model that can robustly handle multidimensinal data makes a lot of sense to me since wavelets expand data to include at least one new dimension (frequency) and potentially several more (scale averaged quantities). I have examples of how xarray could be integrated into a pycwt data model if you are interested in pursuing this (note: not a public repository). |
Beta Was this translation helpful? Give feedback.
-
(4) Again I absolutely agree. I have some plotting tools already and you are welcome to use any components from them that you think would be useful. I think point 1 would go nicely improving the capabilities of pycwt and make the plotting simpler to call and adapt. |
Beta Was this translation helpful? Give feedback.
-
(5) Could you elaborate what your intention is here? |
Beta Was this translation helpful? Give feedback.
-
We should also consider converting from a travis CI to using github actions and enforcing a code style. I vote for using the black code style. |
Beta Was this translation helpful? Give feedback.
-
After more than a year, I have finally managed to resume the refactoring of this package. I want to make things more user friendly and use more default parameters. I thought that we should be able to run a basic and simple wavelet analysis using something like this: import pycwt
tseries = pycwt.load_dataset("sst_nino3") # Load sample time-series.
wavelet = pycwt.Morlet(w0=6) # Instantiate mother wavelet.
result = wavelet.run(tseries) # Run wavelet analysis.
result.plot() Here, it is expected that the Parameters -- The default scale and significance parameters for this analysis are:
|
Beta Was this translation helpful? Give feedback.
-
Purpose
I'm thinking about refactoring this module and I invite everyone who is interested in sharing their thoughts.
General goals
pandas.DataFrame()
;Beta Was this translation helpful? Give feedback.
All reactions