CompAero/FannoFlowRelations.py
def calc_mach_from_T_TStar(t_tSt: float, gamma: float) -> float:
        """Calculates the mach number based of the ratio of static temperature to sonic static temperature T/T*

        Args:
            t_tSt (float): Ratio of static temperature to sonic static temperature T/T*
            gamma (float): ratio of specific heats

        Returns:
            float: mach number
        """
        return brenth(FannoFlowRelations.calc_T_Tstar, 1e-9, 40, args=(gamma, t_tSt,))
Calculates the mach number based of the ratio of static temperature to sonic static temperature T/T*

        Args:
            t_tSt (float): Ratio of static temperature to sonic static temperature T/T*
            gamma (float): ratio of specific heats

        Returns:
            float: mach number
        
Calculates the mach number based of the ratio of static temperature to sonic static temperature T/T
Calculates the mach number based of the ratio of static temperature to sonic static temperature T / T
def calc_mach_from_T_TStar(t_tSt: float, gamma: float) -> float:
        return brenth(FannoFlowRelations.calc_T_Tstar, 1e-9, 40, args=(gamma, t_tSt,))
def calc_mach_from_T_TStar ( t_tSt : float , gamma : float ) -> float : return brenth ( FannoFlowRelations . calc_T_Tstar , 1e-9 , 40 , args = ( gamma , t_tSt , ) )
Calculates the mach number based of the ratio of static temperature to sonic static temperature T/T
Calculates the mach number based of the ratio of static temperature to sonic static temperature T / T
"""Calculates the mach number based of the ratio of static temperature to sonic static temperature T/T*

        Args:
            t_tSt (float): Ratio of static temperature to sonic static temperature T/T*
            gamma (float): ratio of specific heats

        Returns:
            float: mach number
        """
None
float
t_tSt
float
Ratio of static temperature to sonic static temperature T/T
Ratio of static temperature to sonic static temperature T / T
gamma
float
ratio of specific heats
ratio of specific heats