combine_stats¶
-
gammapy.stats.combine_stats(stats_1, stats_2, weight_method='none')[source]¶ Combine using some weight method for the exposure.
Parameters: stats_1 :
StatsObservation 1
stats_2 :
StatsObservation 2
weight_method : {‘none’, ‘background’, ‘n_off’}
Observation weighting method.
Returns: stats :
StatsCombined Observation 1 and 2