mwavepy.convenience
index
/usr/local/lib/python2.6/dist-packages/mwavepy/convenience.py

Holds pre-initialized  class's and functions which provide convenience.
        Pre-initialized classes include:
                Standard waveguide bands, which are prefixed by, 
                        - Freqency Objects (f_*)
                        - RectangularWaveguideTE10 Objects      (wr_*)
                        - WorkingBand Objects   (wb_*)

 
Modules
       
mwavepy.mathFunctions
numpy
os
pylab
scipy.stats
mwavepy.touchstone

 
Functions
       
csv_2_touchstone(filename)
converts a csv file saved from a Rhode swarz and possibly other 
 
takes:
        filename: name of file
returns:
        Network object
legend_off(ax=None)
turn off the legend for a given axes. if no axes is given then 
it will use current axes.
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
now_string()
plot_complex(z, *args, **kwargs)
plots a complex array or list in real vs imaginary.
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
        ALMOST_ZER0 = 9.9999999999999995e-07
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>