def calc_area_under_curve(self):
    ' Calculate area under each curve within acceptance angle,\n        represents intensity that the detector sees'
    sin = np.absolute(np.sin(((np.arange((- 90), 90, 1) * np.pi) / 180)))
    angle_integrated = ((self.angle_limited * sin) * np.pi)
    self.area_sum = np.sum(angle_integrated, axis=1)
    self.area_sum = (self.area_sum / self.area_sum[0])
    return self.area_sum
Calculate area under each curve within acceptance angle,
represents intensity that the detector sees
def calc_area_under_curve(self):
    ' Calculate area under each curve within acceptance angle,\n        represents intensity that the detector sees'
    sin = np.absolute(np.sin(((np.arange((- 90), 90, 1) * np.pi) / 180)))
    angle_integrated = ((self.angle_limited * sin) * np.pi)
    self.area_sum = np.sum(angle_integrated, axis=1)
    self.area_sum = (self.area_sum / self.area_sum[0])
    return self.area_sum