-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calculate and return diagonal calculations for nth diagonal measures #126
Comments
yeah for cross recurrence plots especially it makes more sense to separate up and down diagonals than not. For up to the |
I guess you could with |
I think this needs to be a different function alltogether. It isn't the recurrence rate, but you don't want the histograms given by |
Were you referring to I have not tried your I would also assume this same concept would apply to getting the average or max diagonal length on a kth diagonal. But I have not actually thought through any implementation of this to be honest. I figured one step at a time though. |
yeah best to just make this a function. It can return a dictionary mapping indices away from diagonal (with positive above, negative below) to vector of diagonal line lengths contained in the given scanned diagonal. Is this okay? Similarly with all other functions, an |
that seems sufficient. I think it would just have to be clear what is above or below. Since mathematically I am guessing a separate function would also be necessary for the mean or max length on the kth diagonal as well? Or since you would need the same histogram for either of those parameters? |
just return vector of lengths for each scanned diagonal. Then mean or max can be computed as derivatives without the need of functions provided by this package. same with histograms |
wouldn't the lengths still need to be returned using |
I think we are on different pages and have lost each other now. Or at least, I have for sure lost you... Can you please explain as precisely as possible, exactly what you would like to have, given a recurrence matrix |
I thought that may be the case. I want to know the recurrence rate and eventually the average/max diagonal length at each diagonal of the recurrence matrix In other words I want to apply Let me know if that doesn't clear anything up. Sorry for the confusion. --
|
Yeah, and I am saying, let's not do that. Instead let's simply collect all diagonal lengths in a given diagonal and return them as a vector, for each diagonal of the matrixs. This way, you can trivially get the average or max by doing The existing functions we have are not appropriate to do this because they directly go to mean and/or frequency estimation while we want the entire thing so you can do stuff per diagonal instead. |
Oh okay, yeah I mean if it returns a vector of vectors of info on each diagonal that's fine, I guess I just don't know why you also wouldn't give the user the option and just go ahead and return the vector of |
because it costs nothing to write this extra 1 line of code if you need it, while it costs plenty to support one more API function. |
That's a very valid point, I didn't think about that.... |
Would like to return results on certain nth diagonals of a recurrence matrix.
tau_recurrence
only calculates the average recurrence rate on the nth diagonal (averages the RR on the nth diagonal above and nth diagonal below), but I would like it to return these measures separately and maybe only up to the nth diagonal.Other metrics at particular tau values like average diagonal length could also maybe be implemented.
The text was updated successfully, but these errors were encountered: