Commit bb3fc5dae492326f50f46b29df1cb28b9b0c0b83
1 parent
8fda31bf
Replace cube() by bkgcube() method.
Showing
2 changed files
with
2 additions
and
2 deletions
scripts/cslightcrv.py
| ... | ... | @@ -480,7 +480,7 @@ class cslightcrv(ctools.cscript): |
| 480 | 480 | obs = bin.obs() |
| 481 | 481 | |
| 482 | 482 | # Set precomputed binned response |
| 483 | - obs[0].response(expcube.expcube(), psfcube.psfcube(), bkgcube.cube()) | |
| 483 | + obs[0].response(expcube.expcube(), psfcube.psfcube(), bkgcube.bkgcube()) | |
| 484 | 484 | |
| 485 | 485 | # Get new models |
| 486 | 486 | models = bkgcube.models() | ... | ... |
scripts/csspec.py
| ... | ... | @@ -424,7 +424,7 @@ class csspec(ctools.cscript): |
| 424 | 424 | obs = bin.obs() |
| 425 | 425 | |
| 426 | 426 | # Set precomputed binned response |
| 427 | - obs[0].response(expcube.expcube(), psfcube.psfcube(), bkgcube.cube()) | |
| 427 | + obs[0].response(expcube.expcube(), psfcube.psfcube(), bkgcube.bkgcube()) | |
| 428 | 428 | |
| 429 | 429 | # Get new models |
| 430 | 430 | models = bkgcube.models() | ... | ... |