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

define_vessel_structure_settings does not create vessels starting from boundary #386

Open
RecurvedBow opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RecurvedBow
Copy link
Collaborator

RecurvedBow commented Sep 26, 2024

Describe the bug
Sometimes, if a vessel is created starting on a tissue boundary, the vessel does not assume a tube structure.

Specify a priority (low, medium, high)
medium

To Reproduce
Define a homogeneous tissue of size 16 x 16 x 10 mm, spacing = 0.5mm and define a single vessel with the following vessel dictionary:

vessel_dictionary = sp.define_vessel_structure_settings(vessel_start_mm=[10, 16, 0.2],
                                                            vessel_direction_mm=[-1, -1, 0.0],
                                                            molecular_composition=sp.TISSUE_LIBRARY.blood(0.7),
                                                            radius_mm=2.0,
                                                            curvature_factor=0.0,
                                                            radius_variation_factor=1.0,
                                                            bifurcation_length_mm=1000.0,
                                                            priority=5,
                                                            consider_partial_volume=True,
                                                            adhere_to_deformation=True)

Then run any MCX simulation and acquire the semantic map. Aggregate by the z-Dimension to get the vessel area viewed from above the tissue.

Current Behavior
The vessel only occupies a small area:
image

Expected behavior
With these parameters, the vessel should have a tube structure like this:
image

This image was created by changing the start position to [10, 15.99, 0.2].

@RecurvedBow RecurvedBow added the bug Something isn't working label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant