Closed wschoenell closed 7 years ago
I think this should be a feature of each camera drivers, as not all camera supports subframes.
Abraço,
T.
On 5 Apr 2017 21:39 -0300, William Schoenell notifications@github.com, wrote:
Subframe option is not implemented on fake camera. Neither subframe information is written on image headers.
For a fake config:
chimera-dome --open-slit && chimera-cam -t .1 --subframe=100,200:100,200 Opening dome slit ... OK ======================================== Taking 1 OBJECT frame[s] Shutter: OPEN Interval between frames: 0.000s Cooling disabled. Current CCD temperature: 20.905 oC No binning Subframe: 100,200:100,200 ======================================== synchronizing dome slit ... OK ======================================== [001/001] [Wed Apr 5 21:32:01 2017] exposing (0.100s) ... OK (took 0.113 s) reading out and saving ... OK (took 2.251 s) (/Users/william/images/20170405/20170406-003203.fits) OK (took 2.135 s) [001/001] took 2.253s ======================================== Total time: 2.731s ======================================== Wed Apr 5 21:32:03 2017 ======================================== $ fitsinfo /Users/william/images/20170405/20170406-003116.fits Filename: /Users/william/images/20170405/20170406-003116.fits No. Name Type Cards Dimensions Format 0 PRIMARY PrimaryHDU 49 (512, 512) int16 $ fitsheader /Users/william/images/20170405/20170406-003116.fits # HDU 0 in /Users/william/images/20170405/20170406-003116.fits: SIMPLE = T / conforms to FITS standard BITPIX = 16 / array data type NAXIS = 2 / number of array dimensions NAXIS1 = 512 NAXIS2 = 512 EXTEND = T DATE = '2017-04-06T00:31:16.069562' / date of file creation AUTHOR = 'chimera ' / author of the data FILENAME= '20170406-003116.fits' / name of the file OBJECT = 'object ' / name of observed object SITE = 'CTIO ' / Site name (in config) LATITUDE= '-70:48:20.480' / Site latitude LONGITUD= '-30:10:04.310' / Site longitude ALTITUDE= '2187 ' / Site altitude DATE-OBS= '2017-04-06T00:31:12.735404' / Date exposure started EXPTIME = 0.1 / exposure time in seconds IMAGETYP= 'object ' / Image type SHUTTER = 'OPEN ' / Requested shutter state INSTRUME= 'Fake Cameras Inc.' / Name of instrument CCD = 'Fake CCDs Inc.' / CCD Model CCD_DIMX= 512 / CCD X Dimension Size CCD_DIMY= 512 / CCD Y Dimension Size CCDPXSZX= 9 / CCD X Pixel Size [micrometer] CCDPXSZY= 9 / CCD Y Pixel Size [micrometer] DOME_MDL= 'Fake Domes Inc.' / Dome Model DOME_TYP= 'Classic ' / Dome Type DOME_TRK= 'Track ' / Dome Tracking/Standing DOME_SLT= 'Open ' / Dome slit status TELESCOP= 'Fake Telescopes Inc.' / Telescope Model OPTICS = 'Newtonian' / Telescope Optics Type MOUNT = 'Mount type Inc.' / Telescope Mount Type APERTURE= 100.0 / Telescope aperture size [mm] F_LENGTH= 1000.0 / Telescope focal length [mm] F_REDUCT= 1.0 / Telescope focal reduction RA = '10:13:56.584' / Right ascension of the observed object DEC = '-03:00:00.000' / Declination of the observed object EQUINOX = '2000.0 ' / coordinate epoch ALT = '+21:07:57.586' / Altitude of the observed object AZ = '+339:59:25.020' / Azimuth of the observed object WCSAXES = 2 / wcs dimensionality RADESYS = 'ICRS ' / frame of reference CRVAL1 = 153.4857681980514 / coordinate system value at reference pixel CRVAL2 = -3.000000000000017 / coordinate system value at reference pixel CTYPE1 = 'RA---TAN' / name of the coordinate axis CTYPE2 = 'DEC--TAN' / name of the coordinate axis CUNIT1 = 'deg ' / units of coordinate value CUNIT2 = 'deg ' / units of coordinate value CCD-TEMP= 20.94449076683189 / CCD Temperature at Exposure Start [deg. C] CHM_ID = '0a000107744022b9aad0e429b59d814785'
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/astroufsc/chimera/issues/162), or mute the thread (https://github.com/notifications/unsubscribe-auth/ACdiNU4kSK2oEBxIrcB6PrOh0phpG5Iqks5rtDQ7gaJpZM4M0-2i).
@tribeiro This issue is only regarding to the fake driver. I, for example, opened another issue (astroufsc/chimera-ascom#3) specific to the ASCOM driver. It is good to start by the fake so we have a standarized example which other drivers base their implementation.
Exactly my point! I think it would be a good idea to implement this as a testable feature of the camera driver. Then, a camera that does not have windowing feature will issue an error or something like that...
T.
Subframe option is not implemented on fake camera. Neither subframe information is written on image headers.
For a fake config: