Я открыл изображение .fits:
scaled_flat1 = pyfits.open('scaled_flat1.fit')
scaled_flat1a = scaled_flat1[0].data
и когда я печатаю его форму:
print scaled_flat1a.shape
Я получаю следующее:
(1, 1, 510, 765)
Я хочу, чтобы он читал:
(510,765)
Как мне избавиться от этих двух?