def trimboth(data, proportiontocut=0.2, inclusive=(True,True), axis=None):
    return trimr(data, limits=(proportiontocut,proportiontocut),
                 inclusive=inclusive, axis=axis)
This function returns the pixels coordinates of all points of 'coordi'
dataset/ETHPy150Open scipy/scipy/scipy/stats/mstats_basic.py/trimboth--crossover with--dataset/ETHPy150Open neuropoly/spinalcordtoolbox/scripts/msct_image.py/Image.transfo_phys2pix