ctlike.py
1 |
import gammalib |
---|---|
2 |
import ctools |
3 |
import cscripts |
4 |
import numpy as np |
5 |
|
6 |
like = ctools.ctlike() |
7 |
like['inobs'] = './obs.xml' |
8 |
like['caldb'] = 'prod3b-v2' |
9 |
like['irf'] = 'South_z20_0.5h' |
10 |
like['inmodel'] = './model_TS.xml' |
11 |
like['chatter'] = 3 |
12 |
like['outmodel'] = './outmodel6.xml' |
13 |
like['logfile'] = './logfile6.log' |
14 |
like.logFileOpen() |
15 |
like.execute() |