nfbouche

Results 3 issues of nfbouche

when using lbda in Angstrom, the line def get_3darray(self, lbda, shape, center=None): """Return FSF cube at the given wavelengths.""" return Moffat2D(self.get_fwhm(lbda, unit='pix'), self.get_beta(lbda), shape, center) should be def get_3darray(self, lbda,...

for unit=u.Unit('nanomaggy'), the line fits.py:170 dsthdr['BUNIT'] = (unit.to_string('fits'), 'data unit type') failes inside a try/except. fix is replacing line fits.py:171 by except: instead of except u.format.fits.UnitScaleError:

in CubeList.py, the following line 405-406 {{ if expnb is not None and 'EXPTIME' in hdr: hdr['EXPTIME'] = hdr['EXPTIME'] * expnb }} does not take into account the possibility to...