calc_J# Piper.calc_J(sg=None, H2S=None, CO2=None, N2=None)[source]# Calculates the Stewart-Burkhardt-VOO parameter J, (°R/psia) Parameters: sg (float) – specific gravity of gas (dimensionless) H2S (float) – mole fraction of H2S (dimensionless) CO2 (float) – mole fraction of CO2 (dimensionless) N2 (float) – mole fraction of N2 (dimensionless) Returns: SBV parameter, J, (°R/psia) Return type: float