def _validate_gain_A_value(self, gain_A):
if gain_A not in self._valid_gains_for_channel_A:<EOL><INDENT>raise ParameterValidationError("<STR_LIT>".format(gain_A=gain_A))<EOL><DEDENT>
validate a given value for gain_A

:type gain_A: int
:raises: ValueError