Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature/mars rotation #34

Merged
merged 2 commits into from
Jan 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ namespace rotation_model {
.def_property_readonly("target_frame", &tss::RotationModelSettings::getTargetFrame,
get_docstring("RotationModelSettings.target_frame").c_str());

py::class_<tss::SimpleRotationModelSettings,
std::shared_ptr<tss::SimpleRotationModelSettings>,
tss::RotationModelSettings>(m, "SimpleRotationModelSettings",
get_docstring("SimpleRotationModelSettings").c_str());

py::class_<tss::PlanetaryRotationModelSettings,
std::shared_ptr<tss::PlanetaryRotationModelSettings>,
tss::RotationModelSettings>(m, "PlanetaryRotationModelSettings",
get_docstring("PlanetaryRotationModelSettings").c_str());


m.def("simple",
py::overload_cast<const std::string &, const std::string &,
Expand Down Expand Up @@ -131,9 +141,14 @@ namespace rotation_model {
get_docstring("constant").c_str()
);

m.def("mars_high_accuracy",
&tss::getHighAccuracyMarsRotationModel,
get_docstring("mars_high_accuracy").c_str()
);

}

}// namespace rotation_model
}// namespace environment_setup
}// namespace numerical_simulation
}// namespace tudatpy
}// namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,22 @@ void expose_estimated_parameter_setup(py::module &m) {
py::arg("body"),
py::arg("centralBody") );

m.def("core_factor",
&tep::coreFactor,
py::arg("body") );

m.def("free_core_nutation_rate",
&tep::freeCoreNutationRate,
py::arg("body") );

m.def("periodic_spin_variations",
&tep::periodicSpinVariations,
py::arg("body") );

m.def("polar_motion_amplitudes",
&tep::polarMotionAmplitudes,
py::arg("body") );

}

}// namespace
Expand Down