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

Feature simple jagged #255

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Feature simple jagged #255

merged 3 commits into from
Dec 4, 2024

Conversation

mjkramer
Copy link
Member

@mjkramer mjkramer commented Dec 4, 2024

Converts the bloated pixels_tracks_signals 3D array into a (2+1)D ad-hoc jagged array. It's ugly but it makes a ~50% difference in worst-case memory consumption. It would be nice to have a higher-level abstraction that hides the indexing arithmetic.

Currently num_backtrack should be less than current_fractions.shape[2]
by construction (in simulate_pixels.py) but let's not assume that this
will always be the case.
@mjkramer mjkramer merged commit feef02b into develop Dec 4, 2024
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.

1 participant