Commit 7aa0b82fd3c4265ba1d6b9ef6be7892ac3a45c78

Authored by Jürgen Knödlseder
1 parent 7b4ba70b

Update science verification after diffuse map rejection implementation

test/data/sciver/crab_map_nn.xml
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 <parameter name="Scale" scale="1e6" value="0.3" min="0.01" max="1000.0" free="0"/> 7 <parameter name="Scale" scale="1e6" value="0.3" min="0.01" max="1000.0" free="0"/>
8 </spectrum> 8 </spectrum>
9 <spatialModel type="SpatialMap" file="data/sciver/cena_lobes_parkes.fits" normalize="0"> 9 <spatialModel type="SpatialMap" file="data/sciver/cena_lobes_parkes.fits" normalize="0">
10 - <parameter scale="1" name="Prefactor" min="0.001" max="1000.0" value="3" free="0"/> 10 + <parameter scale="1" name="Prefactor" min="0.001" max="1000.0" value="0.3" free="0"/>
11 </spatialModel> 11 </spatialModel>
12 </source> 12 </source>
13 <source name="Background" type="CTAIrfBackground" instrument="CTA"> 13 <source name="Background" type="CTAIrfBackground" instrument="CTA">
test/science_verification.py
@@ -90,7 +90,7 @@ def generate_pull_distribution(model, trials=100, \ @@ -90,7 +90,7 @@ def generate_pull_distribution(model, trials=100, \
90 pattern : str, optional 90 pattern : str, optional
91 Pointing pattern 91 Pointing pattern
92 offset : float, optional 92 offset : float, optional
93 - Source offset from pointing direction 93 + Offset between pointing directions
94 debug : bool, optional 94 debug : bool, optional
95 Enable debugging? 95 Enable debugging?
96 chatter : int, optional 96 chatter : int, optional