We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add the magnitude function for a given input distance matrix $D$. This is related to Sara Kalisnik's work, one example of which is here: https://www.sciencedirect.com/science/article/pii/S0022404923000798
A starting point for the code is below.
def MagnitudeFunction(D,t_range = [.1,10], t_n = 100): T = np.linspace(t_range[0],t_range[1],t_n) M = [] for t in T: tZ = np.exp(-t*D) tZinv = inv(tZ) m = np.sum(tZinv) M.append(m) return T,M T,M = MagnitudeFunction(D, t_range = [.1,100]) plt.plot(T,M)
The text was updated successfully, but these errors were encountered:
lizliz
Successfully merging a pull request may close this issue.
Add the magnitude function for a given input distance matrix$D$ . This is related to Sara Kalisnik's work, one example of which is here: https://www.sciencedirect.com/science/article/pii/S0022404923000798
A starting point for the code is below.
The text was updated successfully, but these errors were encountered: