Commit 28f5aded94ff130a3f9fdf8b0f662c48faf1ab2f
1 parent
509b50fa
Response cubes now have 21 energy values for 20 energy bins
Showing
2 changed files
with
2 additions
and
2 deletions
test/test_ctexpcube.py
| ... | ... | @@ -159,7 +159,7 @@ class Test(gammalib.GPythonTestSuite): |
| 159 | 159 | result = gammalib.GCTACubeExposure(filename) |
| 160 | 160 | |
| 161 | 161 | # Check dimensions |
| 162 | - self.test_value(len(result.elogmeans()), 20, 'Check for 20 energy bins') | |
| 162 | + self.test_value(len(result.energies()), 21, 'Check for 21 energy values') | |
| 163 | 163 | |
| 164 | 164 | # Return |
| 165 | 165 | return | ... | ... |
test/test_ctpsfcube.py
| ... | ... | @@ -163,7 +163,7 @@ class Test(gammalib.GPythonTestSuite): |
| 163 | 163 | result = gammalib.GCTACubePsf(filename) |
| 164 | 164 | |
| 165 | 165 | # Check dimensions |
| 166 | - self.test_value(len(result.elogmeans()), 20, 'Check for 20 energy bins') | |
| 166 | + self.test_value(len(result.energies()), 21, 'Check for 21 energy values') | |
| 167 | 167 | |
| 168 | 168 | # Return |
| 169 | 169 | return | ... | ... |