code: def add_exposure(self, layer):
          
          self._exposures.append(layer)
          self._is_ready = False
docs: Add an exposure layer in the analysis.
  
          :param layer: An exposure layer to be used for the analysis.
          :type layer: QgsMapLayer