The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
rohBeam::rohConfig Class Reference

Public Member Functions

 rohConfig (const mhaconfig_t in_cfg, const mhaconfig_t out_cfg, std::unique_ptr< Eigen::MatrixXcf > headModel_, std::unique_ptr< MHASignal::matrix_t > beamW_, std::unique_ptr< MHASignal::matrix_t > delayComp_, const configOptions &options)
 
 rohConfig (rohConfig *lastConfig, const mhaconfig_t, const mhaconfig_t out_cfg, std::unique_ptr< Eigen::MatrixXcf > headModel_, std::unique_ptr< MHASignal::matrix_t > beamW_, std::unique_ptr< MHASignal::matrix_t > delayComp_, const configOptions &options)
 
 ~rohConfig ()
 
 rohConfig (const rohConfig &)=delete
 
rohConfigoperator= (const rohConfig &)=delete
 
mha_spec_tprocess (mha_spec_t *)
 
void init_dynamic ()
 

Private Member Functions

void phasereconstruction (MHASignal::spectrum_t *)
 
void postfilter (mha_spec_t *, MHASignal::spectrum_t *)
 
void copyfixedbfoutput (MHASignal::spectrum_t *)
 

Private Attributes

int nfreq
 
int nchan_block
 
mhaconfig_t in_cfg
 
mhaconfig_t out_cfg
 
bool enable_adaptive_beam
 
int binaural_type_index
 
std::unique_ptr< Eigen::MatrixXcf > headModel
 
std::unique_ptr< MHASignal::matrix_tbeamW
 
std::unique_ptr< MHASignal::matrix_tdelayComp
 
MHASignal::spectrum_tbeam1
 
MHASignal::spectrum_tbeamA
 
MHASignal::spectrum_tblockSpec
 
MHASignal::spectrum_toutSpec
 
float alpha_postfilter
 
float alpha_blocking_XkXi
 
float alpha_blocking_XkY
 
std::vector< Eigen::MatrixXcf > corrXpXp
 
std::vector< Eigen::VectorXcf > corrXpYf
 
Eigen::VectorXf corrZZ
 
Eigen::VectorXf corrLL
 
Eigen::VectorXf corrRR
 
Eigen::HouseholderQR< Eigen::MatrixXcf > hhCorrXpXp
 
Eigen::VectorXcf nextXpYf
 
Eigen::VectorXcf blockXp
 
Eigen::VectorXcf freqResp
 
Eigen::ArrayXf magResp
 
float minLim
 
float maxLim
 

Constructor & Destructor Documentation

◆ rohConfig() [1/3]

rohBeam::rohConfig::rohConfig ( const mhaconfig_t  in_cfg,
const mhaconfig_t  out_cfg,
std::unique_ptr< Eigen::MatrixXcf >  headModel_,
std::unique_ptr< MHASignal::matrix_t beamW_,
std::unique_ptr< MHASignal::matrix_t delayComp_,
const configOptions options 
)

◆ rohConfig() [2/3]

rohBeam::rohConfig::rohConfig ( rohConfig lastConfig,
const  mhaconfig_t,
const mhaconfig_t  out_cfg,
std::unique_ptr< Eigen::MatrixXcf >  headModel_,
std::unique_ptr< MHASignal::matrix_t beamW_,
std::unique_ptr< MHASignal::matrix_t delayComp_,
const configOptions options 
)

◆ ~rohConfig()

rohBeam::rohConfig::~rohConfig ( )

◆ rohConfig() [3/3]

rohBeam::rohConfig::rohConfig ( const rohConfig )
delete

Member Function Documentation

◆ operator=()

rohConfig& rohBeam::rohConfig::operator= ( const rohConfig )
delete

◆ process()

mha_spec_t * rohBeam::rohConfig::process ( mha_spec_t inSpec)

◆ init_dynamic()

void rohBeam::rohConfig::init_dynamic ( )

◆ phasereconstruction()

void rohBeam::rohConfig::phasereconstruction ( MHASignal::spectrum_t prevSpecPost)
private

◆ postfilter()

void rohBeam::rohConfig::postfilter ( mha_spec_t inSpec,
MHASignal::spectrum_t prevSpecPost 
)
private

◆ copyfixedbfoutput()

void rohBeam::rohConfig::copyfixedbfoutput ( MHASignal::spectrum_t prevSpecPost)
private

Member Data Documentation

◆ nfreq

int rohBeam::rohConfig::nfreq
private

◆ nchan_block

int rohBeam::rohConfig::nchan_block
private

◆ in_cfg

mhaconfig_t rohBeam::rohConfig::in_cfg
private

◆ out_cfg

mhaconfig_t rohBeam::rohConfig::out_cfg
private

◆ enable_adaptive_beam

bool rohBeam::rohConfig::enable_adaptive_beam
private

◆ binaural_type_index

int rohBeam::rohConfig::binaural_type_index
private

◆ headModel

std::unique_ptr<Eigen::MatrixXcf> rohBeam::rohConfig::headModel
private

◆ beamW

std::unique_ptr<MHASignal::matrix_t> rohBeam::rohConfig::beamW
private

◆ delayComp

std::unique_ptr<MHASignal::matrix_t> rohBeam::rohConfig::delayComp
private

◆ beam1

MHASignal::spectrum_t* rohBeam::rohConfig::beam1
private

◆ beamA

MHASignal::spectrum_t* rohBeam::rohConfig::beamA
private

◆ blockSpec

MHASignal::spectrum_t* rohBeam::rohConfig::blockSpec
private

◆ outSpec

MHASignal::spectrum_t* rohBeam::rohConfig::outSpec
private

◆ alpha_postfilter

float rohBeam::rohConfig::alpha_postfilter
private

◆ alpha_blocking_XkXi

float rohBeam::rohConfig::alpha_blocking_XkXi
private

◆ alpha_blocking_XkY

float rohBeam::rohConfig::alpha_blocking_XkY
private

◆ corrXpXp

std::vector<Eigen::MatrixXcf> rohBeam::rohConfig::corrXpXp
private

◆ corrXpYf

std::vector<Eigen::VectorXcf> rohBeam::rohConfig::corrXpYf
private

◆ corrZZ

Eigen::VectorXf rohBeam::rohConfig::corrZZ
private

◆ corrLL

Eigen::VectorXf rohBeam::rohConfig::corrLL
private

◆ corrRR

Eigen::VectorXf rohBeam::rohConfig::corrRR
private

◆ hhCorrXpXp

Eigen::HouseholderQR<Eigen::MatrixXcf> rohBeam::rohConfig::hhCorrXpXp
private

◆ nextXpYf

Eigen::VectorXcf rohBeam::rohConfig::nextXpYf
private

◆ blockXp

Eigen::VectorXcf rohBeam::rohConfig::blockXp
private

◆ freqResp

Eigen::VectorXcf rohBeam::rohConfig::freqResp
private

◆ magResp

Eigen::ArrayXf rohBeam::rohConfig::magResp
private

◆ minLim

float rohBeam::rohConfig::minLim
private

◆ maxLim

float rohBeam::rohConfig::maxLim
private

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