Project

General

Profile

Revision 839:8f07baeb93fe

Select in groundpixel dimension, not in scanline dimension

View differences:

src/pycama/transform/Filters.py
97 97
            primary = np.ma.asarray(primary)
98 98
            mask = np.zeros(primary.shape, dtype=np.bool)
99 99
        
100
        mask[0:offset, ...] = True
101
        mask[-offset:, ...] = True
100
        mask[:, 0:offset, ...] = True
101
        mask[:, -offset:, ...] = True
102 102
        primary.mask = mask
103 103
        
104 104
        return primary

Also available in: Unified diff