def display_pts(f_config): c = ConfigParser.ConfigParser() c.read(f_config) section_common = 'FILES' mf = c.get(section_common,'model') sf = c.get(section_common,'scene') tf = c.get(section_common,'transformed_model') m = loadtxt(mf) s = loadtxt(sf) t = loadtxt(tf) _plotting.displayABC(m,s,t)
def display_pts(f_config): c = ConfigParser.ConfigParser() c.read(f_config) section_common = "FILES" mf = c.get(section_common, "model") sf = c.get(section_common, "scene") tf = c.get(section_common, "transformed_model") m = loadtxt(mf) s = loadtxt(sf) t = loadtxt(tf) _plotting.displayABC(m, s, t)
def test(f_config, display = True): model,scene,after_tps = _core.run_ini(f_config) if display: _plotting.displayABC(model,scene,after_tps)
def test(f_config, display=True): print("wtf") model, scene, after_tps = _core.run_ini(f_config) if display: _plotting.displayABC(model, scene, after_tps) return model, scene, after_tps