yas-nakajima

Results 8 comments of yas-nakajima

Thank you for your reply. It doesn't work. ``` import astroalign as aa from astropy.io import fits target = fits.getdata('target.fits') source = fits.getdata('source.fits') target = target.newbyteorder() source = source.newbyteorder() reg_im,...

The program without .newbyteorder() lines works for the same FITS files with scikit-image==0.15.0. The FITS files does not contain `nan`s and , for example, DS9 displays the FITS file properly....

Thanks, Martin. I sent you the FITS files. By the way, the FITSVERIFY yields no errors for them. I tried with an intel 64bit PC + CentOS 7 and obtained...

``` - target = target.newbyteorder() - source = source.newbyteorder() + target = target.byteswap().newbyteorder() + source = source.byteswap().newbyteorder() ``` FYI. byteswap() is needed. Because skimage.transform.warp does not accept Big-endian, I would...

imexamine.py Correct L637 `pstr = f"\n{x:.2f}\t{y:0.2f}\t{radius}\t{total_flux:0.2}\t{mag:0.2}\t"` to `pstr = f"\n{xx:.2f}\t{yy:0.2f}\t{radius}\t{total_flux:0.2}\t{mag:0.2}\t"` Delete L685 `print(xx,yy,pad)` Thanks

imexamine.py L650 `pstr += f"{sigma:0.2f},{sigmay:0.2f}"` shoud be `pstr += f"{fwhmx:0.2f},{fwhmy:0.2f}"`

I have the same problem with version 0.9.1 when I use it with the int16 data. I think correcting `flux -= sky_per_pix` to `flux = flux - sky_per_pix`at L1163 of...