carputils
Doxygen code documentation for the python framework controlling openCARP
Namespaces | Classes | Functions | Variables
bin.build_pathway Namespace Reference

Namespaces

 py
 The atrial-model-generation tool is an almost automatic workflow for the generation of patient-specific volumetric atrial models.
 

Classes

class  Pathway
 

Functions

def argument_parser ()
 
def jobID (args)
 
def check_binary_mesh (job, meshname)
 
def parse_mt_query_file (filename, pt_type)
 
def parse_meshtool_tag_file (filename)
 
def displace_nodes (mesh_points, raw_nodes_list)
 
def write_nodes (filename, nodes_list)
 
def closest_node (query_point, point_set, thr=0.0)
 
def gen_conn_dict (mesh_points, nodes_list, base_filename)
 
def compute_paths (job, args, meshname, nodes, tags=None, build_split=True)
 
def main (args, job)
 

Variables

string MESHTOOL = 'meshtool'
 
string MGTAGREG = 'mgtagreg'
 
tuple NODES_ORDER = ('insert', 'exit', 'insert2', 'exit2','con_insert', 'con_exit')
 
dictionary CONNECTIONS_DEFAULT_SPLIT
 
dictionary CONNECTIONS_DEFAULT = {'split':{'conn': ['insert', 'exit']}}
 
dictionary SEARCH_CONNECTION = {'insert','exit'}
 

Function Documentation

◆ argument_parser()

def bin.build_pathway.argument_parser ( )

◆ check_binary_mesh()

def bin.build_pathway.check_binary_mesh (   job,
  meshname 
)

◆ closest_node()

def bin.build_pathway.closest_node (   query_point,
  point_set,
  thr = 0.0 
)

◆ compute_paths()

def bin.build_pathway.compute_paths (   job,
  args,
  meshname,
  nodes,
  tags = None,
  build_split = True 
)

◆ displace_nodes()

def bin.build_pathway.displace_nodes (   mesh_points,
  raw_nodes_list 
)

◆ gen_conn_dict()

def bin.build_pathway.gen_conn_dict (   mesh_points,
  nodes_list,
  base_filename 
)

◆ jobID()

def bin.build_pathway.jobID (   args)

◆ main()

def bin.build_pathway.main (   args,
  job 
)

◆ parse_meshtool_tag_file()

def bin.build_pathway.parse_meshtool_tag_file (   filename)

◆ parse_mt_query_file()

def bin.build_pathway.parse_mt_query_file (   filename,
  pt_type 
)

◆ write_nodes()

def bin.build_pathway.write_nodes (   filename,
  nodes_list 
)

Variable Documentation

◆ CONNECTIONS_DEFAULT

dictionary bin.build_pathway.CONNECTIONS_DEFAULT = {'split':{'conn': ['insert', 'exit']}}

◆ CONNECTIONS_DEFAULT_SPLIT

dictionary bin.build_pathway.CONNECTIONS_DEFAULT_SPLIT
Initial value:
1 = {'3':{'conn': ['con_insert', 'insert']},
2  '4':{'conn': ['con_insert', 'insert2']},
3  'split':{'conn': ['con_insert', 'con_exit']},
4  '5':{'conn': ['con_exit', 'exit']},
5  '6':{'conn': ['con_exit', 'exit2']}}

◆ MESHTOOL

string bin.build_pathway.MESHTOOL = 'meshtool'

◆ MGTAGREG

string bin.build_pathway.MGTAGREG = 'mgtagreg'

◆ NODES_ORDER

tuple bin.build_pathway.NODES_ORDER = ('insert', 'exit', 'insert2', 'exit2','con_insert', 'con_exit')

◆ SEARCH_CONNECTION

dictionary bin.build_pathway.SEARCH_CONNECTION = {'insert','exit'}