Coder Social home page Coder Social logo

kerkelae / disimpy Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 9.0 11.17 MB

Massively parallel Monte Carlo diffusion MR simulator written in Python.

Home Page: https://disimpy.readthedocs.io/

License: MIT License

Python 100.00%
cuda diffusion-mri gpu-computing monte-carlo-simulation

disimpy's Issues

Simulation for multiple substrates

Hi,

I want to know if it is possible to define multiple substrates in a single simulation ? ( say having multiple spheres and ellipsoids in the same simulation environment)

Importing .ply files into disimpy

Dear disimpy creators/collaborators,

I'm trying to simulate a geometry that was originally run in Camino, however, when I try to import the .ply using meshio, I get this geometry:

image

I then converted the .ply into .stl file using an free online tool, which apparently fixed the problem:

image

However, when I simulate it, I get something close to free water diffusion, even though I set the structure as periodic.

image

Please let me know if you have any recommendations or suggestions.

Thanks,
T

separation size

Hi,

I set 'substrate = mesh', and set 'extra = true', but how to set the separation size?

Fix documentation

Running Sphinx v7.2.6
making output directory... done

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/pygments/styles/__init__.py", line 45, in get_style_by_name
    mod = __import__(mod, None, None, [cls])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pygments.styles.stata'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/cmd/build.py", line 293, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 272, in __init__
    self._init_builder()
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 342, in _init_builder
    self.builder.init()
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/builders/html/__init__.py", line 220, in init
    self.init_highlighter()
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/builders/html/__init__.py", line 283, in init_highlighter
    self.highlighter = PygmentsBridge('html', style)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/highlighting.py", line 99, in __init__
    style = self.get_style(stylename)
            ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/highlighting.py", line 116, in get_style
    return get_style_by_name(stylename)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/pygments/styles/__init__.py", line 47, in get_style_by_name
    raise ClassNotFound("Could not find style module %r" % mod +
pygments.util.ClassNotFound: Could not find style module 'pygments.styles.stata'.

Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/pygments/styles/__init__.py", line 47, in get_style_by_name
    raise ClassNotFound("Could not find style module %r" % mod +
pygments.util.ClassNotFound: Could not find style module 'pygments.styles.stata'.
The full traceback has been saved in /tmp/sphinx-err-upzt0duf.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.