update for background_model as property
@@ -415,6 +415,8 @@ class MapDataset(Dataset):
background_model = other.background_model
if self.background_model and background_model:
+ self._background_model.map *= self.mask_safe
+ self._background_model.stack(background_model, other.mask_safe)
self.models = Models([self.background_model])
else:
self.models = None
