TS++ library: time series library

◆ operator<<()

std::ostream & ts::fir::operator<< ( std::ostream &  os,
const FIR fir 
)

dump filter characteristics

Definition at line 187 of file firfilters.cc.

References ts::fir::FIR::decimation_factor, ts::fir::FIR::delay, ts::fir::FIR::description, ts::fir::FIR::gain, ts::fir::FIR::name, ts::fir::FIR::points, and ts::fir::FIR::symmetric.

188  {
189  os << "FIR filter " << fir.name << ":" << std::endl;
190  os << " " << fir.description << std::endl;
191  os << " number of coefficients: " << fir.points
192  << ", delay: " << fir.delay
193  << ", decimation: " << fir.decimation_factor
194  << ", gain: " << fir.gain << std::endl;
195  os << " the filter is ";
196  if (!fir.symmetric) { os << "non-"; }
197  os << "symmetric" << std::endl;
198  return(os);
199  }