SolutionData#
- class ansys.chemkin.core.chemkin_solution_utility.SolutionData(ckcsv: str | pathlib.Path)#
Manage the imported solution data for the Chemkin solution utility.
Overview#
Read the solution data from the CSV file. |
|
Convert the collected rows into a wide-format DataFrame. |
|
List all solution groups for the Chemkin solution utility. |
|
List all solution variables for the specified solution group. |
|
Return a list of all solution group names. |
|
Return a list of all solution variables for the specified group. |
|
Return the raw data for the specified solution group. |
|
Return the SolutionGroup object for the specified solution group. |
|
Return the array for the specified variable in the given solution group. |
|
Return the number of data points in solution data. |
|
Return the number of gas species and their symbols in solution data. |
|
Return the number of gas species in the solution data. |
|
Return the list of gas species symbols in the solution data. |
|
Validate if the specified solution group exists and has data. |
Import detail#
from ansys.chemkin.core.chemkin_solution_utility import SolutionData
Method detail#
- SolutionData.call_reader(csv_file: str | pathlib.Path)#
Read the solution data from the CSV file.
- SolutionData.save_current_soln_group()#
Convert the collected rows into a wide-format DataFrame.
- SolutionData.list_solution_groups()#
List all solution groups for the Chemkin solution utility.
- SolutionData.list_solution_variables(group_name: str)#
List all solution variables for the specified solution group.
- SolutionData.get_solution_groups() list[str]#
Return a list of all solution group names.
- SolutionData.get_solution_variables(group_name: str) list[str]#
Return a list of all solution variables for the specified group.
- SolutionData.get_solution_group_data(group_name: str) pandas.DataFrame | None#
Return the raw data for the specified solution group.
- SolutionData.get_solution_group_object(group_name: str) SolutionGroup | None#
Return the SolutionGroup object for the specified solution group.
- SolutionData.get_solution_array(group_name: str, var_name: str) pandas.Series[float] | None#
Return the array for the specified variable in the given solution group.
- SolutionData.get_number_of_points() int#
Return the number of data points in solution data.
- SolutionData.get_gas_species_info() tuple[int, list[str]]#
Return the number of gas species and their symbols in solution data.
- SolutionData.get_number_of_gas_species() int#
Return the number of gas species in the solution data.
- SolutionData.get_gas_species_symbols() list[str]#
Return the list of gas species symbols in the solution data.
- SolutionData.validate_group(group_name: str) bool#
Validate if the specified solution group exists and has data.