Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

touchstone_read Class Reference

#include <io.h>

Inheritance diagram for touchstone_read::

touchstone_base List of all members.

Public Types

typedef touchstone_base::types types

Public Methods

 touchstone_read ()
bool open (const char *const name, int ports=2, double f_scale=GHz)
types type () const
bool value (double &f, Matrix &M)
bool Svalue (double &f, Matrix &S)
bool Yvalue (double &f, Matrix &Y)
bool Zvalue (double &f, Matrix &Z)
bool has_noise () const
bool get_noise (double &f, noise &N)
bool good () const
double z () const
touchstone_read& verbose ()
touchstone_read& quiet ()

Static Public Methods

int ports (const char *const name)

Private Methods

 touchstone_read (const touchstone_read &)
void operator= (const touchstone_read &)
Matrix normalize (const Matrix &)

Private Attributes

std::string name_
ifstream s
data_parser d
int N
bool end_
bool noise_
bool verbose_
double f_units
double z_
types type_
double f_last
Complex::io_mode mode
Complex::io_mode old_mode

Member Typedef Documentation

typedef touchstone_base::types touchstone_read::types
 

Reimplemented from touchstone_base.

Definition at line 236 of file io.h.


Constructor & Destructor Documentation

touchstone_read::touchstone_read ( )
 

Definition at line 217 of file io.cc.

touchstone_read::touchstone_read ( const touchstone_read & ) [private]
 


Member Function Documentation

bool touchstone_read::Svalue ( double & freq,
Matrix & M )
 

Definition at line 482 of file io.cc.

Referenced by S_interp::touchstone(), and complex_interp::touchstone().

bool touchstone_read::Yvalue ( double & freq,
Matrix & M )
 

Definition at line 498 of file io.cc.

Referenced by complex_interp::touchstone().

bool touchstone_read::Zvalue ( double & freq,
Matrix & M )
 

Definition at line 516 of file io.cc.

Referenced by complex_interp::touchstone().

bool touchstone_read::get_noise ( double & f,
noise & ND )
 

Definition at line 560 of file io.cc.

Referenced by S_interp::touchstone().

bool touchstone_read::good ( ) const [inline]
 

Definition at line 287 of file io.h.

Referenced by S_interp::touchstone().

bool touchstone_read::has_noise ( ) const [inline]
 

Definition at line 271 of file io.h.

Referenced by get_noise(), and S_interp::touchstone().

Matrix touchstone_read::normalize ( const Matrix & T ) [private]
 

Definition at line 534 of file io.cc.

Referenced by value().

bool touchstone_read::open ( const char *const str,
int ports = 2,
double f_scale = GHz )
 

Definition at line 224 of file io.cc.

Referenced by ports(), S_interp::touchstone(), and complex_interp::touchstone().

void touchstone_read::operator= ( const touchstone_read & ) [private]
 

int touchstone_read::ports ( const char *const name ) [static]
 

Definition at line 599 of file io.cc.

touchstone_read & touchstone_read::quiet ( ) [inline]
 

Definition at line 302 of file io.h.

Referenced by ports().

types touchstone_read::type ( ) const [inline]
 

Definition at line 237 of file io.h.

bool touchstone_read::value ( double & freq,
Matrix & M )
 

Definition at line 367 of file io.cc.

Referenced by Svalue(), Yvalue(), Zvalue(), and ports().

touchstone_read & touchstone_read::verbose ( ) [inline]
 

Definition at line 301 of file io.h.

Referenced by ports().

double touchstone_read::z ( ) const [inline]
 

Definition at line 295 of file io.h.


Member Data Documentation

int touchstone_read::N [private]
 

Definition at line 323 of file io.h.

data_parser touchstone_read::d [private]
 

Definition at line 322 of file io.h.

bool touchstone_read::end_ [private]
 

Definition at line 324 of file io.h.

double touchstone_read::f_last [private]
 

Definition at line 331 of file io.h.

double touchstone_read::f_units [private]
 

Definition at line 328 of file io.h.

Complex::io_mode touchstone_read::mode [private]
 

Definition at line 335 of file io.h.

std::string touchstone_read::name_ [private]
 

Definition at line 320 of file io.h.

bool touchstone_read::noise_ [private]
 

Definition at line 325 of file io.h.

Complex::io_mode touchstone_read::old_mode [private]
 

Definition at line 336 of file io.h.

ifstream touchstone_read::s [private]
 

Definition at line 321 of file io.h.

types touchstone_read::type_ [private]
 

Definition at line 330 of file io.h.

bool touchstone_read::verbose_ [private]
 

Definition at line 326 of file io.h.

double touchstone_read::z_ [private]
 

Definition at line 329 of file io.h.


The documentation for this class was generated from the following files:

Please direct comments and corrections to supermix@submm.caltech.edu
Go to the supermix home page
Generated by doxygen1.2.7