Skip to content

Commit

Permalink
remove model_data column
Browse files Browse the repository at this point in the history
  • Loading branch information
jurjen93 committed Aug 26, 2024
1 parent adb714f commit 104d9e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subtract/subtract_with_wsclean.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ def subtract_col(self, out_column: str = None):
if not self.onlyprint:
model = ts.getcol('MODEL_DATA', startrow=c, nrow=best_slice)
ts.putcol(out_column, data - model if not self.inverse else data + model, startrow=c, nrow=best_slice)
ts.removecols(['MODEL_DATA'])
ts.close()

return self
Expand Down

0 comments on commit 104d9e7

Please sign in to comment.