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

Issue with the MaP location output #29

Open
an12345an opened this issue Jan 6, 2025 · 0 comments
Open

Issue with the MaP location output #29

an12345an opened this issue Jan 6, 2025 · 0 comments

Comments

@an12345an
Copy link

an12345an commented Jan 6, 2025

Following an update to the current master, the following lines in bisl.py needed to be changed from having 'spatial_pdf.flatten' to having 'pdf.flatten' otherwise the MaP location outputted was incorrect.

380c380
< MaP_index = np.argmax(spatial_pdf.flatten())

    MaP_index = np.argmax(pdf.flatten())

392c392
< 'MaP_val' : spatial_pdf.flatten()[MaP_index],

                'MaP_val' : pdf.flatten()[MaP_index],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant