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

Request for CPU multi core processing support #33

Open
eitan-davis opened this issue Nov 3, 2022 · 1 comment
Open

Request for CPU multi core processing support #33

eitan-davis opened this issue Nov 3, 2022 · 1 comment

Comments

@eitan-davis
Copy link

First, like your work, and I would like to make it better.

I would be nice to have support for multi-core processing. I know that numpy runs fast on the cpu but cannot use more then one core.
Also not all computers can use well the gpu and installing and using cupy is not straight foreword and easy as numpy.

On the side, there are module that able to use multi core for mathematical operation like numba. In addition, its installation is simple and it is easy to use.

I would like to help with that and it seems that the change for the code would not be so big.
Thanks

@LtqxWYEG
Copy link

I have a solution in my fork for automatic creation of animations:
https://github.com/LtqxWYEG/diffractsim/blob/main/examples/create_animation.py
For which you need this one as well:
https://github.com/LtqxWYEG/diffractsim/blob/main/examples/phase_hologram_reconstruction_slave.py

Currently only does phase-contrast hologram animations.

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

2 participants