finsberg / ldrb

A software for assigning myocardial fiber orientations based on the Laplace Dirichlet Ruled-Based algorithm
http://finsberg.github.io/ldrb
GNU Lesser General Public License v3.0
22 stars 8 forks source link

Introducing optional lists for markers #98

Closed Reidmen closed 11 months ago

Reidmen commented 11 months ago

In my current pipeline, I'm in the situation that the markers are not only specified with a single integer, instead they are composed by two (or more).

Is there any desire to allow list of makers to be specified instead of a single value (int). e.g. below

markers = dict(base=[10, 20], rv=30, lv=40, epi=50)

PD. I've implemented a working version for this case.

finsberg commented 11 months ago

I think this is a great idea! Feel free to submit a PR