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

Traces as numpy structured arrays #157

Open
lbluque opened this issue Feb 28, 2022 · 0 comments
Open

Traces as numpy structured arrays #157

lbluque opened this issue Feb 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lbluque
Copy link
Collaborator

lbluque commented Feb 28, 2022

Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.

In #154 Trace classes where introduced to generalize sampling values during MC. These classes only allow np.arrays as attributes. It seems this is a good opportunity to use numpy structured arrays instead, since they essentially provide all the functionality needed and will also benefit from the better memory layout,

Describe the solution you'd like
Please describe the desired behavior.

Use numpy structured arrays instead of Trace/StepTrace classes

@lbluque lbluque added the enhancement New feature or request label Feb 28, 2022
@lbluque lbluque self-assigned this Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant