qspec.half_integer_to_fraction ( val )[source] Parameters: valscalar A scalar value. Returns: outtuple[int, int] The numerator and denominator of the half-integer.