×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

ASTAP, Ekos and field curvature analysis

  • Posts: 219
  • Thank you received: 41
Recently, on an Astrobin's message thread I've discovered that ASTAP has a powerful module to analyse focus performance. Basically you need a sequence of images, from the focus procedure. ASTAP expect to found the focus position on FITS header. So, after configuring the camera driver to scoop on my ZWO EAF, I've enabled store debugging images and run a focus sequence with the verbose logging enabled. All fine, all good, at the end I've a folder with all the pictures. And now, the problems begins: the debug images are not plain FITS files, but compressed ones and ASTAP is unable to open them
XTENSION= 'BINTABLE'           / binary table extension
BITPIX  =                    8 / 8-bit bytes
NAXIS   =                    2 / 2-dimensional binary table
NAXIS1  =                    8 / width of table in bytes
NAXIS2  =                  961 / number of rows in table
PCOUNT  =             12591434 / size of special data area
GCOUNT  =                    1 / one data group (required keyword)
TFIELDS =                    1 / number of fields in each row
TTYPE1  = 'COMPRESSED_DATA'    / label for field   1
TFORM1  = '1PB(15033)'         / data format of field: variable length array
ZIMAGE  =                    T / extension contains compressed image
ZSIMPLE =                    T / file does conform to FITS standard
ZBITPIX =                   16 / data type of original image
ZNAXIS  =                    2 / dimension of original image
ZNAXIS1 =                 3008 / length of original image axis
ZNAXIS2 =                 3008 / length of original image axis
ZTILE1  =                  100 / size of tiles to be compressed
ZTILE2  =                  100 / size of tiles to be compressed
ZCMPTYPE= 'RICE_1  '           / compression algorithm
ZNAME1  = 'BLOCKSIZE'          / compression block size
ZVAL1   =                   32 / pixels per block
ZNAME2  = 'BYTEPIX '           / bytes per pixel (1, 2, 4, or 8)
ZVAL2   =                    2 / bytes per pixel (1, 2, 4, or 8)
BZERO   =                32768 / offset data range to that of unsigned short
BSCALE  =                    1 / default scaling factor
DATAMIN =                   0. / Minimum value
DATAMAX =               65532. / Maximum value
MIN1    =                   0. / Min Channel 1
MAX1    =               65532. / Max Channel 1
MEAN1   =     6042.48293781669 / Mean Channel 1
MEDIAN1 =                5996. / Median Channel 1
STDDEV1 =      945.28053571818 / Standard Deviation Channel 1
ROWORDER= 'TOP-DOWN'           / ROWORDER
INSTRUME= 'ZWO CCD ASI533MC Pro' / INSTRUME
TELESCOP= 'EQMod Mount'        / TELESCOP
OBSERVER= 'Unknown '           / OBSERVER
OBJECT  = 'Vega    '           / OBJECT
EXPTIME =                   4. / Total Exposure Time (s)
CCD-TEMP=                 -10. / CCD Temperature (Celsius)
PIXSIZE1=                 3.76 / Pixel Size 1 (microns)
PIXSIZE2=                 3.76 / Pixel Size 2 (microns)
XBINNING=                    1 / Binning factor in width
YBINNING=                    1 / Binning factor in height
XPIXSZ  =                 3.76 / X binned pixel size in microns
YPIXSZ  =                 3.76 / Y binned pixel size in microns
FRAME   = 'Light   '           / FRAME
IMAGETYP= 'Light Frame'        / IMAGETYP
FILTER  = 'L       '           / FILTER
XBAYROFF=                    0 / X offset of Bayer array
YBAYROFF=                    0 / Y offset of Bayer array
BAYERPAT= 'RGGB    '           / Bayer color pattern
FOCALLEN=                 600. / Focal Length (mm)
APTDIA  =                 150. / Telescope diameter (mm)
FOCUSPOS=                16686 / Focus position in steps
FOCUSTEM=                30.32 / Focuser temperature in degrees C
SCALE   =             1.292813 / arcsecs per pixel
SITELAT =             39.47528 / Latitude of the imaging site in degrees
SITELONG=           -0.3761111 / Longitude of the imaging site in degrees
AIRMASS =             1.078274 / AIRMASS
OBJCTAZ =             277.3479 / Azimuth of center of image in Degrees
OBJCTALT=             68.01898 / Altitude of center of image in Degrees
OBJCTRA = '18 37 07.43'        / Object J2000 RA in Hours
OBJCTDEC= '38 46 01.76'        / Object J2000 DEC in Degrees
RA      =              279.281 / Object J2000 RA in Degrees
DEC     =             38.76716 / Object J2000 DEC in Degrees
PIERSIDE= 'EAST    '           / East, looking West
EQUINOX =                 2000 / EQUINOX
CRVAL1  =         279.28097043 / CRVAL1
CRVAL2  =         38.767156302 / CRVAL2
RADECSYS= 'FK5     '           / RADECSYS
CTYPE1  = 'RA---TAN'           / CTYPE1
CTYPE2  = 'DEC--TAN'           / CTYPE2
CRPIX1  =                1504. / CRPIX1
CRPIX2  =                1504. / CRPIX2
SECPIX1 =         1.2928133301 / SECPIX1
SECPIX2 =         1.2928133301 / SECPIX2
CDELT1  =      0.0003591148139 / CDELT1
CDELT2  =      0.0003591148139 / CDELT2
CROTA1  =         356.54639159 / CROTA1
CROTA2  =         356.54639159 / CROTA2
DATE-OBS= '2022-10-24T18:20:31.386' / 2022-10-24T18:20:31.386
COMMENT = '        '           / Generated by INDI
GAIN    =                 340. / GAIN
OFFSET  =                  30. / OFFSET
END



I've not found any place on Ekos to change this configuration (In fact I've not found any reference to FITS compression at all). Do you know if there are any hidden flag to disable compression?
1 year 5 months ago #87484
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 155
  • Thank you received: 12
Isn’t that setting in the indi driver? I believe it is for my Sony dslr.
1 year 5 months ago #87489

Please Log in or Create an account to join the conversation.

  • Posts: 219
  • Thank you received: 41
I don't think so, is a thing of the debug mode.

Anyway, you can install CFITSIO and use funpack command to uncompress the FITS files before you feed them to ASTAP.

Regards
1 year 5 months ago #87495

Please Log in or Create an account to join the conversation.

Time to create page: 3.439 seconds