From 1dd8eb1b09743dea69ec4a6bea9ee89889e8738c Mon Sep 17 00:00:00 2001 From: MarieFayolle Date: Thu, 26 Sep 2024 15:12:29 +0200 Subject: [PATCH] fixed concatenated_weights exposure. --- .../kernel/expose_numerical_simulation/expose_estimation.cpp | 2 +- .../expose_estimated_parameter_setup.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_estimation.cpp b/tudatpy/kernel/expose_numerical_simulation/expose_estimation.cpp index b03291a9..b8e83bd5 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_estimation.cpp +++ b/tudatpy/kernel/expose_numerical_simulation/expose_estimation.cpp @@ -570,7 +570,7 @@ void expose_estimation(py::module &m) { get_docstring("ObservationCollection.concatenated_times").c_str() ) .def_property_readonly("concatenated_float_times", &tom::ObservationCollection::getConcatenatedDoubleTimeVector, get_docstring("ObservationCollection.concatenated_times").c_str() ) - .def_property_readonly("concatenated_weights", &tom::ObservationCollection::getConcatenatedWeightVector, + .def_property_readonly("concatenated_weights", &tom::ObservationCollection::getConcatenatedWeights, get_docstring("ObservationCollection.concatenated_weights").c_str() ) .def_property_readonly("concatenated_observations", &tom::ObservationCollection::getObservationVector, get_docstring("ObservationCollection.concatenated_observations").c_str() ) diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_estimated_parameter_setup.cpp b/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_estimated_parameter_setup.cpp index ca6c3840..1463ca09 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_estimated_parameter_setup.cpp +++ b/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_estimated_parameter_setup.cpp @@ -38,7 +38,7 @@ void expose_estimated_parameter_setup(py::module &m) { .value("constant_drag_coefficient_type", tep::EstimatebleParametersEnum::constant_drag_coefficient) .value("radiation_pressure_coefficient_type", tep::EstimatebleParametersEnum::radiation_pressure_coefficient) .value("arc_wise_radiation_pressure_coefficient_type", tep::EstimatebleParametersEnum::arc_wise_radiation_pressure_coefficient) - .value("spherical_harmonics_cosine_coefficient_block_type", tep::EstimatebleParametersEnum::arc_wise_initial_body_state) + .value("spherical_harmonics_cosine_coefficient_block_type", tep::EstimatebleParametersEnum::spherical_harmonics_cosine_coefficient_block) .value("spherical_harmonics_sine_coefficient_block_type", tep::EstimatebleParametersEnum::spherical_harmonics_sine_coefficient_block) .value("constant_rotation_rate_type", tep::EstimatebleParametersEnum::constant_rotation_rate) .value("rotation_pole_position_type", tep::EstimatebleParametersEnum::rotation_pole_position)