diff --git a/Core/Simulation/OffSpecSimulation.cpp b/Core/Simulation/OffSpecSimulation.cpp
index 54e7c2918342356a9a9a32f7a631180316c64279..974c4f4090594d0e1dd03a77097e46ded340c8fd 100644
--- a/Core/Simulation/OffSpecSimulation.cpp
+++ b/Core/Simulation/OffSpecSimulation.cpp
@@ -55,12 +55,6 @@ OutputData<double>*OffSpecSimulation::getDetectorIntensity(AxesUnits units_type)
     return m_intensity_map.clone();
 }
 
-Histogram2D* OffSpecSimulation::getIntensityData() const
-{
-    const std::unique_ptr<OutputData<double>> data(getDetectorIntensity());
-    return new Histogram2D(*data);
-}
-
 void OffSpecSimulation::setBeamParameters(double lambda, const IAxis& alpha_axis, double phi_i)
 {
     mP_alpha_i_axis.reset(alpha_axis.clone());
diff --git a/Core/Simulation/OffSpecSimulation.h b/Core/Simulation/OffSpecSimulation.h
index 04ab8b340fa80259860f8317401e5b954a213f91..6d3180e4cd239a5169dc05302379971ee478a03e 100644
--- a/Core/Simulation/OffSpecSimulation.h
+++ b/Core/Simulation/OffSpecSimulation.h
@@ -46,9 +46,6 @@ public:
     OutputData<double>* getDetectorIntensity(
             AxesUnits units_type = AxesUnits::DEFAULT) const override;
 
-    //! Returns clone of the detector intensity map in the form of 2D histogram.
-    Histogram2D* getIntensityData() const;
-
     //! Sets beam parameters from here (forwarded to Instrument)
     void setBeamParameters(double lambda, const IAxis& alpha_axis, double phi_i);
 
diff --git a/auto/Wrap/libBornAgainCore.py b/auto/Wrap/libBornAgainCore.py
index 5038dc2f3e31d1df45ac96f22b92a472b43767b3..cd13543c95c94a9d2c8235d63707563ac334f50b 100644
--- a/auto/Wrap/libBornAgainCore.py
+++ b/auto/Wrap/libBornAgainCore.py
@@ -23699,18 +23699,6 @@ class OffSpecSimulation(Simulation2D):
         return _libBornAgainCore.OffSpecSimulation_getDetectorIntensity(self, *args)
 
 
-    def getIntensityData(self):
-        """
-        getIntensityData(OffSpecSimulation self) -> Histogram2D
-
-        Histogram2D * OffSpecSimulation::getIntensityData() const
-
-        Returns clone of the detector intensity map in the form of 2D histogram. 
-
-        """
-        return _libBornAgainCore.OffSpecSimulation_getIntensityData(self)
-
-
     def setBeamParameters(self, arg2, alpha_axis, phi_i):
         """
         setBeamParameters(OffSpecSimulation self, double arg2, IAxis alpha_axis, double phi_i)
diff --git a/auto/Wrap/libBornAgainCore_wrap.cpp b/auto/Wrap/libBornAgainCore_wrap.cpp
index 7a2cf66c139f5f4314d12e5e3b1e5b128f33d738..04b97783f37ef12b21d1a402d047ffa08d08278f 100644
--- a/auto/Wrap/libBornAgainCore_wrap.cpp
+++ b/auto/Wrap/libBornAgainCore_wrap.cpp
@@ -99625,28 +99625,6 @@ fail:
 }
 
 
-SWIGINTERN PyObject *_wrap_OffSpecSimulation_getIntensityData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
-  PyObject *resultobj = 0;
-  OffSpecSimulation *arg1 = (OffSpecSimulation *) 0 ;
-  void *argp1 = 0 ;
-  int res1 = 0 ;
-  PyObject * obj0 = 0 ;
-  Histogram2D *result = 0 ;
-  
-  if (!PyArg_ParseTuple(args,(char *)"O:OffSpecSimulation_getIntensityData",&obj0)) SWIG_fail;
-  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_OffSpecSimulation, 0 |  0 );
-  if (!SWIG_IsOK(res1)) {
-    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OffSpecSimulation_getIntensityData" "', argument " "1"" of type '" "OffSpecSimulation const *""'"); 
-  }
-  arg1 = reinterpret_cast< OffSpecSimulation * >(argp1);
-  result = (Histogram2D *)((OffSpecSimulation const *)arg1)->getIntensityData();
-  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Histogram2D, SWIG_POINTER_OWN |  0 );
-  return resultobj;
-fail:
-  return NULL;
-}
-
-
 SWIGINTERN PyObject *_wrap_OffSpecSimulation_setBeamParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
   PyObject *resultobj = 0;
   OffSpecSimulation *arg1 = (OffSpecSimulation *) 0 ;
@@ -124495,14 +124473,6 @@ static PyMethodDef SwigMethods[] = {
 		"Returns clone of the detector intensity map. \n"
 		"\n"
 		""},
-	 { (char *)"OffSpecSimulation_getIntensityData", _wrap_OffSpecSimulation_getIntensityData, METH_VARARGS, (char *)"\n"
-		"OffSpecSimulation_getIntensityData(OffSpecSimulation self) -> Histogram2D\n"
-		"\n"
-		"Histogram2D * OffSpecSimulation::getIntensityData() const\n"
-		"\n"
-		"Returns clone of the detector intensity map in the form of 2D histogram. \n"
-		"\n"
-		""},
 	 { (char *)"OffSpecSimulation_setBeamParameters", _wrap_OffSpecSimulation_setBeamParameters, METH_VARARGS, (char *)"\n"
 		"OffSpecSimulation_setBeamParameters(OffSpecSimulation self, double arg3, IAxis alpha_axis, double phi_i)\n"
 		"\n"