Commit e98c4ecf0a94386cc3b46f493adfd96a0d47e24c
1 parent
a2619925
Update cssrcdetect test to include new parameters.
Showing
1 changed file
with
7 additions
and
0 deletions
test/test_cssrcdetect.py
| ... | ... | @@ -75,6 +75,8 @@ class Test(test): |
| 75 | 75 | cmd = cssrcdetect+' inmap="'+self._map+'"'+ \ |
| 76 | 76 | ' outmodel="cssrcdetect_cmd1.xml"'+ \ |
| 77 | 77 | ' outds9file="cssrcdetect_cmd1.reg"'+ \ |
| 78 | + ' momentradius=200.0'+ \ | |
| 79 | + ' smoothkernel=NONE smoothparam=0.1'+ \ | |
| 78 | 80 | ' srcmodel="POINT" bkgmodel="NONE" threshold=10.0'+ \ |
| 79 | 81 | ' logfile="cssrcdetect_cmd1.log" chatter=1' |
| 80 | 82 | |
| ... | ... | @@ -89,6 +91,8 @@ class Test(test): |
| 89 | 91 | cmd = cssrcdetect+' inmap="skymap_that_does_not_exist"'+ \ |
| 90 | 92 | ' outmodel="cssrcdetect_cmd1.xml"'+ \ |
| 91 | 93 | ' outds9file="cssrcdetect_cmd1.reg"'+ \ |
| 94 | + ' momentradius=200.0'+ \ | |
| 95 | + ' smoothkernel=NONE smoothparam=0.1'+ \ | |
| 92 | 96 | ' srcmodel="POINT" bkgmodel="NONE" threshold=10.0'+ \ |
| 93 | 97 | ' logfile="cssrcdetect_cmd2.log" debug=yes chatter=2' |
| 94 | 98 | |
| ... | ... | @@ -130,6 +134,9 @@ class Test(test): |
| 130 | 134 | srcdetect['srcmodel'] = 'POINT' |
| 131 | 135 | srcdetect['bkgmodel'] = 'NONE' |
| 132 | 136 | srcdetect['threshold'] = 10.0 |
| 137 | + srcdetect['momentradius'] = 200.0 | |
| 138 | + srcdetect['smoothkernel'] = "NONE" | |
| 139 | + srcdetect['smoothparam'] = 0.1 | |
| 133 | 140 | srcdetect['logfile'] = 'cssrcdetect_py1.log' |
| 134 | 141 | srcdetect['chatter'] = 2 |
| 135 | 142 | ... | ... |