stefano.covino at brera.inaf.it
Thu Feb 11 05:42:42 EST 2016
let’s assume we have a data array read from a FITS file:
data = getdata(‘file.fits’)
I need to do some computations on a subset of it, for instance:
datf = dat[bb-size:bb+size,aa-size:aa+size]
where aa and bb are x,y positions and size a fixed number (e.g. 10).
So, the question. Is it possible that aa and bb are not simple integers but lists or arrays of integers?
More information about the AstroPy