Commit c090b9156fae382ff13a24c48bfb6396a1b80eb5
1 parent
059936bc
added swig and test placeholder for is_onoff method
Showing
2 changed files
with
5 additions
and
0 deletions
pyext/ctool.i
| ... | ... | @@ -100,6 +100,7 @@ public: |
| 100 | 100 | %rename(_get_skydir) get_skydir; |
| 101 | 101 | %rename(_set_outfile_name) set_outfile_name; |
| 102 | 102 | %rename(_is_stacked) is_stacked; |
| 103 | + %rename(_is_onoff) is_onoff; | |
| 103 | 104 | %rename(_set_response) set_response; |
| 104 | 105 | %rename(_set_edisp) set_edisp; |
| 105 | 106 | %rename(_restore_edisp) restore_edisp; |
| ... | ... | @@ -146,6 +147,7 @@ public: |
| 146 | 147 | |
| 147 | 148 | // Protected methods that query user parameters |
| 148 | 149 | bool is_stacked(void); |
| 150 | + bool is_onoff(void); | |
| 149 | 151 | |
| 150 | 152 | // Protected support methods |
| 151 | 153 | void set_response(GObservations& obs); | ... | ... |