SolutionGroup#
- class ansys.chemkin.core.chemkin_solution_utility.SolutionGroup(group_name: str, raw_group_data: pandas.DataFrame)#
Class representing a single solution group within the Chemkin solution data.
Overview#
Get the index of a variable in the solution group by its name. |
|
Get the index of a gas species by its symbol. |
|
Get the variable name of a gas species by its symbol. |
|
Get the variable index of a gas species by its symbol. |
|
Get the array of values for a variable by its name. |
|
Get the array of values for a variable by its name and a tag. |
|
Get the unit of a variable by its name. |
|
Get the unit of a variable by its name. |
Return the number of variables in the solution group. |
|
Return the name of the solution group. |
|
Return the raw data of the solution group. |
|
Return the list of variable names in the solution group. |
|
Return the species units of the solution group. |
|
Return the number of solution points in the solution group. |
|
Return True if the solution group has any gas species, False otherwise. |
|
Return the number of gas species in the solution group. |
|
Return the list of gas species symbols in the solution group. |
Import detail#
from ansys.chemkin.core.chemkin_solution_utility import SolutionGroup
Property detail#
- property SolutionGroup.number_of_variables: int#
Return the number of variables in the solution group.
- property SolutionGroup.group_name: str#
Return the name of the solution group.
- property SolutionGroup.group_data: pandas.DataFrame#
Return the raw data of the solution group.
- property SolutionGroup.variable_names: list[str]#
Return the list of variable names in the solution group.
- property SolutionGroup.species_unit: str#
Return the species units of the solution group.
- property SolutionGroup.number_of_points: int#
Return the number of solution points in the solution group.
- property SolutionGroup.has_gas_species: bool#
Return True if the solution group has any gas species, False otherwise.
- property SolutionGroup.number_of_gas_species: int#
Return the number of gas species in the solution group.
- property SolutionGroup.gas_species_symbols: list[str]#
Return the list of gas species symbols in the solution group.
Method detail#
- SolutionGroup.get_variable_index(variable_name: str) int#
Get the index of a variable in the solution group by its name.
- SolutionGroup.get_species_index(species_symbol: str) int#
Get the index of a gas species by its symbol.
- SolutionGroup.get_gas_species_variable_name(species_symbol: str) str#
Get the variable name of a gas species by its symbol.
- SolutionGroup.get_gas_species_variable_index(species_symbol: str) int#
Get the variable index of a gas species by its symbol.
- SolutionGroup.get_variable_array(variable_name: str) pandas.Series[float]#
Get the array of values for a variable by its name.
- SolutionGroup.get_variable_array_with_tag(variable_name: str, tag: str) pandas.Series[float]#
Get the array of values for a variable by its name and a tag.
- SolutionGroup.get_variable_unit(variable_name: str) str#
Get the unit of a variable by its name.
- SolutionGroup.get_variable_unit_with_tag(variable_name: str, tag: str) str#
Get the unit of a variable by its name.