- class matlantis_features.features.common.gas_formation_enthalpy.ComplexGasFormationEnthalpyFeatureResult(temperature: Dict[str, List[float]], pressure: Dict[str, List[float]], formation_enthalpy: Dict[str, List[float]])#
-
Bases:
object
A dataclass for result of ComplexFormationEnthalpyFeature.
Methods
__init__
(temperature, pressure, …)to_dataframe
([csv_name])Converts the formation enthalpy calculation result to pandas.DataFrame.
- __init__(temperature: Dict[str, List[float]], pressure: Dict[str, List[float]], formation_enthalpy: Dict[str, List[float]]) None #
- to_dataframe(csv_name: Optional[str] = None) DataFrame #
-
Converts the formation enthalpy calculation result to pandas.DataFrame.
- Parameters
-
csv_name (str or None, optional) – The csv file path to which the dataframe will be
saved. If ‘None’ is provided, the dataframe will not be saved. Defaults to None. - Returns
-
The pandas.DataFrame which contains temperature, pressure and formation_enthalpy.
- Return type
-
pd.DataFrame
Attributes
- dict#
-
Dictionary representation of the ComplexFormationEnthalpyFeatureResult.
- Returns
-
Formation enthalpy in dictionary format.
- Return type
-
dict[str, Any]
- temperature: Dict[str, List[float]]#
- pressure: Dict[str, List[float]]#
- formation_enthalpy: Dict[str, List[float]]#
Resource Library
matlantis_features.features.common.gas_formation_enthalpy.ComplexGasFormationEnthalpyFeatureResult