data

Interfacing of Tudat(py) to and from other applications.

This module provides with different functionalities that allow to export results from Tudat(py) to other softwares such as MATLAB, to post-process results. A set of methods are also provided to read inputs from other softwares and integrate them with Tudat(py).

Functions

save2txt(solution, filename[, directory])

Save a vector or matrix history to a file.

save_time_history_to_file(solution, filename)

Save a propagated time history to a file.

get_resource_path()

No documentation found.

get_ephemeris_path()

No documentation found.

get_earth_orientation_path()

No documentation found.

get_quadrature_path()

No documentation found.

get_spice_kernel_path()

No documentation found.

get_atmosphere_tables_path()

No documentation found.

get_gravity_models_path()

No documentation found.

get_space_weather_path()

No documentation found.

read_vector_history_from_file(vector_size, ...)

No documentation found.

read_matrix_history_from_file(matrix_rows, ...)

No documentation found.

save2txt(solution, filename, directory='./')[source]

Save a vector or matrix history to a file.

This function can be used to save a dictionary that maps epochs to a vector or matrix at the given epoch.

Parameters:
  • solution (Dict[float, numpy.ndarray]) – Dictionary mapping floats (e.g. the simulation time steps) to arrays (e.g. the propagated state time series).

  • filename (str) – Name of the text file that is to be saved.

  • directory (str, optional, default="./") – Directory in which to save the text file.

save_time_history_to_file(solution, filename, directory='./')[source]

Save a propagated time history to a file.

This function can be used to save a propagated state history to a text file. It can also be used for instance to save a dependent variable history, or a sensitivity matrix history.

Note

This function is essentially the same method as save2txt(), offering the same functionality under a different name.

Parameters:
  • solution (Dict[float, numpy.ndarray]) – Dictionary mapping the simulation time steps to the propagated state time series.

  • filename (str) – Name of the text file that is to be saved.

  • directory (str, optional, default="./") – Directory in which to save the text file.

get_resource_path() str

No documentation found.

get_ephemeris_path() str

No documentation found.

get_earth_orientation_path() str

No documentation found.

get_quadrature_path() str

No documentation found.

get_spice_kernel_path() str

No documentation found.

get_atmosphere_tables_path() str

No documentation found.

get_gravity_models_path() str

No documentation found.

get_space_weather_path() str

No documentation found.

read_vector_history_from_file(vector_size: int, file_name: str) dict[float, Eigen::Matrix<double, -1, 1, 0, -1, 1>]

No documentation found.

read_matrix_history_from_file(matrix_rows: int, matrix_columns: int, file_name: str) dict[float, Eigen::Matrix<double, -1, -1, 0, -1, -1>]

No documentation found.