Skip to content

Add inplace arguments

Martin Shepherd requested to merge add_inplace_arguments into master

This branch adds optional boolean 'inplace' arguments to public functions of Image,Spectrum and Cube that normally operate on copies of their input objects. The inplace argument allows the user to request that the operation instead be performed "in-place" on the input object.

Note that this argument replaces the recently added "copy" arguments that I had added to a few functions in image.py.

Merge request reports