Skip to content

generating palabos input file using to_palabos #776

Answered by jgostick
nipinl asked this question in Q&A
Discussion options

You must be logged in to vote

If you just want spheres, what about using either rsa, pseudo_gravity_packing or pseudo_electrostatic_packing? Then you'll have 'voxel' images directly?

As for our to_palabos function, I must admit that none of use have used it in several years, so although it passes our unit tests, the Palabos package may want something different by now.

Lastly, conversion to binary is easy, you're over thinking it. Just do: im = bmp > 0, and you'll have an image of True and False.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nipinl
Comment options

Answer selected by nipinl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants