Skip to content
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

BODF gives NANs and values outside of [-1,1]. #802

Open
1 task done
zurKreuzigungLinks opened this issue Dec 12, 2023 · 3 comments
Open
1 task done

BODF gives NANs and values outside of [-1,1]. #802

zurKreuzigungLinks opened this issue Dec 12, 2023 · 3 comments
Labels

Comments

@zurKreuzigungLinks
Copy link

Checklist

  • I am using the current master branch or the latest release. Please indicate:

Describe the Bug

BODF gives NANs and values outside of [-1,1].

snetwork = network.sub_networks["obj"][snet_index]
snetwork.calculate_BODF()
BODF_values = snetwork.BODF[snetwork.BODF.nonzero()]
BODF_values.sort()
print(BODF_values)

output:
`[-32. -16. -16. ... nan nan nan]``

@fneum
Copy link
Member

fneum commented Dec 12, 2023

Do you have a MWE we could use to reproduce this behaviour?

@zurKreuzigungLinks
Copy link
Author

how would I do so? The network file is quite large. (300Mb)

@fneum
Copy link
Member

fneum commented Dec 12, 2023

You could reduce the network to the smallest subset of nodes that still gives you the NaN values and a single snapshot since the BODF is not time-dependent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants