Public Member Functions | |
MDA_2D () | |
This is a class that takes 1D Shear Segments and the associated RadialSet and creates 2D features. | |
void | combineSegments (const code::RadialSet &data, std::vector< Mda1DVect >, const int &mx_rank) |
Driver method to call other methods within rank loop. | |
Mda2DFeat | create2DFeature (std::vector< Mda1DVect > &, const int) |
Group 1D Segments (pattern vectors) into potential 2D features by looking for range and azimuthal overlap as well as strength rank. | |
bool | threshold (Mda2DFeat &) |
Using thresholding rules from legacy MDA (Aspect ratio, max diameter, etc. | |
void | smooth (Mda2DFeat &feat) |
Using either a single point or a 3 point average, find the maxima and minima for calculating parameters (shear, deltaV, etc. | |
void | core_extract (std::vector< Mda2DFeat > feat_precore, std::vector< Mda2DFeat > &feat_postcore, const int &num_feat_rank) |
2D Feature core extraction. | |
bool | checkOverlap (Mda2DFeat feat, Mda1DVect seg) |
Length | getFeatDiam (const Mda2DFeat &feat) |
double | getFeatAspectRatio (Mda2DFeat &feat) |
AzRangeHeight | getFeatCenterAzRanHeight (const Location ¢er_loc) |
double | calcFeatRotationalVel (const Mda2DFeat &feat) |
double | calcFeatShear (const Mda2DFeat &feat) |
void | rankFeatures (std::vector< Mda2DFeat > &feature_vect) |
Ranks the 2D Features. | |
std::vector< Mda2DFeat > | getPreExtractedFeatures () |
Get vector of 2D Features *prior* to core extraction. | |
std::vector< Mda2DFeat > | getExtractedFeatures () |
Get vector of 2D Features *after* to core extraction. | |
std::vector< Mda2DFeat > | getTmpFeatures () |
void | errorOut (std::vector< Mda1DVect >) |
void | writeOutputTextFile (const bool y) |
void | setOutputDir (std::string odir) |
void | setOutputLB (std::string lbName) |
Static Public Member Functions | |
static Location | getFeatCenterLoc (const Mda2DFeat &feat) |
code::MDA_2D::MDA_2D | ( | ) | [inline] |
This is a class that takes 1D Shear Segments and the associated RadialSet and creates 2D features.
double code::MDA_2D::calcFeatRotationalVel | ( | const Mda2DFeat & | feat | ) |
double code::MDA_2D::calcFeatShear | ( | const Mda2DFeat & | feat | ) |
void code::MDA_2D::combineSegments | ( | const code::RadialSet & | data, | |
std::vector< Mda1DVect > | , | |||
const int & | mx_rank | |||
) |
Driver method to call other methods within rank loop.
void code::MDA_2D::core_extract | ( | std::vector< Mda2DFeat > | feat_precore, | |
std::vector< Mda2DFeat > & | feat_postcore, | |||
const int & | num_feat_rank | |||
) |
2D Feature core extraction.
Follows the rules set up in legacy MDA for overlaping features of differing ranks
Group 1D Segments (pattern vectors) into potential 2D features by looking for range and azimuthal overlap as well as strength rank.
void code::MDA_2D::errorOut | ( | std::vector< Mda1DVect > | ) |
std::vector< Mda2DFeat > code::MDA_2D::getExtractedFeatures | ( | ) |
Get vector of 2D Features *after* to core extraction.
double code::MDA_2D::getFeatAspectRatio | ( | Mda2DFeat & | feat | ) |
AzRangeHeight code::MDA_2D::getFeatCenterAzRanHeight | ( | const Location & | center_loc | ) |
static Location code::MDA_2D::getFeatCenterLoc | ( | const Mda2DFeat & | feat | ) | [static] |
Length code::MDA_2D::getFeatDiam | ( | const Mda2DFeat & | feat | ) |
std::vector< Mda2DFeat > code::MDA_2D::getPreExtractedFeatures | ( | ) |
Get vector of 2D Features *prior* to core extraction.
std::vector< Mda2DFeat > code::MDA_2D::getTmpFeatures | ( | ) |
void code::MDA_2D::rankFeatures | ( | std::vector< Mda2DFeat > & | feature_vect | ) |
Ranks the 2D Features.
void code::MDA_2D::setOutputDir | ( | std::string | odir | ) | [inline] |
void code::MDA_2D::setOutputLB | ( | std::string | lbName | ) | [inline] |
void code::MDA_2D::smooth | ( | Mda2DFeat & | feat | ) |
Using either a single point or a 3 point average, find the maxima and minima for calculating parameters (shear, deltaV, etc.
)
Using thresholding rules from legacy MDA (Aspect ratio, max diameter, etc.
), determine if 2D feature qualifies as valid mesocyclone.
void code::MDA_2D::writeOutputTextFile | ( | const bool | y | ) | [inline] |