code: def set_noise_sampler(self, value):
          ''' setter '''
          if isinstance(value, NoiseSampler) is False:
              raise TypeError("The type of `__noise_sampler` must be `NoiseSampler`.")
          self.__noise_sampler = valuf set_noise_sampler(self, value):
          ''' setter '''
          if isinstance(value, NoiseSampler) is False:
              raise TypeError("The type of `__noise_sampler` must be `NoiseSampler`.")
          self.__noise_sampler = value
docs: setter