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

Fix subsampling issues within StateArrayDataset #12

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

vinsfan368
Copy link
Contributor

Addresses issue #11 by bundling naive occs, posterior occs, and processed stats calculations. These are parallelized by file using StateArrayDataset.parallel_map(). A pitfall to this approach is getting just the processed track statistics is now much slower for the user.

Functionality changes:
clear() now deletes processed_track_statistics, since these must be calculated with occupancies. Added a test to catch this.
calc_naive_occs() removed, as it's no longer needed.
calc_marginal_naive_occs() removed, as it's no longer needed.
calc_posterior_occs() bundled into calc_marginal_posterior_occs(), no longer needed.
naive occs were calculated incorrectly and was fixed now. The test for this was also incorrect and fixed now.

Minor changes:
_get_processed_track_statistics() removed

Let me know what you think @alecheckert!

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

Successfully merging this pull request may close these issues.

None yet

1 participant