chemaxon.calculations.ph_range

@dataclass
class PhRange:

Class representing pH range. The range goes from lower_bound to upper_bound (inclusive) with the step size of step.

PhRange(lower_bound: float, upper_bound: float, step: float)
lower_bound: float

Lower bound of the pH range.

upper_bound: float

Inclusive upper bound of the pH range.

step: float

Step size for the pH range.

def single_value_ph_range(ph: float) -> PhRange:

Helper function to create a PhRange object for a single pH value.