teste.xml
1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
---|---|
2 |
<source_library title="source library"> |
3 |
<source name="subh" type="DiffuseSource"> |
4 |
<spectrum file="energy_flux.txt" type="FileFunction"> |
5 |
<parameter free="1" max="1e4" min="1e-4" name="Normalization" scale="1.0" value="1.0" /> |
6 |
</spectrum>
|
7 |
<spatialModel type="DiffuseIsotropic"> |
8 |
<parameter name="Value" scale="1.0" value="1.0" min="0.0" max="10.0" free="0"/> |
9 |
</spatialModel>
|
10 |
</source>
|
11 |
<source instrument="CTA" name="CTABackgroundModel" type="CTAIrfBackground"> |
12 |
<spectrum type="PowerLaw"> |
13 |
<parameter free="1" max="1e3" min="1e-3" name="Prefactor" scale="1.0" value="1.0" /> |
14 |
<parameter free="0" max="1e2" min="1e-2" name="PivotEnergy" scale="1e6" value="1.0" /> |
15 |
<parameter free="1" max="+5.0" min="-5.0" name="Index" scale="1.0" value="0.0" /> |
16 |
</spectrum>
|
17 |
</source>
|
18 |
</source_library>
|
19 |
|