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

Load data from numpy arrays #8

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

adamrobcarter
Copy link
Contributor

Not yet optimised for speed, but this allows running the new counting on data straight from a numpy array. I've compared outputs from this and the old repos, and they're pretty similar. Not exactly the same, because the boxes aren't quite in the same place, but once I implement full control over box positions on the new repo, we should be able to make that comparison.

image

Not yet optimised for speed, but this allows running the new counting on data straight from a numpy array
@adamrobcarter
Copy link
Contributor Author

It's not super elegent, a better way would be to have a base class System or Trajectories that is subclassed into ChemfilesSystem/ChemfilesTrajectories and NumpySystem/NumpyTrajectories, but this would require the trajectories classes to not be an ancestor of Countoscope (which would be fine by me)

This was linked to issues Sep 11, 2024
@adamrobcarter
Copy link
Contributor Author

(please don't merge currently)

@simongravelle
Copy link
Member

(please don't merge currently)

You can select that this PR is a draft if you prefer :)

@adamrobcarter adamrobcarter marked this pull request as draft October 29, 2024 16:37
@adamrobcarter
Copy link
Contributor Author

ah good to know you can do that, thanks!

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.

Handling of 3D data Allow for inputting Numpy array directly
2 participants