29 #ifndef _CASA_LINEFINDER_H_
30 #define _CASA_LINEFINDER_H_
39 namespace linefinder {
81 std::list<std::pair<size_t, size_t>>
MADLineFinder(
size_t const num_data,
83 float const threshold, uint8_t max_iteration,
size_t const minwidth,
84 size_t const maxwidth,
size_t const avg_limit,
85 std::pair<size_t, size_t> edge);
102 void getMask(
size_t const num_mask,
bool mask[],
103 std::list<std::pair<size_t, size_t>>& ranges,
bool invert =
false,
104 bool initialize =
true);
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
std::list< std::pair< size_t, size_t > > MADLineFinder(size_t const num_data, float const data[], bool mask[], float const threshold, uint8_t max_iteration, size_t const minwidth, size_t const maxwidth, size_t const avg_limit, std::pair< size_t, size_t > edge)
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
void getMask(size_t const num_mask, bool mask[], std::list< std::pair< size_t, size_t >> &ranges, bool invert=false, bool initialize=true)