autoemulate.simulations.projectile#
- simulator_base(x)[source]#
Simulator to solve ODE system for projectile motion with drag. Returns distance projectile travels.
- Parameters:
x (array) – Array of input parameters (c, v0).
- Returns:
results – Results of ODE integration.
- Return type:
scipy.integrate.OdeResult
- simulate_projectile(x)[source]#
Simulator to solve ODE system for projectile motion with drag. Returns distance projectile travels.
- Parameters:
x (array) – Array of input parameters (c, v0).
- Returns:
distance – Distance travelled by projectile.
- Return type:
- simulate_projectile_multioutput(x)[source]#
Simulator to solve ODE system with multiple outputs.
- Parameters:
x (array) – Array of input parameters (c, v0).
- Returns:
distance (float) – Distance travelled by projectile.
velocity (float) – Velocity of projectile at impact.
- print_results(inputs, arg, var)[source]#
Convenience function for printing out generic results.
- Parameters:
inputs (array) – Array of input values.
arg (array) – Array of mean values.
var (array) – Array of variance values.
- Return type:
None.