diff --git a/CMakeLists.txt b/CMakeLists.txt index c19d6a1..8d4d7d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,6 +92,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/") add_subdirectory(src/ExternLib/GetClbInfo) add_subdirectory(src/ExternLib/GetClbInfoByIndex) add_subdirectory(src/ExternLib/GetMavenStaticEnergy) + add_subdirectory(src/ExternLib/GetJunoJediEnergy) add_subdirectory(src/ExternLib/EnergyBounds) add_subdirectory(src/ExternLib/Boxcar) add_subdirectory(src/ExternLib/SlidingAverage) diff --git a/src/ExternLib/GetJunoJediEnergy/AMDAPlugin.cc b/src/ExternLib/GetJunoJediEnergy/AMDAPlugin.cc new file mode 100644 index 0000000..f90571d --- /dev/null +++ b/src/ExternLib/GetJunoJediEnergy/AMDAPlugin.cc @@ -0,0 +1,85 @@ +/* -*- Base: 10 ; Mode: C++ -*- */ +/*------------------------------------------------------------------------ + ** + FOST project + ** +-------------------------------------------------------------------------- +-------------------------------------------------------------------------- + FILE LOG + $Revision: 1.3 $ $Date: 2012-06-15 13:04:42 $ +-------------------------------------------------------------------------- +CREATION + V.SAC + +SUMMARY + +DESCRIPTION + + The main function performs the following actions : + + +------------------------------------------------------------------------*/ + +//============================================================================= +// +// History of code +// +// creation +// +// modification +//============================================================================= + +/** + +*/ +//============================================================================= +// Include section +//============================================================================= + +// Standard libraries include files +//----------------------------------------------------------------------------- +#include + +// Include oriented definitions +//----------------------------------------------------------------------------- + +// Module Kernel include files +//----------------------------------------------------------------------------- + +#include "GetJunoJediEnergyProcess.hh" +#include "ServicesServer.hh" +#include "PluginManager.hh" + +using namespace AMDA::Parameters; + +// Other modules include files +//----------------------------------------------------------------------------- + +//============================================================================= +// Methods of Class AMDAPlugin +//============================================================================= + + + +/** + Retrieve the Plugin version we're going to expect +*/ +extern "C" const char* getPluginVersion() +{ + return "(Version)"; +} + +/** + Tells us to register our functionality to an engine kernel +*/ +extern "C" void registerPlugin(AMDA::Plugins::PluginManager & /*pm*/) +{ + ProcessFactory factProcessGetJunoJediLowerEnergy = boost::factory(); + ServicesServer::getInstance()->addProcessFactory("getJunoJediLowerEnergy", factProcessGetJunoJediLowerEnergy); + + ProcessFactory factProcessGetJunoJediUpperEnergy = boost::factory(); + + ServicesServer::getInstance()->addProcessFactory("getJunoJediUpperEnergy", factProcessGetJunoJediUpperEnergy); +} diff --git a/src/ExternLib/GetJunoJediEnergy/CMakeLists.txt b/src/ExternLib/GetJunoJediEnergy/CMakeLists.txt new file mode 100644 index 0000000..a9b00d0 --- /dev/null +++ b/src/ExternLib/GetJunoJediEnergy/CMakeLists.txt @@ -0,0 +1,33 @@ + +PROJECT(GetJunoJediEnergy) + +set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH}) + +include_directories( + ${CMAKE_HOME_DIRECTORY}/src/InternLib/ + ${CMAKE_HOME_DIRECTORY}/src/Common/ + ${CMAKE_HOME_DIRECTORY}/src/Parameters/ + ${CMAKE_HOME_DIRECTORY}/src/Plugins/ + ${CMAKE_HOME_DIRECTORY}/src/helpers/ + ${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/ + ${LOG4CXX_INCLUDE_DIR} + ${Boost_INCLUDE_DIR} +) + +#Library configuration +file( + GLOB_RECURSE + source_files + ./* +) + +ADD_LIBRARY( GetJunoJediEnergy SHARED ${source_files} ) + + +target_link_libraries( + GetJunoJediEnergy + ${LOG4CXX_LIBRARIES} + Parameters + InternLib + TimeTableCatalog +) diff --git a/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergy.hh b/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergy.hh new file mode 100644 index 0000000..c11c098 --- /dev/null +++ b/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergy.hh @@ -0,0 +1,132 @@ +/* + * GetJunoJediEnergy.hh + * + * Created on: Aug 25, 2017 + * Author: AKKA + */ + +#ifndef GetJunoJediEnergy_HH_ +#define GetJunoJediEnergy_HH_ + +#include "vector" + +#include +#include + +#include "AMDA_exception.hh" +#include "DicError.hh" + +#include "Parameter.hh" +#include "ParamData.hh" +#include "Operation.hh" + +using namespace std; +using namespace boost; +using namespace AMDA::Parameters; + +namespace AMDA { +namespace JunoJedi { + +namespace Base { +/** + * @class Base::GetJunoJediEnergy + * @brief Compute Juno Jedi energy + */ + class GetJunoJediEnergy : public Operation { + public: + + /** + * @brief Default Constructor. + */ + GetJunoJediEnergy(Process& pProcess) : Operation(pProcess) {} + + /** + * @brief Destructor. + */ + virtual ~GetJunoJediEnergy() {} + + /** + * @brief initialize the operation . + * @detail initialize the operation with information stored in pInput.getInfoList() and pAttribute. + */ + virtual void init(Parameter& input, Process::AttributeList& pAttribute) = 0; + + protected: + }; + } + + +/** + * @class GetJunoJediEnergy + * @brief Compute Juno Jedi energy. + */ +template +class GetJunoJediEnergy : public Base::GetJunoJediEnergy { +public: + /** + * @brief Constructor. + * @details Create the ParamData type of the input ParamData. + */ + GetJunoJediEnergy(Process& pProcess, TParamData& paramInput, const std::string& energy_band_name) + : Base::GetJunoJediEnergy(pProcess), _paramInput(paramInput), _paramOutput(new ParamDataTab1DFloat()), _energy_band_name(energy_band_name), _look_dir(0) { + _paramDataOutput=_paramOutput; + } + + /** + * + * @overload Base::GetJunoJediEnergy::init() + */ + void init(Parameter& pInput, Process::AttributeList& pAttribute) { + try { + _look_dir = boost::lexical_cast( pAttribute[0] ); + if (_look_dir > 7) { + _look_dir = 0; + } + } catch( boost::bad_lexical_cast const& ) { + _look_dir = 0; + } + + Parameter::InfoList& lInfoList = pInput.getInfoList(); + + for (int mode = 0; mode < 2; ++mode) { + for (int bin = 0; bin < 24; ++bin) { + std::stringstream index_name; + index_name << _energy_band_name; + index_name << "_"; + index_name << (mode * 6 + _look_dir); + _energyList[mode].push_back((*lInfoList[index_name.str()].get())[bin]); + } + } + + /** + * @overload Operation::write(ParamDataIndexInfo &pParamDataIndexInfo) + */ + void write(ParamDataIndexInfo &pParamDataIndexInfo) { + unsigned int index = pParamDataIndexInfo._startIndex; + for (; index< pParamDataIndexInfo._startIndex + pParamDataIndexInfo._nbDataToProcess; index++) { + _paramOutput->pushTime(_paramInput.getTime(index)); + _paramOutput->getDataList().push_back((_energyList[(int)floor(_paramInput.getDataList()[index])])); + } + } + +private: + /** + * @brief It is the channel of calibration. + */ + TParamData &_paramInput; + + /** + * @brief It is the channel of the data shifted. + */ + ParamDataTab1DFloat *_paramOutput; + + std::map > _energyList; + + std::string _energy_band_name; + + int _look_dir; +}; + +} /* namespace JunoJedi */ +} /* namespace AMDA */ +#endif /* GetJunoJediEnergy_HH_ */ diff --git a/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergyCreator.hh b/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergyCreator.hh new file mode 100644 index 0000000..0cddf44 --- /dev/null +++ b/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergyCreator.hh @@ -0,0 +1,165 @@ +/* + * GetJunoJediEnergyCreator.hh + * + * Created on: Aug 25, 2017 + * Author: AKKA + */ + +#ifndef GetJunoJediEnergyCreator_HH_ +#define GetJunoJediEnergyCreator_HH_ + +#include "DicError.hh" +#include "AMDA_exception.hh" + +#include "ParamData.hh" +#include "VisitorOfParamData.hh" +#include "GetJunoJediEnergy.hh" + +namespace AMDA { +namespace JunoJedi { + +/** + * @class GetJunoJediEnergyCreator + * @brief Creator of the Operation GetJunoJediEnergy parameterized with ParamData input type. + * @details Implement the interface VisitorOfParamData. + */ +class GetJunoJediEnergyCreator : public VisitorOfParamData { +public: + /** + * @brief Constructor. + */ + GetJunoJediEnergyCreator(Process& pProcess, ParamData& paramInput, const std::string& energy_band_name) + : _process(pProcess), _paramData(paramInput), _operation(NULL), _energy_band_name(energy_band_name) { + + _paramData.accept(*this); + } + + /** + * @overload VisitorOfParamData::visit(ParamDataScalaireShort *) + */ + void visit(ParamDataScalaireShort *) {_operation = new GetJunoJediEnergy( _process, dynamic_cast(_paramData), _energy_band_name);} + + /** + * @overload VisitorOfParamData::visit(ParamDataScalaireFloat *) + */ + void visit(ParamDataScalaireFloat *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataScalaireDouble *) + */ + void visit(ParamDataScalaireDouble *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataScalaireLongDouble *) + */ + void visit(ParamDataScalaireLongDouble *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataScalaireInt *) + */ + void visit(ParamDataScalaireInt *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataLogicalData *) + */ + void visit(ParamDataLogicalData *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab1DShort *) + */ + void visit(ParamDataTab1DShort *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab1DFloat *) + */ + void visit(ParamDataTab1DFloat *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab1DDouble *) + */ + void visit(ParamDataTab1DDouble *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab1DLongDouble *) + */ + void visit(ParamDataTab1DLongDouble *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab1DInt *) + */ + void visit(ParamDataTab1DInt *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab1DLogicalData *) + */ + void visit(ParamDataTab1DLogicalData *) { BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab2DShort *) + */ + void visit(ParamDataTab2DShort *) { + BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); + } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab2DFloat *) + */ + void visit(ParamDataTab2DFloat *) { + BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); + } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab2DDouble *) + */ + void visit(ParamDataTab2DDouble *) { + BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); + } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab2DLongDouble *) + */ + void visit(ParamDataTab2DLongDouble *) { + BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); + } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab2DInt *) + */ + void visit(ParamDataTab2DInt *) { + BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); + } + + /** + * @overload VisitorOfParamData::visit(ParamDataTab2DLogicalData *) + */ + void visit(ParamDataTab2DLogicalData *) { + BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_ERROR_UNKNOWN) << AMDA::ex_msg("GetJunoJediEnergyCreator operation not supported")); + } + + /** + * @brief get the GetJunoJediEnergy parameterized operation. + */ + Operation * getOperation() const { return _operation; } + +private: + /** + * @brief a reference on the process of Calibration + */ + Process &_process; + + /** + * @brief the input paramData + */ + ParamData &_paramData; + + /** + * @brief the operation which is created + */ + Operation *_operation; + + std::string _energy_band_name; +}; + +} /* namespace JunoJedi */ +} /* namespace AMDA */ +#endif /* GetJunoJediEnergyCreator_HH_ */ diff --git a/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergyProcess.cc b/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergyProcess.cc new file mode 100644 index 0000000..7e57372 --- /dev/null +++ b/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergyProcess.cc @@ -0,0 +1,75 @@ +/* + * GetJunoJediEnergyProcess.cc + * + * Created on: Aug 25, 2017 + * Author: AKKA + */ +#include +#include + +#include "AMDA_exception.hh" +#include "DicError.hh" + +#include "Operation.hh" +#include "ParameterManager.hh" +#include "GetJunoJediEnergyProcess.hh" +#include "GetJunoJediEnergyCreator.hh" +#include "ParameterCreatorFromExpression.hh" + +using namespace std; +using namespace boost; +using namespace log4cxx; + +namespace AMDA { +namespace JunoJedi { + +GetJunoJediEnergyProcess::GetJunoJediEnergyProcess(Parameter ¶meter, EnergyBand energy_band) + : SingleParamProcess_CRTP(parameter), _energy_band(energy_band) { + } + +GetJunoJediEnergyProcess::GetJunoJediEnergyProcess(const GetJunoJediEnergyProcess& pProcess, Parameter ¶meter) + : SingleParamProcess_CRTP(pProcess,parameter), _energy_band(pProcess._energy_band) { + } + +GetJunoJediEnergyProcess::~GetJunoJediEnergyProcess() { + } + +TimeStamp GetJunoJediEnergyProcess::init() { + TimeStamp timeStamp = _parameterInput->init( this, _timeIntervalList); + Parameter::InfoList lInfoList = _parameterInput->getInfoList(); + _parameter.getInfoList().insert(lInfoList.begin(), lInfoList.end()); + _paramInput = _parameterInput->getParamData(this).get(); + + //GET LookDir + if (_attributList.size() < 1) { + BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_PROCESS_ERR) << AMDA::ex_msg(std::string("GetJunoJediEnergyProcess::init required at least one attribute for LookDir'"))); + } + + std::string energy_band_name; + switch (_energy_band) { + case BAND_LOWER: + energy_band_name = "LowerEnergy"; + break; + case BAND_UPPER: + energy_band_name = "UpperEnergy"; + break; + } + + GetJunoJediEnergyCreator lGetJunoJediEnergyCreator(*this,*_paramInput, energy_band_name); + _operation = lGetJunoJediEnergyCreator.getOperation(); + dynamic_cast(_operation)->init(*_parameterInput,_attributList); + _paramData = ParamDataSPtr(_operation->getParamOutput()); + _paramData->setMinSampling(_paramInput->getMinSampling()); + return timeStamp; +} + +GetJunoJediLowerEnergyProcess::GetJunoJediLowerEnergyProcess(AMDA::Parameters::Parameter ¶meter) : GetJunoJediEnergyProcess(parameter, BAND_LOWER) { + +} + +GetJunoJediUpperEnergyProcess::GetJunoJediUpperEnergyProcess(AMDA::Parameters::Parameter ¶meter) : GetJunoJediEnergyProcess(parameter, BAND_UPPER) { + +} + +} /* namespace JunoJedi */ +} /* namespace AMDA */ diff --git a/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergyProcess.hh b/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergyProcess.hh new file mode 100644 index 0000000..e114334 --- /dev/null +++ b/src/ExternLib/GetJunoJediEnergy/GetJunoJediEnergyProcess.hh @@ -0,0 +1,68 @@ +/* + * GetJunoJediEnergyProcess.hh + * + * Created on: Aug 25, 2017 + * Author: AKKA + */ + +#ifndef GetJunoJedoEnergyProcess_HH_ +#define GetJunoJediEnergyProcess_HH_ + +#include "SingleParamProcess.hh" + +namespace AMDA { +namespace JunoJedi { + + /** + * @class GetJunoJediEnergyProcess + * @brief Return the energy table of Juno Jedi instrument. + */ + class GetJunoJediEnergyProcess : public AMDA::Parameters::SingleParamProcess_CRTP { + public: + + enum EnergyBand { + BAND_LOWER, + BAND_UPPER + }; + /** + * @brief Constructor. + */ + GetJunoJediEnergyProcess(AMDA::Parameters::Parameter ¶meter, EnergyBand energy_band); + /** + * @brief Copy Constructor. + */ + GetJunoJediEnergyProcess(const GetJunoJediEnergyProcess& pProcess, AMDA::Parameters::Parameter &pParameter) ; + /** + * @brief Destructor. + */ + ~GetJunoJediEnergyProcess(); + + // Overload Process methods + /** + * @overload Process::init() + */ + AMDA::Parameters::TimeStamp init(); + + private: + EnergyBand _energy_band; + }; + + class GetJunoJediLowerEnergyProcess : public GetJunoJediEnergyProcess { + public: + /** + * @brief Constructor. + */ + GetJunoJediLowerEnergyProcess(AMDA::Parameters::Parameter ¶meter); + }; + + class GetJunoJediUpperEnergyProcess : public GetJunoJediEnergyProcess { + public: + /** + * @brief Constructor. + */ + GetJunoJediUpperEnergyProcess(AMDA::Parameters::Parameter ¶meter); + }; + +} /* namespace JunoJedi */ +} /* namespace AMDA */ +#endif /* GetJunoJediEnergyProcess_HH_ */ diff --git a/test/data/DataBaseParameters/juno_jedi_elec_180_flux.xml b/test/data/DataBaseParameters/juno_jedi_elec_180_flux.xml new file mode 100644 index 0000000..2d4afa8 --- /dev/null +++ b/test/data/DataBaseParameters/juno_jedi_elec_180_flux.xml @@ -0,0 +1,27 @@ + + + + Juno Jedi Elec 180 Flux - LookDir 0 + Elec. Flux - LookDir 0 + + Flux + + 0 + + + +
+ 0 + + +
+ + + + + + + + $juno_jedi_e180_FLUX[0].toVector() + + diff --git a/test/data/DataBaseParameters/juno_jedi_elec_180_lower_energy_lookdir0.xml b/test/data/DataBaseParameters/juno_jedi_elec_180_lower_energy_lookdir0.xml new file mode 100644 index 0000000..0ccb74f --- /dev/null +++ b/test/data/DataBaseParameters/juno_jedi_elec_180_lower_energy_lookdir0.xml @@ -0,0 +1,8 @@ + + + + + + #getJunoJediLowerEnergy($juno_jedi_elec_180_mode;0) + + diff --git a/test/data/DataBaseParameters/juno_jedi_elec_180_mode.xml b/test/data/DataBaseParameters/juno_jedi_elec_180_mode.xml new file mode 100644 index 0000000..743c1f8 --- /dev/null +++ b/test/data/DataBaseParameters/juno_jedi_elec_180_mode.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/test/data/DataBaseParameters/juno_jedi_elec_180_upper_energy_lookdir0.xml b/test/data/DataBaseParameters/juno_jedi_elec_180_upper_energy_lookdir0.xml new file mode 100644 index 0000000..fbc8da1 --- /dev/null +++ b/test/data/DataBaseParameters/juno_jedi_elec_180_upper_energy_lookdir0.xml @@ -0,0 +1,8 @@ + + + + + + #getJunoJediUpperEnergy($juno_jedi_elec_180_mode;0) + + diff --git a/test/data/DataBaseParameters/juno_jedi_ion_180_flux.xml b/test/data/DataBaseParameters/juno_jedi_ion_180_flux.xml new file mode 100644 index 0000000..02c51c6 --- /dev/null +++ b/test/data/DataBaseParameters/juno_jedi_ion_180_flux.xml @@ -0,0 +1,27 @@ + + + + Juno Jedi Ion 180 Flux - LookDir 0 + Ion Flux - LookDir 0 + + Flux + + 0 + + + +
+ 0 + + +
+ + + + + + + + $juno_jedi_i180_FLUX[0].toVector() + + diff --git a/test/data/DataBaseParameters/juno_jedi_ion_180_lower_energy_lookdir0.xml b/test/data/DataBaseParameters/juno_jedi_ion_180_lower_energy_lookdir0.xml new file mode 100644 index 0000000..243d298 --- /dev/null +++ b/test/data/DataBaseParameters/juno_jedi_ion_180_lower_energy_lookdir0.xml @@ -0,0 +1,8 @@ + + + + + + #getJunoJediLowerEnergy($juno_jedi_ion_180_mode;0) + + diff --git a/test/data/DataBaseParameters/juno_jedi_ion_180_mode.xml b/test/data/DataBaseParameters/juno_jedi_ion_180_mode.xml new file mode 100644 index 0000000..95ff800 --- /dev/null +++ b/test/data/DataBaseParameters/juno_jedi_ion_180_mode.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/test/data/DataBaseParameters/juno_jedi_ion_180_upper_energy_lookdir0.xml b/test/data/DataBaseParameters/juno_jedi_ion_180_upper_energy_lookdir0.xml new file mode 100644 index 0000000..cc4520e --- /dev/null +++ b/test/data/DataBaseParameters/juno_jedi_ion_180_upper_energy_lookdir0.xml @@ -0,0 +1,8 @@ + + + + + + #getJunoJediUpperEnergy($juno_jedi_ion_180_mode;0) + + -- libgit2 0.21.2