bessagroup / f3dasm

Framework for Data-Driven Design & Analysis of Structures & Materials (F3DASM)
https://f3dasm.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
115 stars 30 forks source link

Get a way to extract input and output data from ExperimentData #200

Closed mpvanderschelling closed 1 year ago

mpvanderschelling commented 1 year ago

I have added two methods to ExperimenData: .get_input_data(parameter_names) and get_output_data(parameter_names). Both return a new ExperimentData object with the selected parameter names.

If no names are given, the whole input data or output data columns are extracted respectively

mpvanderschelling commented 1 year ago

Also for the get_input_data, the Domain object will be updated to represent the new domain where only the selected parameters are part of