#include "mexvex_els_calculate.hh" std::vector mexvex_els_calculate(const std::vector& ELS,const short& TimeCompres, const short& EnergyCompres, unsigned int Angle) { std::vector lElsCalculate; for (unsigned int iEn = 0; iEn < 128; iEn++) {// 128 Energy Steps lElsCalculate.push_back(((float)ELS[iEn + Angle *128])/(float)TimeCompres/(float)EnergyCompres); } return lElsCalculate; }