void generate_dm_list(float dm_start, float dm_end, float width, float tolerance) { dedisp_error error = dedisp_generate_dm_list(plan, dm_start, dm_end, width, tolerance); ErrorChecker::check_dedisp_error(error,"generate_dm_list"); dm_list.resize(dedisp_get_dm_count(plan)); const float* plan_dm_list = dedisp_get_dm_list(plan); std::copy(plan_dm_list,plan_dm_list+dm_list.size(),dm_list.begin()); }
DedispPlan::size_type DedispPlan::get_dm_count() const { return dedisp_get_dm_count(m_plan); }