Search
Text Size:
Smaller Text Normal Text Larger Text

Facebook page

Twitter profile

YouTube channel

FIES Skew readout mode technical manual

This document gives the technical details of the skew readout mode for FIES. It is meant to include all details in order to reproduce all files and functionality.


For scientific interests, see upcoming article.


To select readout resolution mode, using BIAS, send command @MSETAABBCC where:
Resolutionybinsimilarunbinned
similar
ysizemask
lines
readout
time
AABBCC
60000 1272720527681 762701
30000 2183610265741 571802
20000 3 927 6847631 760903
15000 4 936 5135720 570904
10000 6 636 3425715 570606
6666 9 327 2287610 760309
500012 336 17157 8 570312
333318 236 11457 4 570218


What a beginning of a mask file looks like:
xover 0
ybin 6
@IMTX3
ampl B
@READ01
@MSEE
@MSET570606
@MASK1074110910101025111011111111111211...
@MASK1173101010091026101110111111121112...
@MASK1271110910101025111011111111111211...
@MASK1370101010091026101110111111121112...
@MASK1469100910101025111011111111111212...
.
.
.

Camera controller

As a first step one needs the latest version of Roy Ostensen's FastPhot camera code. This example has been written for code version v1.5.

cam_info.h:


diff cam_info.h cam_info.h.org
123,125c123,124
< char skew1[8]; /* 298 */ /* some variables for SKEW */
< uint32 cntr[2]; /* 2A0 */ /* iterations counter for SKEW */
< uint32 dummy4[22]; /* 2A8 */
---
> uint16 dummy3[4]; /* 298 */
> uint32 dummy4[24]; /* 2A0 */

config.h:


diff config.h config.h.org
1c1
< #define VERSION "Roy 1.5s" // must be 8 ch string
---
> #define VERSION "Roy v1.5" // must be 8 ch string
12d11
< #define SKEW // include code for masked readout

global.h:


diff global.h global.h.org
67,74d66
< #ifdef SKEW
< # define MAXORD 99
< # define NLS 76
< extern char mask[NLS*MAXORD];
< extern void maskin(void);
< extern void maskout(void);
< #endif

readout.c:


diff readout.c readout.c.org
213d212
< else if ( cam.im_tx == 3 ) cam.frame_type = 13; // masked frame,SKEW
220d218
< else if ( cam.im_tx == 3 ) maskout(); // SKEW

rdmask.c:

char mask[7524] = {};

skew.c


FIES BIAS

This is absolutely normal BIAS with exception on just one line in commands.c:

diff commands.c commands.c.org
157c157
< batch_p = fgets(cbuf,210, batch);
---
> batch_p = fgets(cbuf,120, batch);

FIES BIAS Scripts

maskin.run

Created with IDL program make_maskin.pro. Used to set camera controller variables and to upload the readout mask into the controller.

skewexp

Used to take 3 bias frames before and after target exposure

skewoff

Used to turn off skew readout mode by resetting camera controller variables to their original values.

IDL programs

make_maskin.pro

make_fies_mask.pro

Used to create the readout mask from IRAF aperture definition database file.

skew_extract.pro

Used to extract the spectrum from the output image.

extract2.pro

Used to mimic skew readout on images that were read out normally.

hamdord.pro

Currently under testing, might replace the order tracing step done in IRAF.
Back to top Last modified: April 19 2023