mwavepy.convenience
index
/home/alex/docs/python/path/mwavepy/convenience.py

#       convenience.py
#
#       Holds pre-initialized  class's and functions which provide convience.
#       Pre-initialized classes include:
#               Standard waveguide bands
#                       - Freqency Objects (f_*)
#                       - RectangularWaveguideTE10 Objects      (wr_*)
#                       - WorkingBand Objects   (wb_*)
#
#       
#       
#       Copyright 2010 alex arsenovic <arsenovic@virginia.edu>
#       Copyright 2010 lihan chen 
#
#       This program is free software; you can redistribute it and/or modify
#       it under the terms of the GNU General Public License as published by
#       the Free Software Foundation; either version 2 of the License, or
#       (at your option) any later versionpy.
#       
#       This program is distributed in the hope that it will be useful,
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#       GNU General Public License for more details.
#       
#       You should have received a copy of the GNU General Public License
#       along with this program; if not, write to the Free Software
#       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
#       MA 02110-1301, USA.

 
Modules
       
mwavepy.mathFunctions
numpy
os
pylab
mwavepy.touchstone

 
Functions
       
load_all_touchstones(dir='.', contains=None, f_unit=None)
loads all touchtone files in a given dir 
 
takes:
        dir  - the path to the dir, passed as a string (defalut is cwd)
        contains - string which filename must contain to be loaded, not 
                used if None.(default None)
returns:
        ntwkDict - a Dictonary with keys equal to the file name (without
                a suffix), and values equal to the corresponding ntwk types
save_all_figs(dir='./', format=['eps', 'pdf', 'png'])
## Functions
# Ploting
write_dict_of_networks(ntwkDict, dir='.')
writes a dictionary of networks to a given directory

 
Data
        f_wr1p5 = <mwavepy.frequency.Frequency object>
f_wr3 = <mwavepy.frequency.Frequency object>
mil = 2.5399999999999997e-05
wb_wr1p5 = <mwavepy.workingBand.WorkingBand object>
wg_wr1p5 = <mwavepy.transmissionLine.rectangularWaveguideTE10.RectangularWaveguideTE10 object>
wg_wr3 = <mwavepy.transmissionLine.rectangularWaveguideTE10.RectangularWaveguideTE10 object>