You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: Callback function for collecting additional data from Monte Carlo sims #699
EnhancementNew feature or request, including adjustments in current codesHelp wantedExtra attention is neededMonte CarloMonte Carlo and related contents
Is your feature request related to a problem? Please describe.
When running Monte Carlo sims currently you are limited to the predefined variables when exporting the results. For certain applications, I'd like to be able to get other data points that aren't already in the default list or generate my own variables from the Flight class after the sim has run and add them to the exported dict. My primary use for this would be to export environmental data as at the moment when aggregating multiple sims together with multiple different dates/times or weather forecasts the only way to differentiate is by embedding the data in the file name which becomes quite arduous when you have a lot of additional data you want to add. It can also be useful to export sensor data since it can then be used for sensor mocking.
Describe the solution you'd like
My idea to fix this would be a function you pass to the MonteCarlo class which takes a Flight as an argument and returns a dict which can then be appended to the output dict of the simulation. This would allow other data points to be exported like environmental data and sensor data from the rocket.
changed the title [-]Callback function for collecting additional data from Monte Carlo sims[/-][+]ENH: Callback function for collecting additional data from Monte Carlo sims[/+]on Oct 11, 2024
EnhancementNew feature or request, including adjustments in current codesHelp wantedExtra attention is neededMonte CarloMonte Carlo and related contents
Activity
emtee14 commentedon Oct 1, 2024
Also to add myself or someone from LURA is happy to implement this
[-]Callback function for collecting additional data from Monte Carlo sims[/-][+]ENH: Callback function for collecting additional data from Monte Carlo sims[/+]Gui-FernandesBR commentedon Nov 2, 2024
related: #269
Gui-FernandesBR commentedon Nov 23, 2024
This is coming as a new feature in the next release!