本文整理汇总了Python中pylayers.gis.layout.Layout.info方法的典型用法代码示例。如果您正苦于以下问题:Python Layout.info方法的具体用法?Python Layout.info怎么用?Python Layout.info使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pylayers.gis.layout.Layout
的用法示例。
在下文中一共展示了Layout.info方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Simul
# 需要导入模块: from pylayers.gis.layout import Layout [as 别名]
# 或者: from pylayers.gis.layout.Layout import info [as 别名]
class Simul(PyLayers):
""" Simulation Class
Methods
-------
gui()
graphical user interface
choose()
choose a simulation file in simuldir
info()
info about the simulation
showray(itx,irx,iray)
show a single ray
help()
help on using Simulation object
freq()
return the frequency base
save()
save Simulation file
layout
load a Layout file
load()
load Simulation
show3()
geomview vizualization
show3l(itx,irx)
geomview vizualization of link itx irx
show()
2D visualization of simulation with furniture
run(itx,irx)
run simulation for links (itx,irx)
cir(itx,irx,store_level=0,alpha=1.0)
Channel Impulse Response calculation
Attributes
----------
fileconf
filetauk
filetang
filerang
tx
rx
progress
indoor
mat
sl
Notes
------
This class group together all the parametrization files of a simulation
Directory list file :
fileconf
Constitutive parameters file :
fileslab
filemat
Ray Tracing parameters files :
filepalch
filetra
Frequency list file :
filefreq
"""
def __init__(self, _filesimul='default.ini'):
self.filesimul = _filesimul
self.config = ConfigParser.ConfigParser()
self.config.add_section("files")
self.config.add_section("frequency")
self.config.add_section("waveform")
self.config.add_section("output")
self.dtang = {}
self.drang = {}
self.dtauk = {}
self.dfield = {}
self.dcir = {}
self.output = {}
#
# Here was a nasty bug : Rule for the future
# "Always precise the key value of the passed argument"
#
# Mal nommer les choses, c'est ajouter au malheur du monde ( Albert Camus )
#
self.tx = RadioNode(name = '',
#.........这里部分代码省略.........